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

bug(conda): Conda don't have permission to write #4

Open
wanglei4687 opened this issue Dec 30, 2024 · 0 comments
Open

bug(conda): Conda don't have permission to write #4

wanglei4687 opened this issue Dec 30, 2024 · 0 comments
Assignees

Comments

@wanglei4687
Copy link
Owner

(base) ➜  parallel-computer git:(main) conda info 

     active environment : base
    active env location : /home/conda
            shell level : 1
       user config file : /home/vscode/.condarc
 populated config files : /home/conda/.condarc
                          /home/vscode/.condarc
          conda version : 24.11.2
    conda-build version : not installed
         python version : 3.12.8.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=skylake
                          __conda=24.11.2=0
                          __cuda=12.7=0
                          __glibc=2.35=0
                          __linux=5.15.167.4=0
                          __unix=0=0
       base environment : /home/conda  (read only)
      conda av data dir : /home/conda/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/conda/pkgs
                          /home/vscode/.conda/pkgs
       envs directories : /home/vscode/.conda/envs
                          /home/conda/envs
               platform : linux-64
             user-agent : conda/24.11.2 requests/2.32.3 CPython/3.12.8 Linux/5.15.167.4-microsoft-standard-WSL2 ubuntu/22.04.3 glibc/2.35 solver/libmamba conda-libmamba-solver/24.9.0 libmambapy/1.5.11 aau/0.5.0 c/. s/.
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False
(base) ➜  parallel-computer git:(main) ✗ conda install matplotlib
Channels:
 - defaults
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /home/conda

  added / updated specs:
    - matplotlib


The following packages will be SUPERSEDED by a higher-priority channel:

  certifi            conda-forge/noarch::certifi-2024.12.1~ --> pkgs/main/linux-64::certifi-2024.12.14-py312h06a4308_0 
  conda              conda-forge::conda-24.11.2-py312h7900~ --> pkgs/main::conda-24.11.2-py312h06a4308_0 


Proceed ([y]/n)? y


Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: failed

EnvironmentNotWritableError: The current user does not have write permissions to the target environment.
  environment location: /home/conda
  uid: 1000
  gid: 1000

So use pip instead of conda when install packages
屏幕截图 2024-12-31 030654

@wanglei4687 wanglei4687 self-assigned this Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant