UserErrorException:UserErrorException:

2024-09-23 22:30:03 发布

您现在位置:Python中文网/ 问答频道 /正文

当前,当我运行以下代码时,我正在使用azure ml:

file_dataset =  Dataset.get_by_name(workspace=ws, name='voice_recognition_expreimnt')
mounted_dataset = file_dataset.mount() 

我得到了这个错误:

UserErrorException: UserErrorException:
    Message: Mount is only supported on Unix or Unix-like operating systems and the FUSE library must be present. For more information, please refer to the remarks section of FileDataset.mount's documentation. Execution failedunexpectedly due to OSError
    InnerException None
    ErrorResponse 
{
    "error": {
        "code": "UserError",
        "message": "Mount is only supported on Unix or Unix-like operating systems and the FUSE library must be present. For more information, please refer to the remarks section of FileDataset.mount's documentation. Execution failedunexpectedly due to OSError"
    }
}

我正在使用说明:Ubuntu 20.04 LTS。我还通过运行以下命令安装BlobBuse:

1 wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
2 sudo dpkg -i packages-microsoft-prod.deb
3 sudo apt-get update
4 sudo apt-get install blobfuse

谁能告诉我这里有什么问题吗


Tags: thetonameonlygetispackagessudo
1条回答
网友
1楼 · 发布于 2024-09-23 22:30:03

我们并不正式支持Ubuntu20。作为一种解决方法,您可以按照.NET Core官方指南安装.NET Core 2.1。让我们知道它是否解决了您的问题。谢谢

apt install curl wget
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
apt update
apt install -y dotnet-runtime-2.1

相关问题 更多 >