[MacPorts] #63027: pyviz_comms installation incorrect
MacPorts
noreply at macports.org
Fri Jun 4 21:12:20 UTC 2021
#63027: pyviz_comms installation incorrect
----------------------+-------------------------
Reporter: jolivetr | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: pyviz_comms
----------------------+-------------------------
Dear,
It seems that when I install pyviz_comms for python38, the installation
does not behave so that the import will be successful afterwards. The
files copied in the site-packages directory are different from those
copied when installing it with pip (for instance).
Some json files are missing and the import is not successful (IOError
reports missing packages.json file). When building with pip, the python
import is fine and the json files are present where they should be.
Normal install gives:\\
> ls -ltr
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pyviz_comms\\
total 64\\
-rw-r--r-- 1 root wheel 18962 Jun 4 22:59 __init__.py\\
-rw-r--r-- 1 root wheel 439 Jun 4 22:59 _version.py\\
-rw-r--r-- 1 root wheel 4976 Jun 4 22:59 notebook.js\\
drwxr-xr-x 4 root wheel 128 Jun 4 22:59 labextension/\\
drwxr-xr-x 4 root wheel 128 Jun 4 22:59 __pycache__/\\
While the current macports install gives:\\
> ls -ltr
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pyviz_comms\\
total 24\\
-rw-r--r-- 1 root wheel 439 Dec 28 00:52 _version.py\\
-rw-r--r-- 1 root wheel 18962 Dec 28 00:52 __init__.py\\
drwxr-xr-x 4 root wheel 128 Jun 4 23:09 __pycache__/\\
I am not sure how to solve that problem... We cannot force macports to use
pip, right? That would defeat the purpose...
I worked around the problem by installing what I need and replacing the
files with what is installed by pip, but that's a dirty workaround...
Any idea?
Cheers,
R
--
Ticket URL: <https://trac.macports.org/ticket/63027>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list