reasons: workon command fails, the Python version changes, is to use the previous python3.6 install Python virtual environment, relevant documents is in the/Library/Frameworks/Python framework Versions/3.6/bin
solution 1: to install a virtual environment in new python3.7 environment p>
$sudo pip3 install virtualenv virtualenvwrapper
$source .bashrc
the solution 2: will/Library/Frameworks/Python framework Versions/3.6/bin three files in the directory, copy it to/usr/local/bin directory in
p>
$cd /Library/Frameworks/Python.framework/Versions/3.6/bin
$cp virtualenv-clone virtualenvwrapper.sh virtualenvwrapper_lazy.sh /usr/local/bin
div>
Read More:
- Cannot remove entries from nonexistent file /usr/local/bin/anaconda2/lib/python2.7/site-packages/eas
- Failed to import module __PyInstaller_hooks_0_IPython required by hook for module
- Module build failed (from ./node_modules/babel-loader/lib/index.js) babel-loader
- ln: failed to create symbolic link ‘/usr/bin/pip’: File exists
- E: sub process / usr / bin / dpkg returned an error code (2) solution under Ubuntu
- -Bash: /usr/local/apache-maven-3.6.3/bin/mvn: insufficient permissions
- Today’s file “/usr/bin/yum”, line 30 problems
- Error reporting during QT operation under Ubuntu / usr / bin / LD: cannot find – LGL
- Error: Command ‘/ usr / bin / clang’ failed with exit status 1 solution for Mac OS installation
- Command /usr/bin/codesign failed with exit code 1
- XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
- Solve the red letter prompt “sub process / usr / bin / dpkg returned an error code (2) in Cydia
- -bash: /usr/java/jdk1.8.0_101/bin/java: Permission denied
- ssh-copy-id:/usr/bin/ssh-copy-id: ERROR: No identities found
- E: Sub process / usr / bin / dpkg returned an error code (1) solution
- command/usr/bin/codesign failed with exit code 1- code sign error
- Error in installing Matplotlib Library: permissionerror: [errno 13] permission denied: ‘/ usr / local / lib / python3.6’
- Python:ImportError: No module named indexes.base
- Python: What’s Virtualenv
- Module not found: Error: Can’t resolve ‘sass-loader’ in ‘F:\H5\project-h5’