definitely when i use the usr/bin/python2.7 it uses that python, but when i tried to used pip to install packages on that one, to make the virtualenv, it throws this:
Exception:
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/usr/lib/python2.7/site-packages/pip/commands/install.py”, line 365, in run
strip_file_prefix=options.strip_file_prefix,
File “/usr/lib/python2.7/site-packages/pip/req/req_set.py”, line 784, in install
**kwargs
File “/usr/lib/python2.7/site-packages/pip/req/req_install.py”, line 854, in install
strip_file_prefix=strip_file_prefix
File “/usr/lib/python2.7/site-packages/pip/req/req_install.py”, line 1069, in move_wheel_files
strip_file_prefix=strip_file_prefix,
File “/usr/lib/python2.7/site-packages/pip/wheel.py”, line 345, in move_wheel_files
clobber(source, lib_dir, True)
File “/usr/lib/python2.7/site-packages/pip/wheel.py”, line 316, in clobber
ensure_dir(destdir)
File “/usr/lib/python2.7/site-packages/pip/utils/init.py”, line 83, in ensure_dir
os.makedirs(path)
File “/usr/lib64/python2.7/os.py”, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: ‘/usr/lib/python2.7/site-packages/python_dateutil-2.7.3.dist-info’
I dont know why it throwsthis, does pip works from an speciffic python orsomething like that?
···
El lun., 1 oct. 2018 a las 15:35, Robin Dunn (robin@alldunn.com) escribió:
On Saturday, September 29, 2018 at 3:12:17 PM UTC-7, Croxmor Moraga wrote:
By the way when i tried the echo $VIRTUAL_ENV , PYTHONPATH AND PHYTONHOME
it didn’t return anything
[rodrigo@localhost ~]$ echo $PYTHONPATH
[rodrigo@localhost ~]$ echo $PYTHONHOME
What does that mean, because my echo $PATH always work when i used it and returns me the path, now what can i do?
I just wanted to make sure that they are not set to anything as they could affect how and where Python looks for packages to import. So, no worries.
–
Robin
–
You received this message because you are subscribed to the Google Groups “wxPython-dev” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.