Hi,
I am running Julia version 0.5.2 with Atom. Everything was working fine then at some point I start to receive the error message below every time I try “using PyPlot”.
Please let me know if anyone has any ideas of how to overcome this issue.
thank you
Josimar
LoadError: InitError: PyError (:PyImport_ImportModule) <type 'exceptions.RuntimeError'>
RuntimeError('the sip module implements API v11.0 to v11.2 but the PyQt5.QtWidgets module requires API v11.3',)
File "/Users/josimar/Documents/Work/UnsynchFolders/Software/Anaconda/anaconda/lib/python2.7/site-packages/matplotlib/pyplot.py", line 114, in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/Users/josimar/Documents/Work/UnsynchFolders/Software/Anaconda/anaconda/lib/python2.7/site-packages/matplotlib/backends/__init__.py", line 32, in pylab_setup
globals(),locals(),[backend_name],0)
File "/Users/josimar/Documents/Work/UnsynchFolders/Software/Anaconda/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_qt5agg.py", line 15, in <module>
from .backend_qt5 import QtCore
File "/Users/josimar/Documents/Work/UnsynchFolders/Software/Anaconda/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", line 27, in <module>
import matplotlib.backends.qt_editor.figureoptions as figureoptions
File "/Users/josimar/Documents/Work/UnsynchFolders/Software/Anaconda/anaconda/lib/python2.7/site-packages/matplotlib/backends/qt_editor/figureoptions.py", line 17, in <module>
import matplotlib.backends.qt_editor.formlayout as formlayout
File "/Users/josimar/Documents/Work/UnsynchFolders/Software/Anaconda/anaconda/lib/python2.7/site-packages/matplotlib/backends/qt_editor/formlayout.py", line 58, in <module>
from matplotlib.backends.qt_compat import QtGui, QtWidgets, QtCore
File "/Users/josimar/Documents/Work/UnsynchFolders/Software/Anaconda/anaconda/lib/python2.7/site-packages/matplotlib/backends/qt_compat.py", line 114, in <module>
from PyQt5 import QtCore, QtGui, QtWidgets
during initialization of module PyPlot
while loading /Users/josimar/Documents/Work/Projects/SlowEarthquakes/Modeling/Julia/Data_Processing/PyLith/Export_Fault_Rate_And_State.jl, in expression starting on line 23
in pyerr_check at exception.jl:56 [inlined]
in pyerr_check at exception.jl:61 [inlined]
in macro expansion at exception.jl:81 [inlined]
in pyimport(::String) at PyCall.jl:390
in __init__() at init.jl:184
in _include_from_serialized(::String) at loading.jl:150
in _require_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at loading.jl:187
in _require_search_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at loading.jl:217
in _require_search_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at sys.dylib:?
in require(::Symbol) at loading.jl:371
in require(::Symbol) at sys.dylib:?
in include_string(::String, ::String) at loading.jl:441
in include_string(::String, ::String) at sys.dylib:?
in include_string(::Module, ::String, ::String) at eval.jl:34
in (::Atom.##59#62{String,String})() at eval.jl:73
in withpath(::Atom.##59#62{String,String}, ::String) at utils.jl:30
in withpath(::Function, ::String) at eval.jl:38
in macro expansion at eval.jl:71 [inlined]
in (::Atom.##58#61{Dict{String,Any}})() at task.jl:60