TUMFTM / CameraRadarFusionNet

Apache License 2.0
407 stars 131 forks source link

install issues about numpy #11

Closed guiyuliu closed 4 years ago

guiyuliu commented 4 years ago

setup_requires = ["cython>=0.28", "numpy>=1.16.0"] before I use pip install -e . I use conda install numpy 1.18.0 and cython. it turns out numpy1.18.0 cannot work. when I run python train_crfnet.py .... ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header,got 192 from PyObject

it says numpy version is too high

and if I uninstall and install numpy =1.16 it cannot work with python = 3.5 " numpy=1.16 -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0'] "

could you please add numpy on the top of your requirements.txt ? not in the setup.py ?

guiyuliu commented 4 years ago

problem solved, it turns out conda install numpy have some problems, because it dosen‘t have the specfic version in the remote repo. use ‘ conda search numpy ‘ , I didn't find the specific version >1.16 and suit for py35 , most are suited for py36 and py37. so I uninstalled and reinstalled with pip install 'numpy>=1.16.0'