Liebe Community,
Ich versuche gerade Conda zu installieren.
Ich scheine Conda halb installiert zu haben.
Ich erhalte kein Ergebnis wenn ich
Conda info
eingebe
kann das aber mit
cd anaconda3/ ./_conda info
umgeben.
Ich kann auch ein neues Enviroment erzeugen.
crecoproject@crecoproject-HP-250-G4-Notebook-PC:~/anaconda3$ ./_conda create --name test_environment python=3
Wenn ich ihn versuche zu aktivieren erhalte ich aber
crecoproject@crecoproject-HP-250-G4-Notebook-PC:~/anaconda3$ ./_conda activate test_environment CondaError: Run 'conda init' before 'conda activate'
Wenn ich nun Conda init mache:
crecoproject@crecoproject-HP-250-G4-Notebook-PC:~/anaconda3$ ./_conda init WARNING: Cannot install xonsh wrapper without a python interpreter in prefix: /tmp/_MEIfP8RnR [sudo] Passwort für crecoproject: # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<< Traceback (most recent call last): File "conda/exception_handler.py", line 18, in __call__ File "conda/cli/main.py", line 84, in main_subshell File "conda/cli/conda_argparse.py", line 200, in do_call File "conda/cli/main_init.py", line 162, in execute File "conda/core/initialize.py", line 139, in initialize File "conda/core/initialize.py", line 856, in run_plan_elevated File "conda/gateways/subprocess.py", line 129, in subprocess_call subprocess.CalledProcessError: Command '['sudo', '/home/crecoproject/anaconda3/_conda', '-m', 'conda.core.initialize']' returned non-zero exit status 2. `$ ./_conda init` environment variables: CIO_TEST=<not set> CONDA_ROOT=/tmp/_MEIfP8RnR CURL_CA_BUNDLE=<not set> LD_LIBRARY_PATH=/tmp/_MEIfP8RnR LD_PRELOAD=<not set> PATH=/tmp/_MEI0Zba8J/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin: /sbin:/bin:/usr/games:/usr/local/games:/snap/bin QTWEBENGINE_DICTIONARIES_PATH=/usr/share/hunspell-bdic/ REQUESTS_CA_BUNDLE=<not set> SSL_CERT_FILE=<not set> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 active environment : None user config file : /home/crecoproject/.condarc populated config files : conda version : 24.5.0 conda-build version : not installed python version : 3.11.9.final.0 solver : libmamba (default) virtual packages : __archspec=1=westmere __conda=24.5.0=0 __glibc=2.39=0 __linux=6.8.0=0 __unix=0=0 base environment : /tmp/_MEIfP8RnR (read only) conda av data dir : /tmp/_MEIfP8RnR/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 : /tmp/_MEIfP8RnR/pkgs /home/crecoproject/.conda/pkgs envs directories : /home/crecoproject/.conda/envs /tmp/_MEIfP8RnR/envs platform : linux-64 user-agent : conda/24.5.0 requests/2.32.2 CPython/3.11.9 Linux/6.8.0-41-lowlatency ubuntu/24.04 glibc/2.39 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8 UID:GID : 1000:1000 netrc file : None offline mode : False An unexpected error has occurred. Conda has prepared the above report. If you suspect this error is being caused by a malfunctioning plugin, consider using the --no-plugins option to turn off plugins. Example: conda --no-plugins install <package> Alternatively, you can set the CONDA_NO_PLUGINS environment variable on the command line to run the command without plugins enabled. Example: CONDA_NO_PLUGINS=true conda install <package> If submitted, this report will be used by core maintainers to improve future releases of conda. Would you like conda to send this report to the core maintainers? [y/N]: n No report sent. To permanently opt-out, use $ conda config --set report_errors false