T the shirt
T the shirt

Reputation: 89

Make virtual environment using a different python 3 version

I've had issues with installing django dynamic scraper on Windows (pillow installation was causing problems..), but found it works perfectly well on python 3.5.3. As I am currently using python 3.7, I thought it'd be a good idea to work with django dynamic scraper in a virtual environment which uses python 3.5.3.

I installed both versions of python (3.7. and 3.5.3) and set up the environment variables. However, when I tried making a new virtual environment with:

virtualenv --python='C:/Python35/python.exe' environment1

I get this error:

The path 'C:/Python35/python.exe' (from --python='C:/Python35/python.exe') does not exist

I've also tried this:

virtualenv -p python3.5.3 environment1

but got:

The path python3.5.3 (from --python=python3.5.3) does not exist

would appreciate any suggestions on how to fix this.

Upvotes: 0

Views: 134

Answers (1)

Sam
Sam

Reputation: 845

Are you sure python.exe in your desired location? Some time it appears to be named as py.exe Kindly cross check and for reference you can check here

Upvotes: 0

Related Questions