Mirror Source Settings
Set up the Pip folder under C:\Users\Administrator\, then create a pip.ini inside
The contents are:
[Global]
Index-url = Https://pypi.tuna.tsinghua.edu.cn/simple
VIRTUALENV Installation
Pip Install Virtualenv
Well, now, if you need to do numerical research, you need to install
Python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
So a series of packages, and you want to install in a separate environment.
Create a new directory. (Anywhere)
mkdir D:\Python
And then
Virtualenv Numenv (Here's the name as you write)
Then you will find that a numenv folder was generated
And then
Scripts\activate activation
Create a new TXT file and write the package you need to install.
(only need to write NumPy scipy these names, python-can be removed)
Pip Install-r requirements.txt
Then it will be installed automatically.
Finally, if you want to use this new environment in Pycharm.
The path to the Python interpreter needs to be changed.
In the Settings-project: Python--python interpreter inside.
It is important to note that when installing scipy, it is very likely that it will fail
You can refer to the link: https://www.zhihu.com/question/30188492?sort=created
Also, say something about using PIP to install the local file method
Pip install numpy--find-links= path name
Windows Python virtualenv use, mirror source settings, batch install, install Scipy,numpy