How can I install derivatives of hachoir library like hachoir-core Or hachoir-metadata on GoogleColab? I tried this way !pip install hachoir-metadata but I got the error
Command "python setup.py egg_info" failed with error code 1 in
/tmp/pip-install-8op487i8/hachoir-metadata/
!pip2 install hachoir-metadata works fine for me, and https://pypi.org/project/hachoir-metadata/ says "Last released in 2010" suggesting the package is incompatible with Python 3. Try changing your notebook setting to Python 2.
Related
I am trying to install toolbox and it shows the below error. I already updated the setup-toolbox but I still get this error. Any help will be highly appreciated.
While installing toolbox from pycharm it shows this error:
FileNotFoundError:No such file or directory: 'C:\\Users\\abc\\AppData\\Local\\Temp\\pycharm-packaging\\toolbox\\setup.py'
Installing via command line it show:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\abc\AppData\Local\Temp\pip-install-j5ja0k9r\toolbox\.
Try upgrading the console:
pip install -U jupyter_console
You can also download manually from here
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
i was setting up tensorflow for image classification, and after i ran :
-m scripts.retrain
--bottleneck_dir=tf_files/bottlenecks
--model_dir=tf_files/models/"${ARCHITECTURE}"
--summaries_dir=tf_files/training_summaries/"${ARCHITECTURE}"
--output_graph=tf_files/retrained_graph.pb
--output_labels=tf_files/retrained_labels.txt
--architecture="${ARCHITECTURE}"
--image_dir=tf_files/flower_photos
It automatically started installing inception, i realized that i needed to change some options so i cancelled the install of inception.
Now i believe that i have a half install that doesn't let me install the full package or use the half package.
I may be wrong, but any suggestions would be appreciated.
FYI: i've run :
pip install inception, to which i receive a "python setup.py egg_info" failed with error code 1 in {my local/temp dir}
I also just tried running the scripts.retrain again, to which i receive a "EOFError: compressed file ended before the end-of-stream marker was reached"
Running on Windows 7
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
I'm having trouble installing pyautogui, pyobjc, and pyobjc-core libraries on OSX. Here is the error I get:
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-ns7p77pf/pyobjc-core
I tried updating pip and setup tools and I'm at a lost. Anyone have any ideas?
Install PIL first. If you're using Py3, install Pillow, a PIL substitute.