简体   繁体   中英

Installing python3.6 on virtualenv

I have python3.7 installed on my windows 10 laptop But i need python3.6 for a specific project

Can i install it in virtualenv which will override python3.7 in that environment?

I don't know whether this may be an appropriate solution for you. But this is what I generally follow. Just install Anaconda in your system and create an environment according to your needs. For your case create an environment for Python 3.6.

conda create --name py36 python=3.6 
//This lines will create an environment named py36

You then install libraries according to your needs in that environment. You work in that environment without interfering with the libraries of the other environment. To use anaconda kindly follow Anaconda cheatsheet . You will get everything that you need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM