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

运行报错 cannot import name 'six' from 'pkg_resources.extern' (D:\python\Lib\site-packages\pkg_resources\extern\__init__.py) #140

Open
Zero-Hang opened this issue Jul 25, 2023 · 0 comments

Comments

@Zero-Hang
Copy link

C:\Users\tt>weditor
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "D:\python\Scripts\weditor.exe_main
.py", line 4, in
File "D:\python\Lib\site-packages\weditor_main
.py", line 38, in
from .web.handlers.page import (
File "D:\python\Lib\site-packages\weditor\web\handlers\page.py", line 15, in
from ..device import connect_device, get_device
File "D:\python\Lib\site-packages\weditor\web\device.py", line 6, in
import uiautomator2 as u2
File "D:\python\Lib\site-packages\uiautomator2_init_.py", line 40, in
import adbutils
File "D:\python\Lib\site-packages\adbutils_init_.py", line 12, in
from .adb import AdbConnection
File "D:\python\Lib\site-packages\adbutils_adb.py", line 16, in
from adbutils.utils import adb_path
File "D:\python\Lib\site-packages\adbutils_utils.py", line 17, in
from pkg_resources import resource_filename
File "D:\python\Lib\site-packages\pkg_resources_init
.py", line 57, in
from pkg_resources.extern import six
ImportError: cannot import name 'six' from 'pkg_resources.extern' (D:\python\Lib\site-packages\pkg_resources\extern_init
.py)

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