我收到此错误sudo apt install ubuntu-make
(安装成功,但这样做时会引发此错误)
/usr/lib/python3/dist-packages/umake/frameworks/ide.py:99: SyntaxWarning: "is" with a literal. Did you mean "=="?
然后,当尝试安装时,例如,idea-ultimate,我得到这个:
/usr/lib/python3/dist-packages/umake/tools.py:92: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
self._config = yaml.load(f)
当安装即将完成时:
ERROR: Unhandled exception # |
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/umake/tools.py", line 158, in wrapper
function(*args, **kwargs)
File "/usr/lib/python3/dist-packages/umake/frameworks/baseinstaller.py", line 457, in decompress_and_install_done
add_exec_link(self.exec_path, self.exec_link_name)
File "/usr/lib/python3/dist-packages/umake/tools.py", line 343, in add_exec_link
add_env_to_user("Ubuntu Make binary symlink", {"PATH": {"value": bin_folder}})
File "/usr/lib/python3/dist-packages/umake/tools.py", line 439, in add_env_to_user
remove_framework_envs_from_user(framework_tag)
File "/usr/lib/python3/dist-packages/umake/tools.py", line 423, in remove_framework_envs_from_user
with open(profile_filepath + ".new", "w", encoding='utf-8') as f:
PermissionError: [Errno 13] Permission denied: '/home/jasper/.profile.new'
usermod
. (提到这一点是因为 umake 提示我在我的旧home/jasper-ubuntu
目录中安装idea-ultimate (现在是home/jasper
)rm -rf /home/jasper/anaconda3
)Anaconda3。(python -V
返回Python 3.8.6
,然后python2 -V
返回Python 2.7.18
.我已经尝试了基本的故障排除,比如删除 umake 和重新安装,但我根本不想接触 python,因为我很可能会把它搞砸。
提前致谢。
我建议使用JetBrains Toolbox 进行安装。这也将确保您有一种简单的方法来更新或卸载 IDE。
如果失败,请让我知道作为评论。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句