我已经成功地使用我的cmd安装了xlsxwriter,因为我需要在python程序中使用它,但是在模块安装完毕并且cmd返回“successfully installed xlsxwriter”之后,它似乎不起作用。
当我进入pythonshell导入xlsxwriter时,它不会返回名为xlsxwriter的moduel。在
另外,我在cmd中输入的命令是c:\python34\script\pip install xlsxwriter
p、 使用Windows10和Python3.5.1的p.s im
Tags:
您是否可能是为安装Python3.4而安装的,并试图在Python3.5安装中使用它?在
请尝试
where python
查看您的默认安装是哪个python(即在您的路径中首先列出)。在我想你需要
或者将要默认的版本添加到PATH环境变量中。在
看看python文档parts regarding windows installs and environment variables。在
相关问题 更多 >
编程相关推荐