Today I updated my macOS to 10.14.5. After that, I can't do virtualenv like below.
How do I do easy_install --user
during virtualenv is working?
I think some directory's permissions are broken by OS update...
Does anyone have suggestions?
mkvirtualenv -p python3 proj_name
Running virtualenv with interpreter /usr/local/bin/python3
Using base prefix '/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6'
New python executable in /Users/myname/proj_name/bin/python3.6
Not overwriting existing python script /Users/myname/proj_name/bin/python (you must use /Users/myname/proj_name/bin/python3.6)
Please make sure you remove any previous custom paths from your /Users/myname/.pydistutils.cfg file.
Installing setuptools, pip, wheel...
Complete output from command /Users/myname/proj_name/bin/python3.6 - setuptools pip wheel:
Looking in links: /Users/myname/Library/Python/3.6/lib/python/site-packages/virtualenv_support
Collecting setuptools
Collecting pip
Collecting wheel
Installing collected packages: setuptools, pip, wheel
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/lib/python3.6/site-packages/easy_install.py'
Consider using the `--user` option or check the permissions.
OSError: Command /Users/myname/proj_name/bin/python3.6 - setuptools pip wheel failed with error code 1