pip是一个替代品easy_install.但是我应该在Windows上安装pip使用easy_install吗?有没有更好的办法?
我正在尝试导入Pygame以用于我的Python版本3.3.Pygame网站上的下载只有Python 3.1和3.2.我似乎无法导入Pygame,虽然我以为我已经将它安装在正确的路径中.我已经尝试过3.1和3.2 Pygame下载.
Pygame是不是安装在正确的文件路径中,还是Pygame与我的Python版本(3.3)不兼容?
我正在运行Windows 7,这是错误:
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
import pygame
File ".\pygame\__init__.py", line 95, in <module>
from pygame.base import *
ImportError: DLL load failed: The specified module could not be found.
Run Code Online (Sandbox Code Playgroud) 试图导入Json,我的命令是pip install json.我正在使用Windows 8.1
我在命令提示符下的错误是
Could not find a version that satisfies the requirements json <from versions:>
Run Code Online (Sandbox Code Playgroud)
No matching distribution found for json.
而我在pycharm上的错误是
NameError: name 'json' is not defined
Run Code Online (Sandbox Code Playgroud)
我尝试导入numpy,它工作得很好.我也检查了Pip"无法找到满足要求的"
并且找不到满足要求的版本<package>
编辑:也推荐到此链接Python 3.5.1:NameError:名称'json'未定义并且收到sudo无法识别的错误