在主目录外的 pycharm 中打开一个项目
Open a project in pycharm outside of home directory
由于 vagrant 的 NFS 在我的加密主目录上出现问题,我将我的项目移到了主目录之外,以便它可以与我的 VM 正确同步。
来自 vagrant 文档:
Encrypted folders: If you have an encrypted disk, then NFS very often
will refuse to export the filesystem. The error message given by NFS
is often not clear. One error message seen is "path does not support
NFS". There is no workaround for this other than sharing a directory
which is not encrypted.
现在,我想在 pycharm 中打开这个项目,但是当我 select 它从 "open project" link 的初始屏幕上打开时,它只是返回启动画面而不打开它。是否需要进行某种配置以允许来自 /home 外部的项目?我在 Ubuntu 16.04.
谢谢
您可以尝试 运行 Pycharm 从具有超级用户权限的命令行执行此操作:
在 Pycharm 中转到 工具 > 创建命令行启动器
在显示的 window 上,定义您希望应用程序创建启动器的路径。
为方便起见,打开您的 ~/.bashrc
文件并在末尾添加以下行:
alias Pycharm="/path/to/pycharm/com-line-executable"
获取您的 .bashrc
文件:source ~/.bashrc
sudo Pycharm
之后,它或许可以让您打开加密文件
由于 vagrant 的 NFS 在我的加密主目录上出现问题,我将我的项目移到了主目录之外,以便它可以与我的 VM 正确同步。
来自 vagrant 文档:
Encrypted folders: If you have an encrypted disk, then NFS very often will refuse to export the filesystem. The error message given by NFS is often not clear. One error message seen is "path does not support NFS". There is no workaround for this other than sharing a directory which is not encrypted.
现在,我想在 pycharm 中打开这个项目,但是当我 select 它从 "open project" link 的初始屏幕上打开时,它只是返回启动画面而不打开它。是否需要进行某种配置以允许来自 /home 外部的项目?我在 Ubuntu 16.04.
谢谢
您可以尝试 运行 Pycharm 从具有超级用户权限的命令行执行此操作:
在 Pycharm 中转到 工具 > 创建命令行启动器
在显示的 window 上,定义您希望应用程序创建启动器的路径。
为方便起见,打开您的
~/.bashrc
文件并在末尾添加以下行:alias Pycharm="/path/to/pycharm/com-line-executable"
获取您的
.bashrc
文件:source ~/.bashrc
sudo Pycharm
之后,它或许可以让您打开加密文件