Closed peterbell10 closed 2 months ago
I can't reproduce this, I just tried ./dbg/bin/python3 -m pip install xnd
and the install worked. Are you installing as root to the system directories?
Anyway, the PyPI xnd
is a bit old now (a new release is due), so I recommend conda dev builds:
conda install -c xnd/label/dev xnd
Or from source:
The problem is here: https://github.com/xnd-project/xnd/blob/89b41c5aaf90356f296b74dd58d73e110df750a3/setup.py#L106
>>> get_python_lib()
'/usr/lib/python3/dist-packages'
If on your system it happens to be installed to that folder then it'll work.
I can reproduce some pip strangeness:
# /usr/bin/python3 -m pip install ndtypes
Requirement already satisfied: ndtypes in /usr/local/lib/python3.5/dist-packages (0.2.0b2)
Bizarre, why is pip looking in /usr/local
?
The whole project is now built with CMake
(#49), so closing.
I'm unable to install xnd using pip. I always get the same error:
Note the include directory for ndtypes:
But ndtypes is actually installed in
/usr/local/lib/python3.7/dist-packages
. I'm installing both with the commandpython3.7 -m pip install
so this shouldn't be a problem. It's also correctly including/usr/include/python3.7m
in the same compile command.This is also similarly broken when ndtypes is installed with
--user
, in which case it lives in~/.local/python3.7/site-packages