Python 3.x 导入eel ModuleNotFoundError:没有名为';鳗鱼';但是安装了eel

Python 3.x 导入eel ModuleNotFoundError:没有名为';鳗鱼';但是安装了eel,python-3.x,Python 3.x,我想使用以下命令将py脚本转换为exe: 但是当runrun.py时,它会说“没有名为‘eel’的模块” 并且安装了pyinstaller C:\Users\Jester>pip install eel Requirement already satisfied: eel in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (0.14.0) Requirement already satis

我想使用以下命令将py脚本转换为exe:

但是当run
run.py
时,它会说“没有名为‘eel’的模块” 并且安装了
pyinstaller

C:\Users\Jester>pip install eel
Requirement already satisfied: eel in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (0.14.0)
Requirement already satisfied: bottle in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (from eel) (0.12.19)
Requirement already satisfied: bottle-websocket in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (from eel) (0.2.9)
Requirement already satisfied: future in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (from eel) (0.18.2)
Requirement already satisfied: pyparsing in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (from eel) (2.4.7)
Requirement already satisfied: whichcraft in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (from eel) (0.6.1)
Requirement already satisfied: gevent-websocket in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (from bottle-websocket->eel) (0.10.1)
Requirement already satisfied: gevent in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (from gevent-websocket->bottle-websocket->eel) (21.1.2)
Requirement already satisfied: cffi>=1.12.2 in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (from gevent->gevent-websocket->bottle-websocket->eel) (1.14.5)
Requirement already satisfied: greenlet<2.0,>=0.4.17 in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (from gevent->gevent-websocket->bottle-websocket->eel) (1.1.0)
Requirement already satisfied: setuptools in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (from gevent->gevent-websocket->bottle-websocket->eel) (56.0.0)
Requirement already satisfied: zope.interface in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (from gevent->gevent-websocket->bottle-websocket->eel) (5.4.0)
Requirement already satisfied: zope.event in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (from gevent->gevent-websocket->bottle-websocket->eel) (4.5.0)
Requirement already satisfied: pycparser in c:\users\jester\appdata\local\programs\python\python39\lib\site-packages (from cffi>=1.12.2->gevent->gevent-websocket->bottle-websocket->eel) (2.20)
C:\Users\Jester>pip安装
已满足要求:c:\users\jester\appdata\local\programs\python39\lib\site包中的eel(0.14.0)
已满足要求:c:\users\jester\appdata\local\programs\python39\lib\site包中的瓶子(来自eel)(0.12.19)
已满足要求:c:\users\jester\appdata\local\programs\python\python39\lib\site软件包中的瓶子websocket(来自eel)(0.2.9)
已满足要求:c:\users\jester\appdata\local\programs\python\python39\lib\site软件包(来自eel)中的未来(0.18.2)
已满足要求:c:\users\jester\appdata\local\programs\python39\lib\site包中的pyparsing(来自eel)(2.4.7)
已满足要求:c:\users\jester\appdata\local\programs\python\python39\lib\site包中的whichcraft(来自eel)(0.6.1)
已满足要求:c:\users\jester\appdata\local\programs\python\python39\lib\site包中的gevent websocket(来自瓶子websocket->eel)(0.10.1)
已满足要求:c:\users\jester\appdata\local\programs\python\python39\lib\site软件包中的gevent(来自gevent websocket->瓶子websocket->eel)(21.1.2)
已满足要求:c:\users\jester\appdata\local\programs\python\python39\lib\site软件包中的cffi>=1.12.2(来自gevent->gevent websocket->瓶子websocket->eel)(1.14.5)
已满足要求:c:\users\jester\appdata\local\programs\python\python39\lib\site软件包中的greenlet=0.4.17(来自gevent->gevent websocket->瓶子websocket->eel)(1.1.0)
已满足要求:c:\users\jester\appdata\local\programs\python39\lib\site包中的setuptools(来自gevent->gevent websocket->瓶子websocket->eel)(56.0.0)
已满足要求:c:\users\jester\appdata\local\programs\python\python39\lib\site包中的zope.interface(来自gevent->gevent websocket->瓶子websocket->eel)(5.4.0)
已满足要求:c:\users\jester\appdata\local\programs\python\python39\lib\site包中的zope.event(来自gevent->gevent websocket->瓶子websocket->eel)(4.5.0)
已满足要求:c:\users\jester\appdata\local\programs\python\python39\lib\site包中的pycparser(来自cffi>=1.12.2->gevent->gevent websocket->瓶子websocket->eel)(2.20)

python或
pip
上是否安装了多个版本?不,我想我不会检查。我使用的是python 3.9.5。您是否遵循自述文件中的说明?请打开python解释器并发布
import sys的输出;在sys.path中打印(“c:\users\jester\appdata\local\programs\python\python39\lib\site packages”)