# Using PyPlot =\> ERROR: InitError: PyError (ccall(@pysym(:PyImport\_ImportModule), PyPtr, (Cstring,), name)

**URL:** <https://discourse.julialang.org/t/using-pyplot-error-initerror-pyerror-ccall-pysym-pyimport-importmodule-pyptr-cstring-name/6733>\
**Category:** General Usage\
**Tags:** question\
**Created:** [October 27, 2017, 11:12pm UTC](https://discourse.julialang.org/t/using-pyplot-error-initerror-pyerror-ccall-pysym-pyimport-importmodule-pyptr-cstring-name/6733 "2017-10-27T23:12:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![XavierG](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xavierg/32/1768_2.png) [@XavierG](https://discourse.julialang.org/u/XavierG)\
**Post date:** [October 28, 2017, 7:04am UTC](https://discourse.julialang.org/t/using-pyplot-error-initerror-pyerror-ccall-pysym-pyimport-importmodule-pyptr-cstring-name/6733/2 "2017-10-28T07:04:10Z")

</div>

In waiting, I have found the following solution in 3 steps:

```
run(`install_name_tool -change @rpath/libiomp5.dylib @loader_path/libiomp5.dylib $(Pkg.dir("Conda", "deps/usr/lib/libmkl_intel_thread.dylib"))`)

Conda.update()

Pkg.build("PyCall")

```

It is suggested by ‘slowbrain’ here:

> [@Error installing PyPlot: The Python package mpl\_toolkits.mplot3d could not be found by pyimport](https://discourse.julialang.org/t/error-installing-pyplot-the-python-package-mpl-toolkits-mplot3d-could-not-be-found-by-pyimport/6372):
>
> I’m trying to install PyPlot on my system ( OSX 10.10 ) and is getting this error: $ julia \_ \_ \_ \_(\_)\_ | A fresh approach to technical computing (\_) | (\_) (\_) | Documentation: https://docs.julialang.org \_ \_ \_| |\_ \_\_ \_ | Type "?help" for help. | | | | | | |/ \_` | | | | |\_| | | | (\_| | | Version 0.6.0 (2017-06-19 13:05 UTC) \_/ |\_\_'\_|\_|\_|\_\_'\_| | Official http://julialang.org/ release |\_\_/ | x86\_64-apple-darwin13.4.0 ju…

Thanks a lot!

---

_[View the full topic](https://discourse.julialang.org/t/using-pyplot-error-initerror-pyerror-ccall-pysym-pyimport-importmodule-pyptr-cstring-name/6733)._
