Numpy import throws AttributeError: 'module' object has no attribute 'core'

后端 未结 5 1758
清歌不尽
清歌不尽 2020-12-10 16:28
import numpy as np
  File \"/home/anirrudh/.virtualenvs/ml4t2/local/lib/python2.7/site-packages/numpy/__init__.py\", line 180, in 
    from . import ad         


        
5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-10 16:48

    This happened to me in Windows with Anaconda. I fixed it by removing the python3 path from the environment variable PATH.

提交回复
热议问题