问题描述
当我将项目从JupyterHub推送到GitHub存储库时,我将研究此权限被拒绝的错误。我有一个 requirements.txt ,它指定需要将python软件包安装到环境中。我还有一个 workspace_dockerfile 来运行docker命令来构建映像。
-
[91mERROR conda.core.link:_execute(700):卸载软件包
'conda-forge/linux-64::conda-4.9.0-py37he5f6b98_1'
时发生错误。 -
[0m回滚事务:...正在执行...已完成
-
[91m
-
[Errno 13]权限被拒绝:
'/opt/conda/lib/python3.7/site-packages/conda-4.9.0-py3.7.egg-info/PKG-INFO'
->'/opt/conda/lib/python3.7/site-packages/conda-4.9.0-py3.7.egg-info/PKG-INFO.c~'
() -
[0m命令
'/bin/sh -c conda install --file /tmp/requirements.txt'
返回了一个非零代码:1 -
无法构建课程dockerfile。
我可以在https://anaconda.org/conda-forge/conda/files处找到conda-4.9.0-py37he5f6b98_1
文件。我不确定这些信息是否有助于让我知道我应该对Requirements.txt和workspace_dockerfile进行哪些更改。
问题:
详细信息:
The following packages will be DOWNGRADED:
conda 4.9.0-py37he5f6b98_1 --> 4.7.11-py37_0
Proceed ([y]/n)?
Downloading and Extracting Packages
gxx_impl_linux-64-7. | 15.0 MB | | 0%
gxx_impl_linux-64-7. | 15.0 MB | ######7 | 68%
gxx_impl_linux-64-7. | 15.0 MB | ########## | 100%
gxx_impl_linux-64-7. | 15.0 MB | ########## | 100%
jupyterlab-2.2.9 | 5.9 MB | | 0%
jupyterlab-2.2.9 | 5.9 MB | ########1 | 82%
jupyterlab-2.2.9 | 5.9 MB | ########## | 100%
fastprogress-1.0.0 | 15 KB | | 0%
fastprogress-1.0.0 | 15 KB | ########## | 100%
cftime-1.2.1 | 279 KB | | 0%
cftime-1.2.1 | 279 KB | ########## | 100%
pygpu-0.7.6 | 654 KB | | 0%
pygpu-0.7.6 | 654 KB | ########## | 100%
pygpu-0.7.6 | 654 KB | ########## | 100%
imagecodecs-lite-201 | 189 KB | | 0%
imagecodecs-lite-201 | 189 KB | ########## | 100%
bokeh-2.1.1 | 6.9 MB | | 0%
bokeh-2.1.1 | 6.9 MB | ########## | 100%
bokeh-2.1.1 | 6.9 MB | ########## | 100%
jupyterhub-1.1.0 | 5 KB | | 0%
jupyterhub-1.1.0 | 5 KB | ########## | 100%
jupyterhub-1.1.0 | 5 KB | ########## | 100%
matplotlib-3.1.1 | 6 KB | | 0%
matplotlib-3.1.1 | 6 KB | ########## | 100%
urllib3-1.25.11 | 93 KB | | 0%
urllib3-1.25.11 | 93 KB | ########## | 100%
jupyterhub-base-1.1. | 1.8 MB | | 0%
jupyterhub-base-1.1. | 1.8 MB | | 1%
jupyterhub-base-1.1. | 1.8 MB | ########## | 100%
jupyterhub-base-1.1. | 1.8 MB | ########## | 100%
gcc_linux-64-7.3.0 | 22 KB | | 0%
gcc_linux-64-7.3.0 | 22 KB | ########## | 100%
scikit-image-0.17.2 | 10.8 MB | | 0%
scikit-image-0.17.2 | 10.8 MB | ########## | 100%
scikit-image-0.17.2 | 10.8 MB | ########## | 100%
xarray-0.16.1 | 529 KB | | 0%
xarray-0.16.1 | 529 KB | ########## | 100%
xarray-0.16.1 | 529 KB | ########## | 100%
hdf4-4.2.13 | 964 KB | | 0%
hdf4-4.2.13 | 964 KB | ########## | 100%
hdf4-4.2.13 | 964 KB | ########## | 100%
ipython-7.19.0 | 1.1 MB | | 0%
ipython-7.19.0 | 1.1 MB | ########## | 100%
ipython-7.19.0 | 1.1 MB | ########## | 100%
arviz-0.10.0 | 1.3 MB | | 0%
arviz-0.10.0 | 1.3 MB | ########## | 100%
arviz-0.10.0 | 1.3 MB | ########## | 100%
ld_impl_linux-64-2.3 | 616 KB | | 0%
ld_impl_linux-64-2.3 | 616 KB | ########## | 100%
ld_impl_linux-64-2.3 | 616 KB | ########## | 100%
tifffile-2020.6.3 | 109 KB | | 0%
tifffile-2020.6.3 | 109 KB | ########## | 100%
python-json-logger-2 | 10 KB | | 0%
python-json-logger-2 | 10 KB | ########## | 100%
statsmodels-0.12.1 | 11.0 MB | | 0%
statsmodels-0.12.1 | 11.0 MB | ####9 | 49%
statsmodels-0.12.1 | 11.0 MB | ########## | 100%
statsmodels-0.12.1 | 11.0 MB | ########## | 100%
pymc3-3.9.3 | 1.3 MB | | 0%
pymc3-3.9.3 | 1.3 MB | ########## | 100%
pymc3-3.9.3 | 1.3 MB | ########## | 100%
libgpuarray-0.7.6 | 263 KB | | 0%
libgpuarray-0.7.6 | 263 KB | ########## | 100%
curl-7.65.3 | 132 KB | | 0%
curl-7.65.3 | 132 KB | ########## | 100%
netcdf4-1.5.3 | 546 KB | | 0%
netcdf4-1.5.3 | 546 KB | ########## | 100%
binutils_impl_linux- | 9.2 MB | | 0%
binutils_impl_linux- | 9.2 MB | #######5 | 75%
binutils_impl_linux- | 9.2 MB | ########## | 100%
binutils_impl_linux- | 9.2 MB | ########## | 100%
pandas-1.1.4 | 10.5 MB | | 0%
pandas-1.1.4 | 10.5 MB | ########## | 100%
pandas-1.1.4 | 10.5 MB | ########## | 100%
prompt-toolkit-3.0.5 | 232 KB | | 0%
prompt-toolkit-3.0.5 | 232 KB | ########## | 100%
gxx_linux-64-7.3.0 | 21 KB | | 0%
gxx_linux-64-7.3.0 | 21 KB | ########## | 100%
nose-1.3.7 | 118 KB | | 0%
nose-1.3.7 | 118 KB | ########## | 100%
binutils_linux-64-2. | 21 KB | | 0%
binutils_linux-64-2. | 21 KB | ########## | 100%
jupyter_client-5.3.4 | 131 KB | | 0%
jupyter_client-5.3.4 | 131 KB | ########## | 100%
scikit-learn-0.23.2 | 6.9 MB | | 0%
scikit-learn-0.23.2 | 6.9 MB | ########## | 100%
scikit-learn-0.23.2 | 6.9 MB | ########## | 100%
seaborn-base-0.11.0 | 216 KB | | 0%
seaborn-base-0.11.0 | 216 KB | ########## | 100%
ruamel.yaml.clib-0.2 | 156 KB | | 0%
ruamel.yaml.clib-0.2 | 156 KB | ########## | 100%
seaborn-0.11.0 | 4 KB | | 0%
seaborn-0.11.0 | 4 KB | ########## | 100%
scipy-1.5.2 | 18.5 MB | | 0%
scipy-1.5.2 | 18.5 MB | ####9 | 50%
scipy-1.5.2 | 18.5 MB | ########## | 100%
scipy-1.5.2 | 18.5 MB | ########## | 100%
ipykernel-5.3.4 | 166 KB | | 0%
ipykernel-5.3.4 | 166 KB | ########## | 100%
jupyter_console-6.2. | 22 KB | | 0%
jupyter_console-6.2. | 22 KB | ########## | 100%
jupyterlab_server-1. | 25 KB | | 0%
jupyterlab_server-1. | 25 KB | ########## | 100%
jupyter_telemetry-0. | 8 KB | | 0%
jupyter_telemetry-0. | 8 KB | ########## | 100%
libnetcdf-4.7.4 | 1.3 MB | | 0%
libnetcdf-4.7.4 | 1.3 MB | ########## | 100%
libnetcdf-4.7.4 | 1.3 MB | ########## | 100%
brotlipy-0.7.0 | 346 KB | | 0%
brotlipy-0.7.0 | 346 KB | ########## | 100%
theano-1.0.5 | 3.7 MB | | 0%
theano-1.0.5 | 3.7 MB | ########## | 100%
theano-1.0.5 | 3.7 MB | ########## | 100%
threadpoolctl-2.1.0 | 15 KB | | 0%
threadpoolctl-2.1.0 | 15 KB | ########## | 100%
numpy-1.19.2 | 5.2 MB | | 0%
numpy-1.19.2 | 5.2 MB | #######5 | 76%
numpy-1.19.2 | 5.2 MB | ########## | 100%
numpy-1.19.2 | 5.2 MB | ########## | 100%
gcc_impl_linux-64-7. | 41.9 MB | | 0%
gcc_impl_linux-64-7. | 41.9 MB | ### | 31%
gcc_impl_linux-64-7. | 41.9 MB | #####9 | 59%
gcc_impl_linux-64-7. | 41.9 MB | ########## | 100%
gcc_impl_linux-64-7. | 41.9 MB | ########## | 100%
ruamel.yaml-0.16.12 | 166 KB | | 0%
ruamel.yaml-0.16.12 | 166 KB | ########## | 100%
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
[91mERROR conda.core.link:_execute(700): An error occurred while uninstalling package 'conda-forge/linux-64::conda-4.9.0-py37he5f6b98_1'.
[0mRolling back transaction: ...working... done
[91m
[Errno 13] Permission denied: '/opt/conda/lib/python3.7/site-packages/conda-4.9.0-py3.7.egg-info/PKG-INFO' -> '/opt/conda/lib/python3.7/site-packages/conda-4.9.0-py3.7.egg-info/PKG-INFO.c~'
()
[0mThe command '/bin/sh -c conda install --file /tmp/requirements.txt' returned a non-zero code: 1
Failed to build course dockerfile.
非常感谢您!希望很快见到你。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)