- Jetson Nano Developer Kit SD Card Image(JetPack4.6)
The Ubuntu runs OK. - I select the PyTorch : Python 3.6 - torch-1.8.0-cp36-cp36m-linux_aarch64.whl
- pip3 OK
sudo apt-get install python3-pip libopenblas-base libopenmpi-dev —success - Cython OK
pip3 install Cython —success - But when I install Numpy, Error occurs:
pip3 install numpy —Failed
dl@J:~$ pip3 install numpy
Collecting numpy
Using cached https://files.pythonhosted.org/packages/51/60/3f0fe5b7675a461d96b9d6729beecd3532565743278a9c3fe6dd09697fa7/numpy-1.19.5.zip
Building wheels for collected packages: numpy
Running setup.py bdist_wheel for numpy … error
Complete output from command /usr/bin/python3 -u -c “import setuptools, tokenize;file=‘/tmp/pip-build-beu6ias2/numpy/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” bdist_wheel -d /tmp/tmpoip50rvapip-wheel- --python-tag cp36:
Running from numpy source directory.
Cythonizing sources
warning: _generator.pyx:3226:8: The ‘DEF’ statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
Error compiling Cython file:
…
cdef sfc64_state rng_state
def __init__(self, seed=None):
BitGenerator.__init__(self, seed)
self._bitgen.state = <void *>&self.rng_state
self._bitgen.next_uint64 = &sfc64_uint64
^
_sfc64.pyx:90:35: Cannot assign type ‘uint64_t (*)(void ) except? -1 nogil’ to 'uint64_t ()(void *) noexcept nogil’
…