成功安装手套后导入错误

时间:2019-11-20 17:12:27

标签: python glove

我已经成功安装了手套。跑步后 从命令行pip3 install https://github.com/JonathanRaiman/glove/archive/master.zip收到以下消息

Collecting https://github.com/JonathanRaiman/glove/archive/master.zip
  Downloading https://github.com/JonathanRaiman/glove/archive/master.zip
     - 10kB 15.6MB/s
Collecting cython (from glove==1.0.1)
  Downloading https://files.pythonhosted.org/packages/9b/e6/6e30303d7bc17289411d82276b7338a1781964171c94f5ebe689cbecad4c/Cython-0.29.14-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (2.9MB)
    100% |████████████████████████████████| 2.9MB 4.6MB/s
Requirement already satisfied: numpy in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from glove==1.0.1) (1.17.3)
Installing collected packages: cython, glove
  Running setup.py install for glove ... done
Successfully installed cython-0.29.14 glove-1.0.1

但是,当尝试在我的python shell中import glove时,出现模块未找到错误

ModuleNotFoundError: No module named 'glove'

任何解决此问题的方法?

0 个答案:

没有答案