-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use PyPlot after conda update #186
Comments
Try What error message do you get if you type |
Below is the error message I got after ERROR: PyError (:PyImport_ImportModule) <class 'ImportError'> [inlined code] from /home/chiayufang/.julia/v0.4/PyCall/src/exception.jl:81 And below is the error message I got after direct ERROR: InitError: Failed to pyimport("matplotlib"): PyPlot will not work until you have a functioning matplotlib module. For automated Matplotlib installation, try configuring PyCall to use the Conda Python distribution within Julia. Relaunch Julia and run: pyimport exception was: PyError (:PyImport_ImportModule) <class 'ImportError'> in init at /home/chiayufang/.julia/v0.4/PyPlot/src/PyPlot.jl:229 But I am sure that All requested packages already installed. matplotlib 1.5.0 np110py34_0 Also I can import and plot with matplotlib in python 3 as usual. Hope these information are useful to you and wish this problem can be fixed soon! |
Duplicate of JuliaPy/PyCall.jl#65. Should be fixed by the latest Julia, but you may have to delete some old |
I use anaconda to install jupyter ect. on my ubuntu.
I just installed julias 0.4.X few days ago and there was no problem using PyPlot.
However, after I update my conda packages today, PyPlot cannot beused;
Here's the command I used to update my packages:
conda update conda
conda update anaconda
Now, in julia, everytime I call "using PyPlot",
it seems that it cannot find the matplotlib packages;
Julia keeps telling me to install the latest (.15?) one.
But I can import matplotlib in my python code normally......
Julia is really fascinating, I really enjoy its performances.
Can you help solving this problem?
The text was updated successfully, but these errors were encountered: