ImportError:没有名为tinyec.registry的模块

2024-05-16 13:48:52 发布

您现在位置:Python中文网/ 问答频道 /正文

>>>"ImportError: No module named tinyec.registry"

我尝试安装pupy。我安装了所有依赖项,但只剩下一个

#/pupysh.py

2020-07-13 16:52:12,987| Datagram based stream is not available: KCP missing                                                                                                                   
2020-07-13 16:52:13,011| No module named http_parser.pyparser: socks module disabled, auto_connect unavailable                                                                                 
2020-07-13 16:52:13,016| Transport rsa_aes disabled: No module named **tinyec.registry**                                                                                                           
Traceback (most recent call last):                                                                                                                                                             
  File "/home/art/osint/pupy/pupy/network/lib/__init__.py", line 49, in <module>                                                                                                               
    from .transports.rsa_aes import RSA_AESClient, RSA_AESServer                                                                                                                               
  File "/home/art/osint/pupy/pupy/network/lib/transports/rsa_aes.py", line 14, in <module>                                                                                                     
    from cryptoutils import get_random, NewAESCipher                                                                                                                                           
  File "/home/art/osint/pupy/pupy/network/lib/transports/cryptoutils/__init__.py", line 43, in <module>                                                                                        
    from .ecpv import ECPV                                                                                                                                                                     
  File "/home/art/osint/pupy/pupy/network/lib/transports/cryptoutils/ecpv.py", line 10, in <module>                                                                                            
    from tinyec.registry import get_curve                                                                                                                                                      
ImportError: No module named tinyec.registry                                                                                                                                                   
2020-07-13 16:52:13,017| Transport ec4 disabled: No module named tinyec.registry                                                                                                               
Traceback (most recent call last):                                                                                                                                                             
  File "/home/art/osint/pupy/pupy/network/lib/__init__.py", line 70, in <module>                                                                                                               
    from .transports.ec4 import EC4TransportServer, EC4TransportClient                                                                                                                         
  File "/home/art/osint/pupy/pupy/network/lib/transports/ec4.py", line 8, in <module>                                                                                                          
    from .cryptoutils import RC4, SHA384, ECPV                                                                                                                                                 
  File "/home/art/osint/pupy/pupy/network/lib/transports/cryptoutils/__init__.py", line 43, in <module>                                                                                        
    from .ecpv import ECPV                                                                                                                                                                     
  File "/home/art/osint/pupy/pupy/network/lib/transports/cryptoutils/ecpv.py", line 10, in <module>                                                                                            
    from tinyec.registry import get_curve   

然而:`

  • pip安装tinyec:~/.local/lib/python3.7/site-packages/tinyec
  • sys.path:~/.local/lib/python3.7/site-packages/

好主意,怎么了


Tags: infrompyimporthomeliblinenetwork