最新版本pycharm打开报错,求助!!!
Tofloor
poster avatar
zhangxianyou1993
deepin
2020-11-24 03:36
Author

The IDE cannot create a temporary file in the directory.
Possible reason: the directory is read-only or the user lacks necessary permissions.

If you have modified the 'idea.system.path' property, please make sure it is correct,
otherwise, please re-install the IDE.

-----
Location: /home/john/.cache/JetBrains/PyCharmCE2020.2
java.nio.file.AccessDeniedException: /home/john/.cache/JetBrains/PyCharmCE2020.2/ij2045169745.tmp


Reply Favorite View the author
All Replies
zhangxianyou1993
deepin
2020-11-24 03:37
#1

求大佬帮忙看看[可怜]

Reply View the author
zhangxianyou1993
deepin
2020-11-24 03:42
#2

卸载重新安装还是一样的,打不开报错

Reply View the author
Feng Yu
deepin
2020-11-24 03:52
#3
sudo chown -R ${USER}:${USER} ~


Reply View the author
zhangxianyou1993
deepin
2020-11-24 04:00
#4
Feng Yu
sudo chown -R ${USER}:${USER} ~


感谢大神,已经好了,啊啊啊。。。。。

有个问题,我之前执行了:     chown -R john:john *

这样改的,为啥不可以呢,就是少了sudo 和~ ,和大佬的命令有啥不同呢?

Reply View the author
心平气和
deepin
2020-11-24 04:01
#5

没权限啊,兄弟,你看下 你的.cache  文件夹的权限 ,不会 ?参考这个文章

https://www.cnblogs.com/luckylele/p/11939046.html

Reply View the author
zhangxianyou1993
deepin
2020-11-24 04:10
#6
心平气和

没权限啊,兄弟,你看下 你的.cache  文件夹的权限 ,不会 ?参考这个文章

https://www.cnblogs.com/luckylele/p/11939046.html

好像不是权限问题,中午直接 chmod 777  *    也是不可以的。。。[悲伤]

Reply View the author
thepoy
deepin
2020-11-24 05:57
#7

Linux新手就别用pycharm了吧,sublime或vscode都比pycharm强

Reply View the author
大白用户
deepin
2020-11-24 16:49
#8
zhangxianyou1993

感谢大神,已经好了,啊啊啊。。。。。

有个问题,我之前执行了:     chown -R john:john *

这样改的,为啥不可以呢,就是少了sudo 和~ ,和大佬的命令有啥不同呢?

chown 是需要root权限执行的 不加sudo权限不够

Reply View the author
大白用户
deepin
2020-11-24 16:49
#9
zhangxianyou1993

好像不是权限问题,中午直接 chmod 777  *    也是不可以的。。。[悲伤]

你应该是缺个-R   递归

Reply View the author
大白用户
deepin
2020-11-24 16:50
#10
zhangxianyou1993

感谢大神,已经好了,啊啊啊。。。。。

有个问题,我之前执行了:     chown -R john:john *

这样改的,为啥不可以呢,就是少了sudo 和~ ,和大佬的命令有啥不同呢?

而且 你这个  chown -R john:john *    这个*只是代表当前目录下  你不一定是在家目录 

Reply View the author