eg:no module named transformers
明明安装了报错说没有安装
第一:检查安装的虚拟环境对不对
第二:用which pip看看用的pip对不对,到anaconda3/envs/自己的环境名下/bin
这个目录下,看看有没有pip文件。或者改个特殊的名字,免得用错。比如pip_lyjpig。
参考:https://github.com/huggingface/transformers/issues/2478
相关文章
- 03-27EF Migrations error: No connection string named 'MpDb' could be found in the application config file.
- 03-27no module named XXX
- 03-27xcode中找不到XXX.dylib
- 03-27XV Open Cup named after E.V. Pankratiev. GP of Siberia-Swimming
- 03-27python 2.7 ImportError: No module named numpy
- 03-27python scrapy No module named 'cryptography.hazmat
- 03-27module ‘cv2.cv2‘ has no attribute ‘xfeatures2d‘ 报错解决方案
- 03-27GCC 高版本7.4 编译链接 boost 报错 boost::thread::XXX’未定义的引用 解决方法
- 03-27打包时报错 app\build\intermediates\res\resources-xxx-stripped.ap_' specified for property '
- 03-27file xxx from install of xxx conflicts with file from xxx