You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
When I tried it with numpy==1.22.4, It works well.
The text was updated successfully, but these errors were encountered: