使用Python pip安装Pyhook时出现错误“无法导入主文件”

时间:2019-05-23 06:09:17

标签: python pip pyhook

我正在尝试通过在python中使用Pip安装pyhook

但是每次出现错误时都无法导入main。

pip3.6 install Pyhook
Traceback (most recent call last):
  File "c:\users\admin\appdata\local\programs\python\python36-32\lib\runpy.py", line 193, in _run_module_as_main**strong text**
    "__main__", mod_spec)
  File "c:\users\admin\appdata\local\programs\python\python36-32\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "F:\Python\Python\Python36-32\Scripts\pip3.6.exe\__main__.py", line 5, in <module>
ImportError: cannot import name 'main'

0 个答案:

没有答案