python pip、安装github上模块 等操作
- 
pip正常安装 
 pip install django1.11.4 -i https://pypi.douban.com/simple
 pip3 install websockets6.0 --force-reinstall
- 
pip离线安装 
 离线源地址 https://www.lfd.uci.edu/~gohlke/pythonlibs/
 离线安装 pip install mysqlclient-1.4.6-cp38-cp38-win32.whl
- 
pip 更新 
 python -m pip install --upgrade pip -i https://pypi.douban.com/simple
- 
安装github上项目 
 git clone https://github.com/locustio/locust.git
 python3 setup.py install
a)Use git clone https://github.com/YaokaiYang-assaultmaster/PythonPortScanner.git command to clone the repository to your own machine.
There is 2 methods for you to use this module.
b)One is to put PortScanner package in your working directory and import PortScanner to your code. In this way you can only use it in your current working directory.
c)The other is to execute python setup.py install in the PortScanner package.
In this way it will be installed to your python's site-packages folder. And after that you can use it globally by import PortScanner.
Voilà! You are ready to go!
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号