-
Notifications
You must be signed in to change notification settings - Fork 26
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
Installation issue - pip #189
Comments
Dear Mohammad, few questions:
Thanks, |
Hi Noam,
Thanks, |
Thanks! Thanks, |
It might be helpful to have the full output of the src.setup call because this error might be due to a failure in an earlier step. Can you share that output as well? |
I just re-cloned the files, and called the src.setup. so this is the output I get: {'links': 'links', 'gui': True, 'only_verbose': False, 'default_folders': True, 'function': ['all'], 'overwrite': True, 'blender_fol': '', 'links_file_name': 'links.csv', 'overwrite_links': False, 'upgrade_reqs_libs': False} Requirement already satisfied: scikit_learn in /home/moe/anaconda3/lib/python3.7/site-packages (0.19.2) Requirement already satisfied: xlrd in /home/moe/anaconda3/lib/python3.7/site-packages (1.1.0) Collecting zmq Requirement already satisfied: pizco in /home/moe/anaconda3/lib/python3.7/site-packages/Pizco-0.1-py3.7.egg (0.1) |
I think the error is due to this previous error: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/tmp/pip-req-tracker-_wj_4h4s/64ed88aed05ef8d46fd172929b61991d5bc6311b777251ebc55dc470' I had experienced similar issues using the MacOS operating system but they were fixed when I upgraded my operating system software. According to the internet: tensorflow/tensorflow#56 people have experienced similar issues that may be fixed by upgrading pip as in pip install --upgrade pip Or you could try running sudo python -m src.setup. It appears to me to be a file system permissions issue between pip and your operating system. I have also tried using chmod on the /tmp folder in the past but warning it may mess up your operating system so I wouldn't do this without backing up everything and trying other options. chmod -R 777 /tmp/ |
Please try to update the code (git pull) and rerun, I've added the --user flag for the pip install command, that should help. If that won't help, we can do a hangout session. Best, |
Hi, {'links': 'links', 'gui': True, 'only_verbose': False, 'default_folders': True, 'function': ['all'], 'overwrite': True, 'blender_fol': '', 'links_file_name': 'links.csv', 'overwrite_links': False, 'upgrade_reqs_libs': False} **Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/home/moe/.local/share/Trash/files/blender-2.79b-linux-glibc219-x86_64/2.79/python/lib/python3.5/site-packages/pip-18.1.dist-info/INSTALLER' /bin/sh: 1: bin/pip: not found** |
It looks like it’s an issue with where Blender is being located. I would suggest deleting everything in the mmvt_root/links folder and rerunning. That should make it so that it resestablishes links and doesn’t use any defunct links. |
It seems that it couldn't update pip in Blender. I've changed something in the pip installation, can you please update and rerun? |
Dear Noam, |
Hi,
I have pip installed already but face the following error when entering "python -m src.setup",
"
Traceback (most recent call last):
File "/home/moe/mmvt_root/mmvt_code/src/setup.py", line 200, in install_reqs
from pip import main as pipmain
ImportError: No module named 'pip'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/moe/blender/2.79/python/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/moe/blender/2.79/python/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/moe/mmvt_root/mmvt_code/src/setup.py", line 459, in
main(args)
File "/home/moe/mmvt_root/mmvt_code/src/setup.py", line 374, in main
install_reqs(args.upgrade_reqs_libs, args.only_verbose)
File "/home/moe/mmvt_root/mmvt_code/src/setup.py", line 202, in install_reqs
from pip._internal import main as pipmain
ImportError: No module named 'pip'
{'function': ['all'], 'upgrade_reqs_libs': False, 'overwrite': True, 'links_file_name': 'links.csv', 'overwrite_links': False, 'gui': True, 'blender_fol': '../../blender', 'links': 'links', 'only_verbose': False, 'default_folders': True}
"
Thank you
The text was updated successfully, but these errors were encountered: