pip安装字符串错误
pip install string error
我正在尝试使用 pip 在我的终端上安装 "string" 和 "name"。
每次我这样做时,我都会收到此错误:
Could not find a version that satisfies the requirement random (from
versions: ) No matching distribution found for random
和
Could not find a version that satisfies the requirement string (from
versions: ) No matching distribution found for string
有知道解决方法的请告知,谢谢
默认情况下,random
和 string
包含在大多数 python 安装中。您应该能够在不使用 pip
的情况下执行以下操作:
$ python
Python 3.6.4 (default, Mar 1 2018, 18:36:50)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import random
>>> import striong
错误:找不到满足随机要求的版本
错误: 找不到随机的匹配分布
如果以上是你的错误
然后按照以下步骤-
按下
ctrl+f
在以下网址搜索模块 https://www.lfd.uci.edu/~gohlke/pythonlibs
注意- 在安装任何模块之前检查您的 python 版本
安装模块后复制并粘贴到您的 pip 文件夹中。
按照此路径将您的模块粘贴到 pip 文件夹中。
[C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\Scripts]
希望对您有所帮助!
我正在尝试使用 pip 在我的终端上安装 "string" 和 "name"。 每次我这样做时,我都会收到此错误:
Could not find a version that satisfies the requirement random (from versions: ) No matching distribution found for random
和
Could not find a version that satisfies the requirement string (from versions: ) No matching distribution found for string
有知道解决方法的请告知,谢谢
random
和 string
包含在大多数 python 安装中。您应该能够在不使用 pip
的情况下执行以下操作:
$ python
Python 3.6.4 (default, Mar 1 2018, 18:36:50)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import random
>>> import striong
错误:找不到满足随机要求的版本
错误: 找不到随机的匹配分布
如果以上是你的错误
然后按照以下步骤-
按下
ctrl+f
在以下网址搜索模块 https://www.lfd.uci.edu/~gohlke/pythonlibs
注意- 在安装任何模块之前检查您的 python 版本
安装模块后复制并粘贴到您的 pip 文件夹中。
按照此路径将您的模块粘贴到 pip 文件夹中。
[C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\Scripts]
希望对您有所帮助!