conda使用错误的urls.txt路径
当前试图使用conda Create -name< env_name>
创建新的conda环境。 我正在在我已经进入的Linux服务器上制作此环境,并且该服务器上的用户在目录/home/<用户名中安装了Anaconda。
当我尝试创建conda环境时,我会发现错误:
NotWritableError: The current user does not have write permissions to a required path.
path: /Users/<personal_username>/anaconda3/pkgs/urls.txt
uid: 1004
gid: 1004
If you feel that permissions on this path are set incorrectly, you can manually
change them by executing
$ sudo chown 1004:1004 /Users/<personal_username>/anaconda3/pkgs/urls.txt
In general, it's not advisable to use 'sudo conda'.
我注意到的问题是,错误消息中的用户名与我的个人计算机上的用户名相对应,而不是在Linux服务器上。如何更改它使用的路径,以便使用Linux服务器上的路径而不是我的个人计算机上的路径?
如果我能提供任何其他有用的信息,请告诉我。
编辑:在我的个人计算机上的目录上,目录/users/&lt; personal_username&gt;/anaconda3
不存在。
Currently trying to create a new conda environment using conda create --name <env_name>
.
I am making this environment on a linux server that I have ssh'ed into, and my user on that server has anaconda installed in the directory /home/<username>/
.
When I try to create the conda environment, I get the error:
NotWritableError: The current user does not have write permissions to a required path.
path: /Users/<personal_username>/anaconda3/pkgs/urls.txt
uid: 1004
gid: 1004
If you feel that permissions on this path are set incorrectly, you can manually
change them by executing
$ sudo chown 1004:1004 /Users/<personal_username>/anaconda3/pkgs/urls.txt
In general, it's not advisable to use 'sudo conda'.
The issue I've noted is that the username in the error message corresponds to my username on my personal computer instead of on the linux server. How can I change what path it uses so it uses the path on the linux server instead of the one on my personal computer?
If I can provide any other helpful information let me know.
Edit: On the directories on my personal computer, the directory /Users/<personal_username>/anaconda3
does not exist.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论