ArgumentError:在Julia的路径中找不到Plotly

时间:2016-02-04 09:01:28

标签: macos pip julia plotly ijulia-notebook

我安装了plotly using pip in OS X`:

Monas-MacBook-Pro:~ mona$ pip install plotly
Requirement already satisfied (use --upgrade to upgrade): plotly in ./anaconda/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): pytz in ./anaconda/lib/python2.7/site-packages (from plotly)
Requirement already satisfied (use --upgrade to upgrade): requests in ./anaconda/lib/python2.7/site-packages (from plotly)
Requirement already satisfied (use --upgrade to upgrade): six in ./anaconda/lib/python2.7/site-packages (from plotly)

当我尝试在julia中使用它时,我收到以下错误:

julia> using Plotly
ERROR: ArgumentError: Plotly not found in path
 in require at /Applications/Julia-0.4.3.app/Contents/Resources/julia/lib/julia/sys.dylib

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:5)

安装Plotly,Julia包:

Pkg.add("Plotly")

选中here进行设置。