Open ATEDUST opened 1 year ago
@ATEDUST , thank you for let us know your issue. As /opt/conda (read only)
suggests, we can not update conda
. conda update --name base conda
raise a EnvironmentNotWritableError
.
(studiolab) studio-lab-user@default:~$ conda info
active environment : studiolab
active env location : /home/studio-lab-user/.conda/envs/studiolab
shell level : 1
user config file : /home/studio-lab-user/.condarc
populated config files : /etc/conda/.condarc
/opt/conda/.condarc
conda version : 4.10.3
conda-build version : not installed
python version : 3.9.7.final.0
virtual packages : __linux=4.14.294=0
__glibc=2.31=0
__unix=0=0
__archspec=1=x86_64
base environment : /opt/conda (read only)
conda av data dir : /opt/conda/etc/conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
package cache : /home/studio-lab-user/.conda/pkgs
/opt/conda/pkgs
envs directories : /home/studio-lab-user/.conda/envs
/opt/conda/envs
/opt/amazon/sagemaker/safemode-home/.conda/envs
platform : linux-64
user-agent : conda/4.10.3 requests/2.26.0 CPython/3.9.7 Linux/4.14.294-220.533.amzn2.x86_64 ubuntu/20.04.3 glibc/2.31
UID:GID : 1000:100
netrc file : None
offline mode : False
Could you please share with us the background that why you need to update the conda
?
I'm going to jump in and answer that question, if you don't mind, as I have come across a similar issue updating conda within a AWS Sagemaker Notebook Instance - I was trying to update Conda as 4.10.3 was released on 2021-06-29, whereas the latest version 23.1.0 was released on 2023-01-17.
According to the release notes there are quite a few changes between these versions, and so I would quite like to run the most up to date version, so as to avoid unnecessarily being affected by any bugs. Furthermore, I believe it to be good practice from a security perspective to be running the latest version of software, so as to benefit from any security patches that may have been implemented.
Are there any future plans from the AWS team regarding this issue? Having the default install of conda be almost 2 years out of date is pretty bad but also installing it under the root user (which goes against anacondas recommendation btw) so there is no option for us to update it ourselves if needed makes it a bit worse.
While you're at it, it doesn't look like there is any support for AWS-CLI v2 (please correct me if I'm wrong) yet. Not sure why it isn't the standard in this relatively new platform considering it was released 3 years ago today...
yes many years issue is too bad can you fix it asap ?
Hi all, thank you for raising these issues. We will look into this ASAP.
I also hope for an update possibly with libmamba support and a more up-to-date TensorFlow
(lib)mamba support would be awesome
Hi all. We recently released a new 'Distribution Env' that should solve several of the problems in this thread. See notification here: https://aws.amazon.com/about-aws/whats-new/2023/08/amazon-sagemaker-studio-lab-supports-sagemaker-distribution/. This new env comes with the new version of Conda. And the documentation for this can be found here: https://docs.aws.amazon.com/sagemaker/latest/dg/studio-lab-environments.html
I can't update my conda for no premission