1 之前一直用的linux,python的使用,pip命令等,都很方便安装,最近转到使用windows上了,在安装时遇到点小麻烦,在这里记录一下
1 官网下载exe的,not zip。zip下载使用pip时有问题,不识别,但介绍说的时3.4后,是默认集成的,不知道这个安装包什么问题;
2 改用下载exe,在安装过程中,document,pip这些是默认勾选的
3 进入使用
D:\work\python37>python -m pip install tkinter
Collecting tkinter
ERROR: Could not find a version that satisfies the requirement tkinter (from versions: none)
ERROR: No matching distribution found for tkinter
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
D:\work\python37>python -m pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl (1.4MB)
|████████████████████████████████| 1.4MB 21kB/s
Installing collected packages: pip
Found existing installation: pip 19.2.3
Uninstalling pip-19.2.3:
Successfully uninstalled pip-19.2.3
Successfully installed pip-20.0.2
D:\work\python37>python -m pip install pywifi
Collecting pywifi
Downloading pywifi-1.1.12-py3-none-any.whl (15 kB)
Installing collected packages: pywifi
Successfully installed pywifi-1.1.12