Description
Hello,
I use Ubuntu 12.04, 64 bit.
I installed the newest matplotlib version with pip:
sudo pip install -U matplotlib
It works fine in python.
But I cannot import it from Julia 0.2.
using PyPlot results in the following error message:
ulia> using PyPlot
LoadError("/home/ufechner/.julia/PyPlot/src/PyPlot.jl",32,PyError (PyImport_ImportModule) <type 'exceptions.ImportError'>
ImportError('cannot import name scimath',)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/init.py", line 156, in
from matplotlib.cbook import is_string_like
File "/usr/local/lib/python2.7/dist-packages/matplotlib/cbook.py", line 28, in
import numpy as np
File "/usr/local/lib/python2.7/dist-packages/numpy/init.py", line 153, in
from . import add_newdocs
File "/usr/local/lib/python2.7/dist-packages/numpy/add_newdocs.py", line 13, in
from numpy.lib import add_newdoc
File "/usr/local/lib/python2.7/dist-packages/numpy/lib/init.py", line 17, in
from . import scimath as emath
)
julia>
Any idea?
Uwe
Activity
ufechner7 commentedon Feb 24, 2014
I can reproduce the problem already like this (using julia 0.21):
using PyCall
@pyimport numpy
-> same exception as above
stevengj commentedon Feb 24, 2014
What version of numpy do you have?
stevengj commentedon Feb 24, 2014
Closing in favor of JuliaPy/PyCall.jl#65.