Problematic file:/usr/local/lib/python2.7/site-packages/easy-install.pth.dist

1110 ワード

freebsdにopenerpをインストールするとこの問題に遭遇するとは思わなかった.
===>   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-2014307でこのファイルの2014307セグメントを表示します.
私の機械にはpostmasterとportupgradeが入っていないので、この方法を採用しました.
pkgng users:
# pkg set -o devel/py-setuptools:devel/py-setuptoolsXX
yを入力し、py 27-setuptools 27-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

すなわち、設定してから、クリーンアップし、アンインストールして、最後に再インストールする.やった