Paramiko和Crypto导入错误:导入winrandom(python)

Paramiko和Crypto导入错误:导入winrandom(python),python,paramiko,pycrypto,Python,Paramiko,Pycrypto,在windows机器Python2.7上运行时,每当我尝试使用命令行运行脚本时,都会收到以下错误 import winrandom ImportError: DLL load failed: The specified module could not be found. 但是,当我通过python IDE运行脚本时,不会发生此错误请确保您的路径正确包含python2.7和python2.7\Scripts目录 设置环境变量的代码段(如果需要):

在windows机器Python2.7上运行时,每当我尝试使用命令行运行脚本时,都会收到以下错误

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

但是,当我通过python IDE运行脚本时,不会发生此错误

请确保您的路径正确包含python2.7和python2.7\Scripts目录

设置环境变量的代码段(如果需要):