No module named ‘index‘ after install pyflann

如题,墙内没有

I have some problems installing pyflann in python 3.7.3, after execute:

pip install pyflann

The installation is successfully accomplished, but when I import the library and a run a python program, I got this error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:Anaconda3libsite-packagespyflann\__init__.py", line 27, in <module>
    from index import *
ModuleNotFoundError: No module named index

解决方案:

pip install  -i http://pypi.douban.com/simple --trusted-host pypi.douban.com pyflann-py3
经验分享 程序员 微信小程序 职场和发展