This question already has an answer here:
Installing PySide for Python3
(1 answer)
Closed 4 years ago.
I followed the steps to install Pyside on my macOS 13.13.4 on Python 3.6.4 on this Github page but after runninng pip install -U PySide, I got the following error message which seems to indicate that Pyside is not compatible to Python 3.6.4 ??:
mymacs-MacBook-Pro:~ mymac$ pip install -U PySide
Collecting PySide
Using cached https://files.pythonhosted.org/packages/36/ac/ca31db6f2225844d37a41b10615c3d371587677efd074db29855e7035de6/PySide-1.2.4.tar.gz
Complete output from command python setup.py egg_info:
only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)]
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/jq/yyp9q2fs1z5780k9l1_2ph4r0000gn/T/pip-install-zz9h16bx/PySide/
mymacs-MacBook-Pro:~ mymac$
Is I have anaconda, I looked at this website and this stackoverflow page I tried conda install -c anaconda pyside and conda install -c conda-forge pyside but both of them also threw this same error message:
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- pyqt
- pyside
Use "conda info <package>" to see the dependencies for each package.
Many thanks in advance for your help!
It seems according to stackoverflow page that Pyside will not be updated for version of python 3.5+. Instead, Pyside2 should be installed. The Installation instructions can be found here
Related
I tried downloading the 'PyPortfolioOpt' package on my MacBook Pro (iOS 11.0.1) but it always shows an error.
I've downloaded the Xcode developer tools and already upgraded the latest pip3 setup-tools. I am using python 3.9.
The error:
1 error generated.
error: command '/usr/bin/gcc' failed with exit code 1
ERROR: Failed building wheel for cvxopt
Running setup.py clean for cvxopt
Failed to build cvxopt
Installing collected packages: cvxopt, PyPortfolioOpt
Running setup.py install for cvxopt ... error
ERROR: Command errored out with exit status 1:
For some reason, probably something to do with how new python 3.9 is and how little bug fixes have come out so far, python 3.9 didn't work for me at all. I have upgraded a few times before, but never did it result in as many bugs as when I tried installing python 3.9. I recommend firstly trying $ python3 -m pip install PyPortfolioOpt, and if that doesn't work go back to python 3.8 or 3.7, that's what I'm on now and everything works fine now for me.
I am trying to install TensorFlow on NVIDIA Drive PX2 as described here. In particular, I am following the instructions for installing TensorFlow 1.11.0 for Python 3.6. However, I am getting the following error message:
Complete output from command python setup.py egg_info:
This backport is meant only for Python 2.
It does not work on Python 3, and Python 3 users do not need it as the concurrent.futures package is available in the standard library.
For projects that work on both Python 2 and 3, the dependency needs to be conditional on the Python version, like so:
extras_require={':python_version == "2.7"': ['futures']}
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-szu10ohj/futures/
Any advice would be appreciated. Thanks a lot in advance!
You probably need to upgrade pip:
pip3 install -U pip
Hi I am tring to install PYGTK package, and ended up with the following error, can anyone please help.
root#cs-6000-devshell-vm-fccb9b9d-7bf3-4500-b14c-82320cb414d7:/usr/local/bin# pip install PyGtk
Collecting PyGtk
Using cached pygtk-2.24.0.tar.bz2
Complete output from command python setup.py egg_info:
********************************************************************
* Building PyGTK using distutils is only supported on windows. *
* To build PyGTK in a supported way, read the INSTALL file. *
********************************************************************
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-pybnrq/PyGtk/
Building PyGTK using distutils is only supported on windows.
To build PyGTK in a supported way, read the INSTALL file.
PyGTK often dislikes being installed using pip or setup.py so instead read the INSTALL file within the PyGTK download. This should tell you how to install it properly.
If in doubt Google the issue as lots of forums provide a step by step to install
PyGTK.
I am trying to install saga-python (package for SAGA GIS) and cmd python keeps returning the same error: python setup.py egg_info failed with code 1 in C:\Users\MyUser\AppData\Local\Temp\pip-build-7uieglh9\saga-python. Any ideas why it occurs?
Also, tried a few tips from this question's answers:
Python pip install gives "Command "python setup.py egg_info" failed with error code 1" not working either.
Version is 3.5.2 and setuptools and ez_setup are allright.
Tried with easy_install as well. No results either, sais that the syntax is invalid.
Also tried with virtualenv and http://docs.python-guide.org/en/latest/dev/virtualenvs/. Error is caused by two different Python versions: 2.7 and 3.5.2. I cannot uninstall 2.7 (shell for some GIS software), but I need to make it work somehow.
This package only for python 2.X. See issue
This question already has answers here:
Python cannot install PyGObject
(4 answers)
Closed 6 years ago.
I'm actually upgrading an old django app from python2.7 to python3.4. While installing pygobject via pip, I got this error:
Collecting pygobject
Using cached pygobject-2.28.3.tar.bz2
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-build-9dp0wn96/pygobject/setup.py", line 272
raise SystemExit, 'ERROR: Nothing to do, gio could not be found and is essential.'
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9dp0wn96/pygobject
I am trying to install it in a virtualenv. System-wide installation doesn't work either... I am working on arch linux with python3.4
I have installed the arch package named pygobject-devel 3.16.2-1 but I still can't import gobject python module
What is this damned missing gio?
Any help is welcomed...
Thanx in advance !
ANSWER IS NOW IN THE POST TAGGED IN COMMENT ABOVE !!!!
Have a look there => Python cannot install PyGObject
Ok I just managed it !
To install PyGObject in virtrualenv, give up with pip.
Install PyGObject system-wide (with your package manager or compile it manually). For example, in my case :
sudo pacman -Suy python-gobject2
Link it in your virtualenv :
ln -s /usr/lib/python3.4/site-packages/gobject* /WHEREVER/IS/YOUR/VIRTUALENV/venv/lib/python3.4/site-packages/
You might need to link some other modules (in my case glib) :
ln -s /usr/lib/python3.4/site-packages/glib* /WHEREVER/IS/YOUR/VIRTUALENV/venv/lib/python3.4/site-packages/
You might find some helpful infos about system-wide and virtualenv installations and interactions between modules here :
virtualenv: Specifing which packages to use system-wide vs local