i cant able to install pip install robotframework-ride,getting error ,
ERROR: Command errored out with exit status 1:
installed robot frame work using pip and downloaded wxpython and installed at g drive in python folder for my convinence,kindly give solution friends
Because Python 3.9 is recent, some libraries, applications or modules are not compatible with it, or even tested. This is the case of RIDE that is having a Beta version compatible with Python 3.8, but not tested on Python 3.9.
The project page of RIDE is here.
About the error you found, it happened because your system is trying to build wxPython 4.0.7.post2 because there is no package for Python 3.9. Not even for version 4.1.1, exists a released package.
The project page of wxPython is here.
Related
"protobuf requires Python '>=3.7' but the running Python is 3.6.4"
Dear community,
I'm using CARLA simulator and for that I need to use python 3.6 and protobuf.
When I want to install 'protobuf' I get this error "protobuf requires Python '>=3.7' but the running Python is 3.6.4"
Does anyone know what to do?
You can install the package that works in python version 3.6. link below link
how to install:
pip install protobuf==3.19.6
I'm having trouble installing packages and using them in Pycharm. I've followed various threads (I'm new to Macs and seem to have tried everything) now I'm stuck.
In this case, I want to use the package xgboost.
I have brew installed, after launching a terminal using Rosetta:
%brew install xgboost
Warning: xgboost 1.3.3 is already installed and up-to-date.
It appears installed OK here:
/opt/homebrew/Cellar/xgboost
I also have Python installed here:
/opt/homebrew/Cellar/python#3.9
But no matter how I configure an Interpreter in Pycharm, I can't seem to get the package recognised.
Where have I gone wrong?
I am very unsure exactly how, but I've got this working.
Following: https://abbasegbeyemi.me/blog/homebrew-python-apple-m1
I changed the order of elements in my path:
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/homebrew/bin
then a new interpreter in Pycharm using:
usr/local/Cellar/Python#3.9/3.9.2_2/bin/python3.9
Now I can install packages just using pip in pycharm and it works.
This has been 6 hours of pain - warning to anyone who isn't well versed in macs, setting up an M1 for python dev was a complete nightmare for me.
Docs: https://xgboost.readthedocs.io/en/latest/build.html
Pre-built binary wheel for Python
If you are planning to use Python, consider installing XGBoost from a pre-built binary wheel, available from Python Package Index (PyPI). You may download and install it by running
# Ensure that you are downloading one of the following:
# * xgboost-{version}-py2.py3-none-manylinux1_x86_64.whl
# * xgboost-{version}-py2.py3-none-win_amd64.whl
pip3 install xgboost
I am new in computer vision.
I am trying to install the opencv library 3.2 with python 3.6 but I followed every tutorial.
However; I don't know what I've done wrong. I have installed python 3.6 amd 64 and added it to the PATH ... then I have downloaded the wheel of opencv 3.2 for python 3.6 amd 64 then try to install it using pip.
However, it says that isn't supported in this platform. So, I don't know what to do now. I'm trying to avoid the CMake ... stuff because I find it tough!!!
The error mentioned in the prompt
Pip checks whether name of a wheel contains platform specific words Eg.
ad3‑2.0.2‑cp27‑cp27m‑win32.whl
(python 2.7, windows 32-bit/x86) if I install it on python 3.6 it say it isn't supported on this platform but if I change wheel's name it trys to install it. Chceck which pip are you really using. You can't use x64 wheels on x86 interpreter. Some unofficial wheels for windows platform you can find here: http://www.lfd.uci.edu/~gohlke/pythonlibs/
I went to http://nipy.org/dipy/installation.html and install nibabel, then I when I wanted to install dipy, there where 2 problems:
Wheel was not built
and vcvarshall.bat not found.
What I did ?
Install Setuptools in site-pakcages
download Setuptools-34.3.1-py2.py3-none-any.whl (md5) and save in site-packages
I also try
python setup.py install --compiler=mingw32ç
and
If you get an error saying unable to find vcvarsall.bat then you need to create a file called pydistutils.cfg in notepad and give it the contents
[build]
compiler=mingw32
But setup.py de system it did not find, and I still have vcvarshall.bat not found.
what I need to do?
I am using, Windows 7, Python 3.5.1 and Anaconda 2.5.0 (64 bit)
You will almost certainly find it easier to install third-party packages if you adopt virtual environments. When done correctly you will then not need admin privileges to install packages into virtualenvs. The HitchHikers' Guide to Python contains more information about this.
The vcvarsall.bat is, I believe, a part of the Visual Studio (the Express version is available at no cost) environment. It's required when you are trying to build a compiled Python extension as described in this article. I'm not sure how that will play with mingw.
So, I installed via ANACONDA but , when I go to python, and I want to import dipy it says: No modle named dipy
Solved ! Well I had python 3.5 and dipy has some issues with that version, so I installed Anaconda with python 2.7 , installed visual c++9 and follow the steps on the web !
I'm using Django 1.2 for Python 2.6 on CentOS 5.5 and I'm trying to install Django Haystack with Xapian as the search backend. I've followed the installation instructions on http://docs.haystacksearch.org/dev/installing_search_engines.html#xapian and also the instructions for the RedHat Enterprise Linux RPM package on http://xapian.org/download. Xapian has installed, but has attached itself to Python 2.4, which needs to be present in CentOS for other reasons. So, if I go into a 'python' shell and 'import xapian' it works correctly, but if I go into a 'python26' shell and 'import xapian' I get the error 'No module named Xapian'.
I then tried creating a symlink in the python 2.6 site packages to Xapian in the python 2.4 site packages and this gave me the following error when trying to import xapian in the python 2.6 shell:
RuntimeWarning: Python C API version mismatch for module _xapian: This Python has API version 1013, module _xapian has version 1012.
I've also tried to specify the python library to use when configuring xapian-core as seen on http://invisibleroads.com/tutorials/xapian-search-pylons.html#install-xapian-on-webfaction, so the command I used was:
./configure PYTHON=/usr/bin/python2.6
then for installing xapian-bindings I used:
./configure PYTHON=/usr/bin/python26 PYTHON_LIB=/usr/lib/python2.6 --with-python
This made no discernible difference so I'm a bit stuck at the moment. Does anyone have any ideas?
When building the xapian-bindings package you'll want to do ./configure --with-python PYTHON=/usr/bin/python2.6 Sounds like you were trying to do this on xapian-core, which isn't the right place.