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
$cd /Library/Frameworks/Python.framework/Versions/3.6/bin
$cp virtualenv-clone virtualenvwrapper.sh virtualenvwrapper_lazy.sh /usr/local/bin
div>
Read More:
- Virtual environment: error: virtualenv is not compatible with this system or executable
- Python: What’s Virtualenv
- Configuration (9) to solve the problem of “setup tools PIP wheel failed with error code 1”, create virtual environments with Python of anaconda
- Fatal error in launcher:
- Ngnix+gunicorn+Flag project deployment in Ubuntu
- ImportError: No module named indexes.base
- Homebrew reports an error after upgrading MacOS to Big Sur
- How to Solve MacOS Big Sur MySQL workbench flashback problem
- Error in installing virtualenv
- Python:ImportError: No module named indexes.base
- Mac upgrade pip
- docker-compose Error Traceback (most recent call last)
- python root:code for Hash MD5 was not found. Error
- How to install cuda10.01in Ubuntu18.04
- Cocoapods- ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension.
- CONDA creating virtual environment and common CONDA commands
- fatal error: Python.h: No such file or directory
- [How to Fix] MySQL Workbench for Mac Flashback
- Raspberry pie upgrade to Python 3.7.3
- [solution] LD: warning: directory not found for option