Do that only leads to another permission denied error -
Installing collected packages: argparse, configparser, konfig, pyzmq,
inflect, jaraco.itertools, tempora, jaraco.stream, jaraco.classes,
backports.functools-lru-cache, jaraco.functools, jaraco.text,
jaraco.collections, jaraco.logging, irc, webob, WSGIProxy2, greenlet,
gevent, psutil, waitress, beautifulsoup4, webtest, ws4py, ujson, loads
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 215, in
main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip/commands/install.py", line
342, in run
prefix=options.prefix_path,
File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 784, in
install
**kwargs
File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line
851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line
1064, in move_wheel_files
isolated=self.isolated,
File "/Library/Python/2.7/site-packages/pip/wheel.py", line 377, in
move_wheel_files
clobber(source, dest, False, fixer=fixer, filter=filter)
File "/Library/Python/2.7/site-packages/pip/wheel.py", line 287, in
clobber
ensure_dir(dest) # common for the 'include' path
File "/Library/Python/2.7/site-packages/pip/utils/__init__.py", line 83,
in ensure_dir
os.makedirs(path)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 1] Operation not permitted:
'/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/greenlet'
On Sunday, November 5, 2017 at 1:36:18 PM UTC-5, Mel DeJesus wrote:
>
> as in:
> sudo pip install -r requirements.txt
> ?
>
> On Sunday, November 5, 2017 at 1:33:07 PM UTC-5, me.vineetkothari wrote:
>>
>> Use sudo
>>
>> On Nov 6, 2017 12:00 AM, "Mel DeJesus" <[email protected]> wrote:
>>
>>
>>
>> Any suggestions? -->
>>
>> After attempting pip install -r requirements.txt in a virtual
>> environment, I got a number of files loaded before getting this:
>>
>>
>> Exception:
>> Traceback (most recent call last):
>> File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 215,
>> in main
>> status = self.run(options, args)
>> File "/Library/Python/2.7/site-packages/pip/commands/install.py", line
>> 342, in run
>> prefix=options.prefix_path,
>> File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 784,
>> in install
>> **kwargs
>> File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line
>> 851, in install
>> self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
>> File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line
>> 1064, in move_wheel_files
>> isolated=self.isolated,
>> File "/Library/Python/2.7/site-packages/pip/wheel.py", line 345, in
>> move_wheel_files
>> clobber(source, lib_dir, True)
>> File "/Library/Python/2.7/site-packages/pip/wheel.py", line 316, in
>> clobber
>> ensure_dir(destdir)
>> File "/Library/Python/2.7/site-packages/pip/utils/__init__.py", line
>> 83, in ensure_dir
>> os.makedirs(path)
>> File
>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py",
>>
>> line 157, in makedirs
>> mkdir(name, mode)
>> OSError: [Errno 13] Permission denied:
>> '/Library/Python/2.7/site-packages/_dummy_thread
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/14fac784-dfdb-481b-b6bc-bf03f8499871%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/django-users/14fac784-dfdb-481b-b6bc-bf03f8499871%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/c204f9f5-ed1d-4239-b64d-bac70b62c8b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.