Install pip if it doesn't exist
$curl -O https://bootstrap.pypa.io/get-pip.py
$python3 get-pip.py --user
$python3 -m pip list
$python3 -m pip install tensorflow --no-cache-dir #for space issue
Error during execution of: python3.8 -m venv myenv
Error: Command '['/path/to/desired/env/bin/python3.8', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
Solution: Create a virtual environment using a especific python version
$virtualenv --python=$(which python3.7) envtf4p37
No comments:
Post a Comment