Configuring Python Virtual Environment to use Python 3

前端 未结 4 605
北荒
北荒 2021-01-17 06:01

I am learning Django. I installed two different versions of python on my laptop, 2 and 3. I configured my Laptop to use Python 3, so when I check version using the command l

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-17 06:34

    If you are on Linux just use the command python3 -m venv myvenv in the directory of your project and you're done!

提交回复
热议问题