我已经使用Google Cloud上的AI平台设置了GPU Jupyter Notebook VM。服务器运行Debian Stretch。
我想将我创建的名为example
的存储桶安装到名为/home/jupyter/transfer
的文件夹中。我一直遵循here概述的说明,但是运行gsfuse example /home/jupyter/transfer
时出现错误:
ModuleNotFoundError: No module named 'fuse'
我在fuse
上安装了:
sudo apt-get install fuse
成功,但是gsfuse
代码仍然无法运行。然后,我使用以下方法安装了pip软件包:
pip install fuse-python
它仍然不起作用。
有什么想法吗?
答案 0 :(得分:0)
经过反复试验,我设法弄清楚了这一点。问题出在python软件包以及我在哪里安装。
如果您这样做:
sudo apt-get install fuse
pip install -U fusepy --user
gsfuse example /home/jupyter/transfer --background
它将运行(其中--background
)在背景中运行安装。