Trouble creating a conda env with working numpy: `ImportError: cannot import name scalarmath`

前端 未结 1 1043
我寻月下人不归
我寻月下人不归 2021-01-20 06:51

I want to create a conda env (say B) that has a working numpy module. I have a working miniconda install and another conda env (say A) that has working numpy but no matter w

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-20 07:00

    It seems the asker already has his problem solved, but i had a similar problem and came across the question so i'll post it for others. My problem was a rather silly one in that i didn't first specify python first before calling the script, so i i did script.py instead of python script.py so was not invoking Miniconda python executable, which means it wasn't able to import anything from the conda env.

    0 讨论(0)
提交回复
热议问题