-
Notifications
You must be signed in to change notification settings - Fork 810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running setup.py install for matplotlib #888
Comments
Hello @cgaudit ! I have replied to you in this issue #884 (comment) See if that helps! Cheers! |
Yes it helped but unfortunately I got a new Error
ERROR: Command errored out with exit status 1: /root/cloudmapper/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-f6gqphx6/pyjq_64d21655077441879535bc7370bff18f/setup.py'"'"'; file='"'"'/tmp/pip-install-f6gqphx6/pyjq_64d21655077441879535bc7370bff18f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-6ho10j8r/install-record.txt --single-version-externally-managed --compile --install-headers /root/cloudmapper/venv/include/site/python3.9/pyjq Check the logs for full command output.` |
@w0rmr1d3r |
I'v got other errors due to some other dependencies, which I'm waiting for @0xdabbad00 to merge some PRs with the fixes. Cheers! |
Hi @w0rmr1d3r If there are other errors there is no mean by rerun it until we get the fixed requierments.txt list. BR |
What I mean is, after you've edited your requirements.txt, if you can reinstall the dependencies and rerun cloudmapper. Another thing, about getting the requirements.txt file fixed, check for open issues and their PRs, there are already some fixes proposed, but this project is somehow lacking of answers from its maintainers. Don't know why though. Cheers! |
Hi I run the command pip install -r requirements.txt but got the current error:
` Running setup.py install for matplotlib ... error
ERROR: Command errored out with exit status 1:
command: /root/cloudmapper/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-upm2f6f_/matplotlib_b017459f21924ea08807d5c4a30413f2/setup.py'"'"'; file='"'"'/tmp/pip-install-upm2f6f_/matplotlib_b017459f21924ea08807d5c4a30413f2/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-h8tamd72/install-record.txt --single-version-externally-managed --compile --install-headers /root/cloudmapper/venv/include/site/python3.9/matplotlib
cwd: /tmp/pip-install-upm2f6f_/matplotlib_b017459f21924ea08807d5c4a30413f2/
Complete output (595 lines):
Rolling back uninstall of matplotlib
Moving to /root/cloudmapper/venv/lib/python3.9/site-packages/pycache/pylab.cpython-39.pyc
from /tmp/pip-uninstall-np4sk7g_/pylab.cpython-39.pyc
Moving to /root/cloudmapper/venv/lib/python3.9/site-packages/matplotlib-3.4.3-py3.9-nspkg.pth
from /tmp/pip-uninstall-uh705wbn/matplotlib-3.4.3-py3.9-nspkg.pth
Moving to /root/cloudmapper/venv/lib/python3.9/site-packages/matplotlib-3.4.3.dist-info/
from /root/cloudmapper/venv/lib/python3.9/site-packages/~atplotlib-3.4.3.dist-info
Moving to /root/cloudmapper/venv/lib/python3.9/site-packages/matplotlib/
from /root/cloudmapper/venv/lib/python3.9/site-packages/~atplotlib
Moving to /root/cloudmapper/venv/lib/python3.9/site-packages/mpl_toolkits/axes_grid/
from /root/cloudmapper/venv/lib/python3.9/site-packages/mpl_toolkits/~xes_grid
Moving to /root/cloudmapper/venv/lib/python3.9/site-packages/mpl_toolkits/axes_grid1/
from /root/cloudmapper/venv/lib/python3.9/site-packages/mpl_toolkits/~xes_grid1
Moving to /root/cloudmapper/venv/lib/python3.9/site-packages/mpl_toolkits/axisartist/
from /root/cloudmapper/venv/lib/python3.9/site-packages/mpl_toolkits/~xisartist
Moving to /root/cloudmapper/venv/lib/python3.9/site-packages/mpl_toolkits/mplot3d/
from /root/cloudmapper/venv/lib/python3.9/site-packages/mpl_toolkits/~plot3d
Moving to /root/cloudmapper/venv/lib/python3.9/site-packages/mpl_toolkits/tests/
from /root/cloudmapper/venv/lib/python3.9/site-packages/mpl_toolkits/~ests
Moving to /root/cloudmapper/venv/lib/python3.9/site-packages/pylab.py
from /tmp/pip-uninstall-uh705wbn/pylab.py
ERROR: Command errored out with exit status 1: /root/cloudmapper/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-upm2f6f_/matplotlib_b017459f21924ea08807d5c4a30413f2/setup.py'"'"'; file='"'"'/tmp/pip-install-upm2f6f_/matplotlib_b017459f21924ea08807d5c4a30413f2/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-h8tamd72/install-record.txt --single-version-externally-managed --compile --install-headers /root/cloudmapper/venv/include/site/python3.9/matplotlib Check the logs for full command output. `
I work in a virtual environment.
Any help would be appreciate.
BR
The text was updated successfully, but these errors were encountered: