Re: Re: wxpython install error
Robin Dunn <[email protected]> Tue, 2 Oct 2018 13:20:04 -0700 (PDT)
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
On Monday, October 1, 2018 at 6:42:59 PM UTC-7, Croxmor Moraga wrote: > > 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? > You need root access to install into the system Python, but IMO you should not want to do that except in some special circumstances. Instead, you can install Fedora's virtualenv package with the dnf tool, (python2-virtualenv if I remember correctly) and then use that to make new Python environments in folders that you do have write access to. -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.