当前位置:网站首页>ModuleNotFoundError: No module named ‘_swigfaiss‘
ModuleNotFoundError: No module named ‘_swigfaiss‘
2022-06-30 09:36:00 【农民小飞侠】
今天运行rocketQA的时候发现没有安装faiss,于是用pip安装了faiss,运行的时候,出现了下面的错误:
......
File "/root/anaconda3/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_swigfaiss'
解决方法
conda install faiss-cpu -c pytorch
用anaconda安装即可。
参考文献
[1].ImportError: No module named '_swigfaiss. https://github.com/facebookresearch/faiss/issues/821
边栏推荐
- Redis docker master-slave mode and sentinel
- JVM tuning tool commands (notes)
- JUL简介
- Oracle cross database replication data table dblink
- What makes flutter special
- Utlis memory pool object pool
- 7. development of mobile login function
- Redis docker 主从模式与哨兵sentinel
- Stack Title: String decoding
- G 代码解释|最重要的 G 代码命令列表
猜你喜欢
【新书推荐】Deno Web Development
JUL简介
机械臂速成小指南(四):机械臂关键部件之减速机
Add / delete query of topic
Flume learning II - Cases
Practice of super integration and transformation of core production business of public funds
将小程序容器技术应用到物联网IoT生态建设中
MySQL index and data storage structure foundation
Bloom filter
Self service terminal handwritten Chinese character recognition input method library tjfink introduction
随机推荐
Ocx control can be called by IE on some computers, but can not be called by IE on some computers
Installing Oracle database process in windows2007 on VM
ABAP time function
Upgrade log4j2 to 2.17.1 stepped pit
Flume learning 1
Object detection yolov5 open source project debugging
布隆过滤器
log4j
Datatabletomodellist entity class
机械臂速成小指南(四):机械臂关键部件之减速机
GPT (improving language understanding generative pre training) paper notes
Read the difference and connection between hyperfusion and private cloud
Dart development skills
Quick completion guide for manipulator (4): reducer of key components of manipulator
Utlis memory pool object pool
Task summary in NLP
How can we have high performance and simple agility in the enterprise cloud on oracle?
How to build a private cloud and create a hybrid cloud ecosystem?
Work notes: SendTo failed errno 22
Comparison problems encountered in recent study