pyastar2d
pyastar2d copied to clipboard
Numpy 1.20.2 is not compatible.
How about adding the numpy version in requirement.txt
?
When I use the numpy==1.20.2 and try to run the example code in README, it returns the following log.
RuntimeError: module compiled against API version 0xf but this version of numpy is 0xe
Traceback (most recent call last):
File "test.py", line 2, in <module>
import pyastar2d
File "/Users/jiyoonlim/.pyenv/versions/asic/lib/python3.8/site-packages/pyastar2d/__init__.py", line 1, in <module>
from pyastar2d.astar_wrapper import astar_path, Heuristic
File "/Users/jiyoonlim/.pyenv/versions/asic/lib/python3.8/site-packages/pyastar2d/astar_wrapper.py", line 3, in <module>
import pyastar2d.astar
ImportError: numpy.core.multiarray failed to import
When I tried it with numpy==1.22.4, It works well.