Zeta36 / chess-alpha-zero

Chess reinforcement learning by AlphaGo Zero methods.
MIT License
2.14k stars 481 forks source link

ImportError: cannot import name 'multiarray' #56

Open byeung888 opened 6 years ago

byeung888 commented 6 years ago

I am getting an error. I have ran the requirements without issues and I am running it with Python 3.6 on Ubuntu 16.04 LTS. What is wrong?

$ python3.6 src/chess_zero/run.py sl Traceback (most recent call last): File "src/chess_zero/run.py", line 19, in from chess_zero import manager File "src/chess_zero/manager.py", line 10, in from .config import Config File "src/chess_zero/config.py", line 6, in import numpy as np File "/usr/lib/python3/dist-packages/numpy/init.py", line 180, in from . import add_newdocs File "/usr/lib/python3/dist-packages/numpy/add_newdocs.py", line 13, in from numpy.lib import add_newdoc File "/usr/lib/python3/dist-packages/numpy/lib/init.py", line 8, in from .type_check import * File "/usr/lib/python3/dist-packages/numpy/lib/type_check.py", line 11, in import numpy.core.numeric as _nx File "/usr/lib/python3/dist-packages/numpy/core/init.py", line 14, in from . import multiarray ImportError: cannot import name 'multiarray'

Akababa commented 6 years ago

It looks like you can't import numpy.. try reinstalling the package?