Problematic file: /usr/local/lib/python2.7/site-packages/easy-install.pth.dist
2014-05-26 15:04
1071 查看
没想到freebsd上安装openerp会碰到这个问题:
这里有答案: https://forums.freebsd.org/viewtopic.php?t=44338
其实说白了就是文件冲突.答案就在 /usr/ports/UPDATING - 20140307
查看这个文件的20140307段.
由于我的机器上没有装postmaster和portupgrade, 所以我采用了这种方法:
即:
即, 先设置, 然后清理, 然后卸载, 最后重新装一下. 搞定了.
===> Registering installation for py27-setuptools-2.0.1 as automatic Installing py27-setuptools-2.0.1...pkg-static: py27-setuptools-2.0.1 conflicts with py27-distribute-0.6.35 (installs files into the same place). Problematic file: /usr/local/lib/python2.7/site-packages/easy-install.pth.dist *** [fake-pkg] Error code 70
这里有答案: https://forums.freebsd.org/viewtopic.php?t=44338
其实说白了就是文件冲突.答案就在 /usr/ports/UPDATING - 20140307
查看这个文件的20140307段.
由于我的机器上没有装postmaster和portupgrade, 所以我采用了这种方法:
pkgng users: # pkg set -o devel/py-setuptools:devel/py-setuptoolsXX输入y, 然后卸载掉py27-setuptools27-2.0.1
即:
root@example:/usr/ports/devel/py-setuptools27 # pkg set -o devel/py-setuptools:devel/py-setuptools27 root@example:/usr/ports/devel/py-setuptools27 # make clean root@example:/usr/ports/devel/py-setuptools27 # make deinstall root@example:/usr/ports/devel/py-setuptools27 # make install
即, 先设置, 然后清理, 然后卸载, 最后重新装一下. 搞定了.
相关文章推荐
- 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
- WARNING: /usr/local/lib/python2.7/dist-packages/scrapy/utils/deprecate.py:156: ScrapyDeprecationWarn
- OSError: [Errno 13] 权限不够: '/usr/local/lib/python2.7/dist-packages/cmake'
- Permission denied: '/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/EGG-INFO/requires.txt
- (pyasn1 0.1.6 (/usr/lib/python2.7/site-packages),
- 错误-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
- /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:79: Insecur
- ImportError: /usr/local/lib/python2.7/dist-packages/torch/lib/libgomp.so.1: version `GOMP_4.0' not f
- 使用pip卸载包时出现“Not uninstalling *** at /usr/lib/python2.7/dist-packages, owned by OS解决”
- [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/test-easy-install-1433.pth'
- /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!
- ImportError: /usr/local/lib/python3.2/dist-packages/pygame/base.cpython-32mu.so: undefined symbol: P
- 错误:/usr/lib/python2.4/site-packages/_sqlitecache.so: wrong ELF class: ELFCLASS32
- 错误:/usr/lib/python2.4/site-packages/_sqlitecache.so: wrong ELF class: ELFCLASS32
- /usr/local/lib/libpython2.7.a: could not read symbols: Bad value. collect2: ld retur ned 1 exit
- /usr/lib/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback
- 错误:/usr/lib/python2.4/site-packages/_sqlitecache.so: wrong ELF class: ELFCLASS32
- python dist-packages 和 site-packages