I have Installed Anaconda3 (64bit) and I already have a Python 2.7 Installation on the default path (Windows 10). When I start the python.exe from the new Anaconda Installation, I cannot import numpy, as it fails to load multiarray. Is it possible to have different python istallation at the same time? If yes, how can I prevent python from loading old files / modules and only import from the current environment? Thanks!
I solved this problem after all. After reinstalling the module I discovered that
conda uninstall
leaves a version of numpy behind. conda install
would always install two versions, one hidden in the file explorer. I deleted both using conda remove
AND pip remove
and reinstalled numpy using pip install numpy
(instead of using conda) and it finally solved my issues!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.