简体   繁体   English

错误:软件包“ plotly”的延迟加载失败

[英]ERROR: lazy loading failed for package ‘plotly’

I am having difficulties installing Plotly 我在安装Plotly时遇到困难

I get this ERROR text: 我收到此错误文本:

    Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
  unknown timezone 'zone/tz/2017c.1.0/zoneinfo/Europe/London'
* installing *source* package ‘plotly’ ...
** package ‘plotly’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** demo
** inst
** preparing package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/usr/local/lib/R/3.4/site-library/tidyr/libs/tidyr.so':
  dlopen(/usr/local/lib/R/3.4/site-library/tidyr/libs/tidyr.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libc++.1.dylib
  Referenced from: /usr/local/lib/R/3.4/site-library/tidyr/libs/tidyr.so
  Reason: image not found
ERROR: lazy loading failed for package ‘plotly’
* removing ‘/usr/local/lib/R/3.4/site-library/plotly’
Warning in install.packages :
  installation of package ‘plotly’ had non-zero exit status

I google it but still can't find any answer. 我用谷歌搜索,但仍然找不到任何答案。 Does anybody know how to solve this? 有人知道如何解决这个问题吗?

I have reinstalled the tidyr package and tried again installing plotly finally worked. 我已经重新安装了tidyr软件包,并再次尝试安装plotly终于成功了。 I hope this will be of help to somebody. 我希望这会对某人有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM