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

Source: Internet
Author: User

Did not expect to install OpenERP on FreeBSD will encounter this problem:

===>   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 to the same place).  Problematic file:/usr/local/lib/python2.7/site-packages/easy-install.pth.dist
* * * * [fake-pkg] Error code 70

Here's the answer: https://forums.freebsd.org/viewtopic.php?t=44338

In fact, it is a file conflict. The answer is in the/usr/ports/updating-20140307 view 20140307 paragraphs of this file.


Since I didn't have postmaster and Portupgrade on my machine, I used this approach:

PKGNG Users:
# pkg Set-o devel/py-setuptools:devel/py-setuptoolsxx
Enter Y, then uninstall py27-setuptools27-2.0.1
That

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

That is, set first, then clean, then uninstall, and finally reload. It's done.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.