SeaHOH / GotoX

本地自动代理,修改自 goagent。
722 stars 147 forks source link

NameError: name 'pkgdll_get_path' is not defined,这个如何处理 #230

Closed yuyeyubee closed 2 years ago

yuyeyubee commented 2 years ago

win10,py3.9,pycharm运行时遇到这个,请问如何处理: C:\Python39\python.exe C:/Users/PVer/Downloads/GotoX-3.8.8-cp310-win_amd64/start.py Traceback (most recent call last): File "C:\Users\PVer\Downloads\GotoX-3.8.8-cp310-win_amd64\start.py", line 25, in from local import proxy File "C:\Users\PVer\Downloads\GotoX-3.8.8-cp310-win_amd64\local\proxy.py", line 52, in compat.init() File "C:\Users\PVer\Downloads\GotoX-3.8.8-cp310-win_amd64\local\common\decorator.py", line 16, in newfunc result = func(*args, **kwargs) File "C:\Users\PVer\Downloads\GotoX-3.8.8-cp310-win_amd64\local\compat__init.py", line 118, in init import gevent File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 664, in _load_unlocked File "", line 627, in _load_backward_compatible File "", line 259, in load_module File "C:\Users\PVer\Downloads\GotoX-3.8.8-cp310-win_amd64\python\site-packages\gevent-21.12.0-cp310-cp310-win_amd64.egg\gevent__init__.py", line 85, in File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 664, in _load_unlocked File "", line 627, in _load_backward_compatible File "", line 259, in load_module File "C:\Users\PVer\Downloads\GotoX-3.8.8-cp310-win_amd64\python\site-packages\gevent-21.12.0-cp310-cp310-win_amd64.egg\gevent_config.py", line 699, in File "C:\Users\PVer\Downloads\GotoX-3.8.8-cp310-win_amd64\python\site-packages\gevent-21.12.0-cp310-cp310-win_amd64.egg\gevent_config.py", line 146, in get File "C:\Users\PVer\Downloads\GotoX-3.8.8-cp310-win_amd64\python\site-packages\gevent-21.12.0-cp310-cp310-win_amd64.egg\gevent_config.py", line 248, in validate File "C:\Users\PVer\Downloads\GotoX-3.8.8-cp310-win_amd64\python\site-packages\gevent-21.12.0-cp310-cp310-win_amd64.egg\gevent_config.py", line 219, in _import_one_of File "C:\Users\PVer\Downloads\GotoX-3.8.8-cp310-win_amd64\python\site-packages\gevent-21.12.0-cp310-cp310-win_amd64.egg\gevent_config.py", line 237, in _import_one File "C:\Python39\lib\importlib\init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 664, in _load_unlocked File "", line 627, in _load_backward_compatible File "", line 259, in load_module File "C:\Users\PVer\Downloads\GotoX-3.8.8-cp310-win_amd64\python\site-packages\gevent-21.12.0-cp310-cp310-win_amd64.egg\gevent\libev\corecext.py", line 8, in File "C:\Users\PVer\Downloads\GotoX-3.8.8-cp310-win_amd64\python\site-packages\gevent-21.12.0-cp310-cp310-win_amd64.egg\gevent\libev\corecext.py", line 4, in bootstrap__ NameError: name 'pkgdll_get_path' is not defined

SeaHOH commented 2 years ago

使用其它已安装的 Python 请下载 zip 打包的版本,并自行安装依赖。否则,请直接从 start.vbs 启动。