[MacPorts] #58004: python27 @2.7.15_1+universal issue with importing matplotlib
MacPorts
noreply at macports.org
Sat Feb 2 16:16:28 UTC 2019
#58004: python27 @2.7.15_1+universal issue with importing matplotlib
--------------------------+--------------------
Reporter: mfacorcoran | Owner: (none)
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
--------------------------+--------------------
Comment (by ryandesign):
Replying to [comment:3 mfacorcoran]:
> An odd thing is that the backports package seems to be missing an
!__init!__.py file:
>
> {{{
> In [10]: cd backports
>
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/backports
>
> In [11]: ls -l
> total 16
> -rw-r--r--+ 1 root wheel 155 Sep 27 2017 __init__.py.mp_1531165935
> -rw-r--r--+ 1 root wheel 298 Sep 29 2017 __init__.pyc.mp_1531165935
> drwxr-xr-x+ 6 root wheel 192 Feb 1 16:25 configparser/
> -rw-r--r--+ 1 root wheel 7317 Feb 4 2018 functools_lru_cache.py
> -rw-r--r--+ 1 root wheel 7506 Jul 13 2018 functools_lru_cache.pyc
> drwxr-xr-x+ 6 root wheel 192 Jan 22 2018 shutil_get_terminal_size/
> drwxr-xr-x+ 4 root wheel 128 Jan 14 15:30 ssl_match_hostname/
> }}}
Looks like you forced the activation of another port that conflicted with
this one, which caused MacPorts to rename the conflicting files of this
port (apparently including `__init__.py` and `__init__.pyc`). Uninstall
this port, and the other conflicting one, then reinstall this port. And in
the future, refrain from forcing the activation of ports unless you want
to encounter problems like this again.
--
Ticket URL: <https://trac.macports.org/ticket/58004#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list