Reputation: 72
When trying to set up a virtual environment for TensorFlow in Python 3.6.7 with:
virtualenv --system-site-packages -p python3 ./venv
I get the following error:
SyntaxError: invalid syntax python3
Upvotes: 0
Views: 924
Reputation: 338
try to use this python3 -m venv env
python3 -m venv env
Upvotes: 1