嗨,男孩和女孩,
我正在尝试运行用 python 编写的脚本,控制台告诉我:
Install the following library to make this script work
Impacket : https://github.com/CoreSecurity/impacket.git
PyCrypto : https://pypi.python.org/pypi/pycrypto
问题是我已经在 python3 中安装了这些 python 包,所以当我通过 pip 为这些包发出请求时,我收到了这个:
Requirement already satisfied: impacket in /usr/local/lib/python3.8/dist-packages (0.9.17)
Requirement already satisfied: ldap3>=2.5.0 in /usr/lib/python3/dist-packages (from impacket) (2.7)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from impacket) (1.15.0)
隐藏了其余的行,但想法就是这样。我知道该软件包已安装在我的系统中,但我无法将它们与 python2.7 一起使用。
知道如何解决这个问题吗?