Paramiko and Crypto Import Error: import winrandom (python)

匿名 (未验证) 提交于 2019-12-03 01:06:02

问题:

Running on a windows machine python 2.7, whenever I try to run my script using the command line I receive the following error.

import winrandom ImportError: DLL load failed: The specified module could not be found. 

But this error does not happen when I run my script through a python IDE

回答1:

Make sure your PATH correctly includes your python2.7 and python2.7\Scripts directories.

Snippet on settings environment variables (if needed):

http://msdn.microsoft.com/en-us/library/ms682653%28v=vs.85%29.aspx



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!