Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

为何安装了Crypto,运行程序时,还是提示“ No module named 'Crypto' “? #1

Open
briteming opened this issue Apr 5, 2021 · 0 comments

Comments

@briteming
Copy link

hi。

[root@racknerd-7b97d8 fSocks-by-evilpan]# pip3 install Crypto
WARNING: Running pip install with root privileges is generally not a good idea. Try pip3 install --user instead.
Collecting Crypto
Using cached https://files.pythonhosted.org/packages/fc/bb/0b812dc02e6357606228edfbf5808f5ca0a675a84273578c3a199e841cd8/crypto-1.4.1-py2.py3-none-any.whl
Collecting Naked
Using cached https://files.pythonhosted.org/packages/02/36/b8107b51adca73402ec1860d88f41d958e275e60eea6eeaa9c39ddb89a40/Naked-0.1.31-py2.py3-none-any.whl
Collecting shellescape
Using cached https://files.pythonhosted.org/packages/d0/f4/0081137fceff5779cd4205c1e96657e41cc2d2d56c940dc8eeb6111780f7/shellescape-3.8.1-py2.py3-none-any.whl
Requirement already satisfied: pyyaml in /usr/local/lib64/python3.8/site-packages (from Naked->Crypto) (5.4.1)
Collecting requests
Using cached https://files.pythonhosted.org/packages/29/c1/24814557f1d22c56d50280771a17307e6bf87b70727d975fd6b2ce6b014a/requests-2.25.1-py2.py3-none-any.whl
Collecting urllib3<1.27,>=1.21.1
Using cached https://files.pythonhosted.org/packages/09/c6/d3e3abe5b4f4f16cf0dfc9240ab7ce10c2baa0e268989a4e3ec19e90c84e/urllib3-1.26.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17
Using cached https://files.pythonhosted.org/packages/5e/a0/5f06e1e1d463903cf0c0eebeb751791119ed7a4b3737fdc9a77f1cdfb51f/certifi-2020.12.5-py2.py3-none-any.whl
Collecting idna<3,>=2.5
Using cached https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl
Collecting chardet<5,>=3.0.2
Using cached https://files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl
Installing collected packages: urllib3, certifi, idna, chardet, requests, Naked, shellescape, Crypto
Successfully installed Crypto-1.4.1 Naked-0.1.31 certifi-2020.12.5 chardet-4.0.0 idna-2.10 requests-2.25.1 shellescape-3.8.1 urllib3-1.26.4
[root@racknerd-7b97d8 fSocks-by-evilpan]# python3 fserver.py -c config.json
Traceback (most recent call last):
File "fserver.py", line 4, in
from fsocks import tunnel_server
File "/root/fSocks-by-evilpan/fsocks/tunnel_server.py", line 9, in
from fsocks import fuzzing, cryption
File "/root/fSocks-by-evilpan/fsocks/cryption.py", line 2, in
from Crypto.Cipher import AES
ModuleNotFoundError: No module named 'Crypto'
[root@racknerd-7b97d8 fSocks-by-evilpan]#

如何解决问题?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant