Closed qua4tre closed 5 years ago
At some point, I noticed that letting the Anaconda installer change the system path (Win 10) helped. (Maybe you didn't select this option when upgrading?) As of now, the first folders in my path are
C:\Miniconda3
C:\Miniconda3\Library\mingw-w64\bin
C:\Miniconda3\Library\usr\bin
C:\Miniconda3\Library\bin
C:\Miniconda3\Scripts
(since I installed to C:\Miniconda3)
You're right. Checking the box "Add Anaconda to my PATH environment variable" during installation, against Anaconda's current recommendation, fixes it. Thank you!
Maybe you need to use a python.exe
in C:\Miniconda3\Library\mingw-w64\bin
or one of the other paths?
This recently began to happen after I uninstalled an old Anaconda distribution and installed Anaconda3 (although I don't know if that's related or not). AFAICT, PyCall is using a private Miniconda installation, not the Anaconda distribution I just installed. However, even when I set
ENV["PYTHON"] = "C:/Users/musikat/AppData/Local/Continuum/anaconda3/python.exe"
and]build PyCall
, I get the sameImportError
afterusing PyPlot
; the only thing that changes is the intervening message about matplotlib not being found by pyimport. Any help would be appreciated.I am using Julia 1.1.1 on Windows 10.