Closed paskino closed 5 years ago
Permission denied - conda-build should have write permission - e.g. use sudo or chown -R vagrant:vagrant /opt/ccpi
it seems it doesn't want to uninstall a package (itself) An error occurred while uninstalling package 'conda-forge::conda-4.5.11-py35_0'
It does work in another environment.
Following the output of conda info
. I see base environment : /opt/ccpi (read only)
may be the problem?
active environment : py3
active env location : /opt/ccpi/envs/py3
shell level : 1
user config file : /home/vagrant/.condarc
populated config files :
conda version : 4.5.11
conda-build version : not installed
python version : 3.7.0.final.0
base environment : /opt/ccpi (read only)
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/linux-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/pro/linux-64
https://repo.anaconda.com/pkgs/pro/noarch
package cache : /opt/ccpi/pkgs
/home/vagrant/.conda/pkgs
envs directories : /home/vagrant/.conda/envs
/opt/ccpi/envs
platform : linux-64
user-agent : conda/4.5.11 requests/2.19.1 CPython/3.7.0 Linux/3.10.0-862.11.6.el7.x86_64 rhel/7.5 glibc/2.17
UID:GID : 1000:1000
netrc file : None
offline mode : False
fixed. During installation script run by root. After installation /opt/ccpi ownership set to vagrant user.
the command to install
conda-build
fails with