为了安装greta包,我需要首先安装tensorflow概率。Tensorflow和Python3.7已经安装了Anaconda。
当我在R:reticulate::conda_install("r-tensorflow", "tensorflow-probability", pip = TRUE)中尝试以下命令时,会得到以下命令:
Could not install packages due to an EnvironmentError: [WinError 5] Access is denied:
'C:\\Users\\PHILTE~1\\ANACON~1\\envs\\r-tensorflow\\Lib\\site-packages\\numpy\\core\\multiarray.cp36-win_amd64.pyd'
Consider using the `--user` option or check the permissions.我有我的笔记本电脑的管理权限,所以我不知道为什么我会被拒绝访问。但是如何在--user命令中添加reticulate命令呢?
发布于 2018-12-28 04:38:35
这个网页为我解决了所有问题:http://preposterior.updog.co/november-8-2018-getting-your-computing-environment-ready-for-greta.html#november-8-2018-getting-your-computing-environment-ready-for-greta
步骤:
conda activate r-tensorflow
pip install --no-dependencies tensorflow-probability==0.4.0
conda install tensorflow=1.11
pip install h5py pyyaml requests Pillow scipy
greta包。发布于 2022-03-08 03:00:53
https://stackoverflow.com/questions/53953646
复制相似问题