在脚本任务中使用PaddleDetection报错,使用setup.py提示没有权限
收藏
快速回复
AI Studio平台使用 问答Notebook项目 477 0
在脚本任务中使用PaddleDetection报错,使用setup.py提示没有权限
收藏
快速回复
AI Studio平台使用 问答Notebook项目 477 0

你好,我在脚本任务中,想要使用PaddleDetection,但是,在安装依赖,和编译安装PaddleDetection的时候会报错,主要是提示没有权限。报错如下:

执行:pip install -r requirements.txt报错:

WARNING: The directory '/home/aistudio/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.

执行:python setup.py install报错:

error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

[Errno 13] Permission denied: '/usr/local/lib/python3.7/dist-packages/test-easy-install-938.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

/usr/local/lib/python3.7/dist-packages/

执行python setup.py install(ppyoloe-r安装外部算子)报错:

error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

[Errno 13] Permission denied: '/usr/local/lib/python3.7/dist-packages/test-easy-install-951.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

/usr/local/lib/python3.7/dist-packages/

0
收藏
回复
在@后输入用户全名并按空格结束,可艾特全站任一用户