You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solution to issue cannot be found in the documentation.
I checked the documentation.
Issue
Hi. I was referred to here by the Conda team (see my post in there: conda/conda#14438).
I've used the following steps a bunch of times on several machines without issues. This is the first time I've encountered an issue with conda. I've installed miniforge3 via chocolatey by running the following command:
It installs miniforge3 without issues as shown below:
PS C:\Windows\System32> choco install miniforge3 --params="'/InstallationType:AllUsers /AddToPath:1'" --yes --force
Chocolatey v2.4.1
Installing the following packages:
miniforge3
By installing, you accept licenses for the packages.
miniforge3 v24.9.2 already installed. Forcing reinstall of version '24.9.2'.
Please use upgrade if you meant to upgrade to a new version.
Downloading package from source 'https://community.chocolatey.org/api/v2/'
Progress: Downloading miniforge3 24.9.2... 100%
miniforge3 v24.9.2 (forced) [Approved]
miniforge3 package files install completed. Performing other installation steps.
miniforge3 will be installed for all users.
miniforge3 python will be registered as the system's default.
miniforge3 directories will be added to path.
miniforge3 will be installed to 'C:\tools\miniforge3'.
Installing 64-bit miniforge3...
miniforge3 has been installed.
The install of miniforge3 was successful.
Deployed to 'C:\tools\miniforge3'
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
PS C:\Windows\System32>
Then I ran the init function to get it set up on my PowerShell terminal, but then it threw an error:
PS C:\Windows\System32> conda init powershell
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "C:\tools\miniforge3\Lib\site-packages\conda\exception_handler.py", line 18, in __call__
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\tools\miniforge3\Lib\site-packages\conda\cli\main.py", line 61, in main_subshell
exit_code = do_call(args, parser)
^^^^^^^^^^^^^^^^^^^^^
File "C:\tools\miniforge3\Lib\site-packages\conda\cli\conda_argparse.py", line 205, in do_call
result = getattr(module, func_name)(args, parser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\tools\miniforge3\Lib\site-packages\conda\cli\main_init.py", line 162, in execute
return initialize(
^^^^^^^^^^^
File "C:\tools\miniforge3\Lib\site-packages\conda\core\initialize.py", line 134, in initialize
plan2 = make_initialize_plan(
^^^^^^^^^^^^^^^^^^^^^
File "C:\tools\miniforge3\Lib\site-packages\conda\core\initialize.py", line 561, in make_initialize_plan
plan = make_install_plan(conda_prefix)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\tools\miniforge3\Lib\site-packages\conda\core\initialize.py", line 295, in make_install_plan
python_exe, python_version, site_packages_dir = _get_python_info(conda_prefix)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\tools\miniforge3\Lib\site-packages\conda\core\initialize.py", line 1929, in _get_python_info
raise ValueError("No python version information available.")
ValueError: No python version information available.
`$ C:\tools\miniforge3\Scripts\conda-script.py init powershell`
environment variables:
CIO_TEST=<not set>
CONDA_EXE=C:\tools\miniforge3\condabin\..\Scripts\conda.exe
CONDA_EXES="C:\tools\miniforge3\condabin\..\Scripts\conda.exe"
CONDA_ROOT=C:\tools\miniforge3
CURL_CA_BUNDLE=<not set>
HOMEPATH=\Users\MNoriega
LD_PRELOAD=<not set>
PATH=C:\Program Files\Thycotic\Agents\ApplicationControl\x64;C:\Program
Files\Thycotic\Agents\ApplicationControl\x64;C:\Program
Files\PowerShell\7;C:\Program Files\Thycotic\Agents\ApplicationControl
\x64;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\window
s\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Pro
gram Files\PowerShell\7\;C:\Program Files\Microsoft VS
Code\bin;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\too
ls\miniforge3\condabin;C:\Python311\;C:\Python311\Scripts\;C:\Users\MN
oriega\AppData\Local\Microsoft\WindowsApps;
PSMODULEPATH=C:\Users\MNoriega\Documents\PowerShell\Modules;C:\Program
Files\PowerShell\Modules;c:\program
files\powershell\7\Modules;C:\Program Files\WindowsPowerShell\Modules;
C:\windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program
Files\Thycotic\Powershell\
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
active environment : None
user config file : C:\Users\MNoriega\.condarc
populated config files : C:\tools\miniforge3\.condarc
conda version : 24.9.2
conda-build version : not installed
python version : 3.12.7.final.0
solver : libmamba (default)
virtual packages : __archspec=1=skylake
__conda=24.9.2=0
__cuda=12.4=0
__win=0=0
base environment : C:\tools\miniforge3 (writable)
conda av data dir : C:\tools\miniforge3\etc\conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
package cache : C:\tools\miniforge3\pkgs
C:\Users\MNoriega\.conda\pkgs
C:\Users\MNoriega\AppData\Local\conda\conda\pkgs
envs directories : C:\tools\miniforge3\envs
C:\Users\MNoriega\.conda\envs
C:\Users\MNoriega\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/24.9.2 requests/2.32.3 CPython/3.12.7 Windows/11 Windows/10.0.22631 solver/libmamba conda-libmamba-solver/24.9.0 libmambapy/1.5.9
administrator : True
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]: y
Upload did not complete.
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
PS C:\Windows\System32>
It says it cannot find the python version information. I do have Python 3.11 installed as shown below:
Solution to issue cannot be found in the documentation.
Issue
Hi. I was referred to here by the Conda team (see my post in there: conda/conda#14438).
I've used the following steps a bunch of times on several machines without issues. This is the first time I've encountered an issue with conda. I've installed miniforge3 via chocolatey by running the following command:
It installs miniforge3 without issues as shown below:
Then I ran the init function to get it set up on my PowerShell terminal, but then it threw an error:
It says it cannot find the python version information. I do have Python 3.11 installed as shown below:
What can I do to get this issue resolved?
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: