#50225: py27-matplotlib - build failure ------------------------------+-------------------- Reporter: davideproment@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: py-matplotlib | ------------------------------+-------------------- Comment (by davideproment@…): Replying to [comment:6 sean@…]:
MacPorts manages everything under `/opt/local` so installing something by hand into that directory will confuse it. Like it did in your case. If you need something outside of MacPorts for python, then the easiest option is to use a `virtualenv`. Optionally, you could submit a portfile to add that package. In your case, I'd start by uninstall whatever you installed with `pip` and then trying the upgrade again.
Dear Sean, thanks for your explanations. I am a bit newbie of python as I have been using it only recently and installing many modules for science research purposes. As a matter of fact, I do not remember which module(s) I have been installing by hand! Any idea on how can I find this information? Can you also explain me (or give me some useful links) on how to use the {{{virtualenv}}}? I wonder if the easiest solution in my case would be to delete all {{{/opt/local/}}} python framework and reinstall everything... -- Ticket URL: <https://trac.macports.org/ticket/50225#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X