python-venv

Default libraries in freshly created Python virtual environment

随声附和 提交于 2020-12-31 23:51:44
问题 I created a new virtual environment using the python virtualenv tool. virtualenv venv I then activated the virtual environment source venv/bin/activate Then I did a pip freeze and this is what I got: (venv)$ pip freeze Flask==0.10.1 Werkzeug==0.9.6 itsdangerous==0.24 lxml==3.4.0 numpy==1.9.1 pdir==0.2.2 virtualenv==1.11.6 wsgiref==0.1.2 I am wondering how so many libraries got installed when I did not even install anything in the virtual environment explicitly. UPDATE 1 : When some of the

Default libraries in freshly created Python virtual environment

耗尽温柔 提交于 2020-12-31 23:49:44
问题 I created a new virtual environment using the python virtualenv tool. virtualenv venv I then activated the virtual environment source venv/bin/activate Then I did a pip freeze and this is what I got: (venv)$ pip freeze Flask==0.10.1 Werkzeug==0.9.6 itsdangerous==0.24 lxml==3.4.0 numpy==1.9.1 pdir==0.2.2 virtualenv==1.11.6 wsgiref==0.1.2 I am wondering how so many libraries got installed when I did not even install anything in the virtual environment explicitly. UPDATE 1 : When some of the

Default libraries in freshly created Python virtual environment

痴心易碎 提交于 2020-12-31 23:35:01
问题 I created a new virtual environment using the python virtualenv tool. virtualenv venv I then activated the virtual environment source venv/bin/activate Then I did a pip freeze and this is what I got: (venv)$ pip freeze Flask==0.10.1 Werkzeug==0.9.6 itsdangerous==0.24 lxml==3.4.0 numpy==1.9.1 pdir==0.2.2 virtualenv==1.11.6 wsgiref==0.1.2 I am wondering how so many libraries got installed when I did not even install anything in the virtual environment explicitly. UPDATE 1 : When some of the

Default libraries in freshly created Python virtual environment

≡放荡痞女 提交于 2020-12-31 23:28:29
问题 I created a new virtual environment using the python virtualenv tool. virtualenv venv I then activated the virtual environment source venv/bin/activate Then I did a pip freeze and this is what I got: (venv)$ pip freeze Flask==0.10.1 Werkzeug==0.9.6 itsdangerous==0.24 lxml==3.4.0 numpy==1.9.1 pdir==0.2.2 virtualenv==1.11.6 wsgiref==0.1.2 I am wondering how so many libraries got installed when I did not even install anything in the virtual environment explicitly. UPDATE 1 : When some of the

PyCharm venv failed: 'no such option: --build-dir'

假装没事ソ 提交于 2020-12-17 03:04:11
问题 I'm doing a fresh install on a new Windows 10 laptop. I installed Python 3.9 and PyCharm Community 2020.2, then started a new project. In the project settings, I created a new project interpreter in a venv, inside the /venv folder. Everything looks to get set up correctly, but I can't install anything to the project interpreter. When I try to do so, e.g. when I try to install pandas or anything else, I get None-zero exit code (2) with the following message: Usage: D:\MyProject\project\venv