Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to update conda #160

Open
ATEDUST opened this issue Nov 15, 2022 · 8 comments
Open

Unable to update conda #160

ATEDUST opened this issue Nov 15, 2022 · 8 comments
Labels
enhancement New feature or request

Comments

@ATEDUST
Copy link

ATEDUST commented Nov 15, 2022

I can't update my conda for no premission

@ATEDUST ATEDUST added the enhancement New feature or request label Nov 15, 2022
@icoxfog417
Copy link
Contributor

@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?

@samisouabni
Copy link

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.

@pproe
Copy link

pproe commented Mar 10, 2023

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...

@icoxfog417 icoxfog417 changed the title unable to update conda Unable to update conda Mar 25, 2023
@Sandy4321
Copy link

yes many years issue is too bad
can you fix it asap ?

@MicheleMonclova
Copy link

Hi all, thank you for raising these issues. We will look into this ASAP.

@adalseno
Copy link

adalseno commented Jun 1, 2023

I also hope for an update possibly with libmamba support and a more up-to-date TensorFlow

@tcmaps
Copy link

tcmaps commented Aug 8, 2023

(lib)mamba support would be awesome

@MicheleMonclova
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants