安装python随机模块时出现错误
ERROR: Could not find a version that satisfies the requirement python-random (from versions: none)
ERROR: No matching distribution found for python-random
ERROR: Could not find a version that satisfies the requirement python-random (from versions: none)
ERROR: No matching distribution found for python-random
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您不必安装
random
模块,因为它是一个内置
模块它带有标准的 Python 安装。如果你想使用它的函数和类,你只需
import
它:
You don't have to install the
random
module, since it's abuilt-in
module and it comes with the standard Python installation.If you want to use its functions and classes, you just have to
import
it: