ImportError: /usr/local/lib/python2.7/dist-packages/torch/lib/libgomp.so.1: version `GOMP_4.0' not f
2017-09-25 18:57
786 查看
import torch
出现错误:
ImportError: /usr/local/lib/python2.7/dist-packages/torch/lib/libgomp.so.1: version `GOMP_4.0' not found (required by /usr/lib/x86_64-linux-gnu/libsoxr.so.0)
解决方法是将import cv2放在import torch前面:
import cv2
import torch
import cv2
出现错误:
ImportError: /usr/local/lib/python2.7/dist-packages/torch/lib/libgomp.so.1: version `GOMP_4.0' not found (required by /usr/lib/x86_64-linux-gnu/libsoxr.so.0)
解决方法是将import cv2放在import torch前面:
import cv2
import torch
相关文章推荐
- ImportantError:/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/_uhd_swig.so:undefined symbol:_ZN
- error: could not create '/usr/local/lib/python2.7/dist-packages/jieba': Permission denied
- OSError: [Errno 13] 权限不够: '/usr/local/lib/python2.7/dist-packages/cmake'
- /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:79: Insecur
- Permission denied: '/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/EGG-INFO/requires.txt
- WARNING: /usr/local/lib/python2.7/dist-packages/scrapy/utils/deprecate.py:156: ScrapyDeprecationWarn
- Problematic file: /usr/local/lib/python2.7/site-packages/easy-install.pth.dist
- /usr/local/lib/libpython2.7.a: could not read symbols: Bad value. collect2: ld retur ned 1 exit
- 错误-python-Not uninstalling six at /usr/lib/python2.7/dist-packages, owned by OS
- 错误-python-Not uninstalling six at /usr/lib/python2.7/dist-packages, owned by OS
- ImportError: /usr/local/lib/python3.2/dist-packages/pygame/base.cpython-32mu.so: undefined symbol: P
- /usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.22) or chardet (2.2.1) doesn't match a supported version!
- 使用pip卸载包时出现“Not uninstalling *** at /usr/lib/python2.7/dist-packages, owned by OS解决”
- 使用Gevent程序正常运行出现这个异常KeyError(155880780,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored解决办法
- Python anaconda links to GOMP_4.0 and throws error
- Error: EACCES: permission denied, access '/usr/local/lib/node_modules' npm ERR! at Error (native)
- Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
- ImportError: No module named matplotlib.pyplot安装模块python
- ubuntu:gpg: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP
- 新建python环境无法导入libxml2dom的问题:ImportError: No module named libxmlmods