在 R 中安装 libpng 时出现问题错误:找不到此类文件
我目前有一个创建为“r_env”的 conda 环境,并尝试将“tensorflow”包安装到终端上的 R 中。但是,在 RI 中,无论我在加载 R 后是否直接从终端安装“tensorflow”或“png”包,都会出现相同的错误。
我目前在 conda 环境中安装了以下软件包:
<一href="https://i.sstatic.net/eKTZA.png" rel="nofollow noreferrer">
在我看来,安装程序正在尝试在 ./conda/ 中查找库文件envs/r_env/lib/R/library,同时它已安装在 ./conda/envs/r_env 中。我该如何纠正这个问题? (注意:我没有 sudo 权限,但此时任何解决方案都是有帮助的!)
I currently have a conda environment created as "r_env" and is trying to install the "tensorflow" package into R on terminal. However, in R I keep having the same error, regardless if I am install "tensorflow" or "png" package directly from terminal after loading R.
I currently have the following packages installed in the conda env:
It appears to me that the installer is trying to look for the library files in ./conda/envs/r_env/lib/R/library whilst it is already installed in ./conda/envs/r_env. How may I rectify this issue? (Note: I do not have sudo privileges, but any solutions at this point is helpful!)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用此代码安装
tensorFlow
:之后尝试安装
png
:最后检查 png:
输出:
Use this code to install
tensorFlow
:After that try installing
png
:Finally check png:
Output: