conda-forge / conda-forge/miniforge

I get `died with <Signals.SIGKILL: 9>.` when conda init

Open
#254 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
10.2k
Forks
530
PR merge metrics
No merged PRs in 30d

Description

I get below error info when conda init
```
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

Traceback (most recent call last):
File "/Users/xxxxxxx/miniforge3/lib/python3.9/site-packages/conda/exceptions.py", line 1079, in __call__
return func(*args, **kwargs)
File "/Users/xxxxxxx/miniforge3/lib/python3.9/site-packages/conda/cli/main.py", line 84, in _main
exit_code = do_call(args, p)
File "/Users/xxxxxxx/miniforge3/lib/python3.9/site-packages/conda/cli/conda_argparse.py", line 83, in do_call
return getattr(module, func_name)(args, parser)
File "/Users/xxxxxxx/miniforge3/lib/python3.9/site-packages/conda/cli/main_init.py", line 50, in execute
return initialize(context.conda_prefix, selected_shells, for_user, args.system,
File "/Users/xxxxxxx/miniforge3/lib/python3.9/site-packages/conda/core/initialize.py", line 117, in initialize
plan2 = make_initialize_plan(conda_prefix, shells, for_user, for_system,
File "/Users/xxxxxxx/miniforge3/lib/python3.9/site-packages/conda/core/initialize.py", line 437, in make_initialize_plan
plan = make_install_plan(conda_prefix)
File "/Users/xxxxxxx/miniforge3/lib/python3.9/site-packages/conda/core/initialize.py", line 244, in make_install_plan
python_exe, python_version, site_packages_dir = _get_python_info(conda_prefix)
File "/Users/xxxxxxx/miniforge3/lib/python3.9/site-packages/conda/core/initialize.py", line 1693, in _get_python_info
result = subprocess_call("%s --version" % python_exe)
File "/Users/xxxxxxx/miniforge3/lib/python3.9/site-packages/conda/gateways/subprocess.py", line 105, in subprocess_call
raise CalledProcessError(rc, command,
subprocess.CalledProcessError: Command '['/Users/xxxxxxx/miniforge3/bin/python', '--version']' died with .

`$ /Users/xxxxxxx/miniforge3/bin/conda init`

environment variables:
CIO_TEST=
CLASSPATH=/Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home/lib/too
ls.jar:/Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home/
lib/dt.jar:.
CONDA_ROOT=/Users/xxxxxxx/miniforge3
CURL_CA_BUNDLE=
PATH=/Users/xxxxxxx/miniforge3/bin/:/Library/Java/JavaVirtualMachines/j
dk-12.0.2.jdk/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin
:/sbin:.:/usr/locol/mysql/bin:/usr/local/mysql/support-files
REQUESTS_CA_BUNDLE=
SSL_CERT_FILE=

active environment : None
user config file : /Users/xxxxxxx/.condarc
populated config files : /Users/xxxxxxx/miniforge3/.condarc
conda version : 4.10.3
conda-build version : not installed
python version : 3.9.7.final.0
virtual packages : __osx=11.6.1=0
__unix=0=0
__archspec=1=arm64
base environment : /Users/xxxxxxx/miniforge3 (writable)
conda av data dir : /Users/xxxxxxx/miniforge3/etc/conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
https://conda.anaconda.org/conda-forge/noarch
package cache : /Users/xxxxxxx/miniforge3/pkgs
/Users/xxxxxxx/.conda/pkgs
envs directories : /Users/xxxxxxx/miniforge3/envs
/Users/xxxxxxx/.conda/envs
platform : osx-arm64
user-agent : conda/4.10.3 requests/2.26.0 CPython/3.9.7 Darwin/20.6.0 OSX/11.6.1
UID:GID : 610:20
netrc file : None
offline mode : False

An unexpected error has occurred. Conda has prepared the above report.

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]: y
Upload successful.

Thank you for helping to improve conda.
Opt-in to always sending reports (and not see this message again)
by running

$ conda config --set report_errors true
```

Environment: mac book pro m1 2021

```
$ conda info

active environment : None
user config file : /Users/xxxxxx/.condarc
populated config files : /Users/xxxxxx/miniforge3/.condarc
conda version : 4.10.3
conda-build version : not installed
python version : 3.9.7.final.0
virtual packages : __osx=11.6.1=0
__unix=0=0
__archspec=1=arm64
base environment : /Users/xxxxxx/miniforge3 (writable)
conda av data dir : /Users/xxxxxx/miniforge3/etc/conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
https://conda.anaconda.org/conda-forge/noarch
package cache : /Users/xxxxxx/miniforge3/pkgs
/Users/xxxxxx/.conda/pkgs
envs directories : /Users/xxxxxx/miniforge3/envs
/Users/xxxxxx/.conda/envs
platform : osx-arm64
user-agent : conda/4.10.3 requests/2.26.0 CPython/3.9.7 Darwin/20.6.0 OSX/11.6.1
UID:GID : 610:20
netrc file : None
offline mode : False
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.