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

installation error on Hanke group local cluster #122

Open
zhao-cy opened this issue Jul 24, 2023 · 0 comments
Open

installation error on Hanke group local cluster #122

zhao-cy opened this issue Jul 24, 2023 · 0 comments

Comments

@zhao-cy
Copy link
Collaborator

zhao-cy commented Jul 24, 2023

Felix Hoffstaedter @FeHoff has trouble installing BABS on their local cluster (not a HPC cluster). It seems python 3.9.15.final.0 or 3.11 did not work and had the same error messages (below).

❯ conda info

     active environment : babs
    active env location : /home/fhoffstaedter/miniconda3/envs/babs
            shell level : 2
       user config file : /home/fhoffstaedter/.condarc
 populated config files : /home/fhoffstaedter/.condarc
          conda version : 22.11.1
    conda-build version : not installed
         python version : 3.9.15.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.36=0
                          __linux=6.1.0=0
                          __unix=0=0
       base environment : /home/fhoffstaedter/miniconda3  (writable)
      conda av data dir : /home/fhoffstaedter/miniconda3/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/fhoffstaedter/miniconda3/pkgs
                          /home/fhoffstaedter/.conda/pkgs
       envs directories : /home/fhoffstaedter/miniconda3/envs
                          /home/fhoffstaedter/.conda/envs
               platform : linux-64
             user-agent : conda/22.11.1 requests/2.28.1 CPython/3.9.15 Linux/6.1.0-10-amd64 debian/12 glibc/2.36
                UID:GID : 38602:3104
             netrc file : None
           offline mode : False


❯ pip install babs
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

Note that their local cluster was extensively upgraded around a month ago. Felix will also ask Alex Waite to help debugging. I'll ask Matt too.

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