conda-forge / miniforge

A conda-forge distribution.
https://conda-forge.org/miniforge
Other
5.75k stars 305 forks source link

Cannot open include file: 'io.h': No such file or directory, psutil_windows not found #558

Closed GrigoriiTarasov closed 4 months ago

GrigoriiTarasov commented 4 months ago

Solution to issue cannot be found in the documentation.

Issue

Can't start any kernel

  File "C:\ProgramData\miniforge-pypy3\lib\site-packages\psutil\__init__.py", line 109, in <module>
    from . import _pswindows as _psplatform
  File "C:\ProgramData\miniforge-pypy3\lib\site-packages\psutil\_pswindows.py", line 35, in <module>
    from ._psutil_windows import ABOVE_NORMAL_PRIORITY_CLASS
ModuleNotFoundError: No module named 'psutil._psutil_windows'

During the try to resolve

pip install --upgrade psutil

creating build\temp.win-amd64-pypy39\Release\psutil\arch\windows
      "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=598 -DPSUTIL_WINDOWS=1 -D_WIN32_WINNT=0x0602 -D_AVAIL_WINVER_=0x0602 -D_CRT_SECURE_NO_WARNINGS -DPSAPI_VERSION=1 -IC:\ProgramData\miniforge-pypy3\include -IC:\ProgramData\miniforge-pypy3\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcpsutil/_psutil_common.c /Fobuild\temp.win-amd64-pypy39\Release\psutil/_psutil_common.obj
      _psutil_common.c
      C:\ProgramData\miniforge-pypy3\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for psutil

Installed packages

anyio                     4.2.0            py39haa95532_0
archspec                  0.2.2              pyhd8ed1ab_0    conda-forge
argon2-cffi               21.3.0             pyhd3eb1b0_0
argon2-cffi-bindings      21.2.0           py39h2bbff1b_0
arrow                     1.3.0                    pypi_0    pypi
asttokens                 2.0.5              pyhd3eb1b0_0
async-lru                 2.0.4            py39haa95532_0
attrs                     23.1.0           py39haa95532_0
babel                     2.11.0           py39haa95532_0
backcall                  0.2.0              pyhd3eb1b0_0
beautifulsoup4            4.12.2           py39haa95532_0
bleach                    4.1.0              pyhd3eb1b0_0
boltons                   23.1.1             pyhd8ed1ab_0    conda-forge
brotli-python             1.1.0            py39h3665ca7_1    conda-forge
bzip2                     1.0.8                hcfcfb64_5    conda-forge
ca-certificates           2023.12.12           haa95532_0
certifi                   2024.2.2         py39haa95532_0
cffi                      1.16.0           py39h7a188e9_0    conda-forge
charset-normalizer        3.3.2              pyhd8ed1ab_0    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
comm                      0.1.2            py39haa95532_0
conda                     23.11.0          py39h0d475fb_1    conda-forge
conda-libmamba-solver     23.12.0            pyhd8ed1ab_0    conda-forge
conda-package-handling    2.2.0              pyh38be061_0    conda-forge
conda-package-streaming   0.9.0              pyhd8ed1ab_0    conda-forge
debugpy                   1.6.7            py39hd77b12b_0
decorator                 5.1.1              pyhd3eb1b0_0
defusedxml                0.7.1              pyhd3eb1b0_0
distro                    1.8.0              pyhd8ed1ab_0    conda-forge
entrypoints               0.4              py39haa95532_0
exceptiongroup            1.2.0            py39haa95532_0
executing                 0.8.3              pyhd3eb1b0_0
expat                     2.5.0                h63175ca_1    conda-forge
fmt                       10.1.1               h181d51b_1    conda-forge
fqdn                      1.5.1                    pypi_0    pypi
idna                      3.6                pyhd8ed1ab_0    conda-forge
importlib-metadata        7.0.1            py39haa95532_0
ipykernel                 6.28.0           py39haa95532_0
ipython                   8.15.0           py39haa95532_0
ipython_genutils          0.2.0              pyhd3eb1b0_1
isoduration               20.11.0                  pypi_0    pypi
jedi                      0.18.1           py39haa95532_1
jinja2                    3.1.3            py39haa95532_0
json5                     0.9.6              pyhd3eb1b0_0
jsonpatch                 1.33               pyhd8ed1ab_0    conda-forge
jsonpointer               2.4              py39h0d475fb_3    conda-forge
jsonschema                4.17.3           py39haa95532_0
jsonschema-specifications 2023.7.1         py39haa95532_0
jupyter-lsp               2.2.0            py39haa95532_0
jupyter_client            7.4.9            py39haa95532_0
jupyter_core              5.5.0            py39haa95532_0
jupyter_events            0.6.3            py39haa95532_0
jupyter_server            2.10.0           py39haa95532_0
jupyter_server_terminals  0.4.4            py39haa95532_1
jupyterlab                4.0.11           py39haa95532_0
jupyterlab-lsp            5.0.3                    pypi_0    pypi
jupyterlab_pygments       0.1.2                      py_0
jupyterlab_server         2.22.0           py39haa95532_0
krb5                      1.21.2               heb0366b_0    conda-forge
libarchive                3.7.2                h313118b_1    conda-forge
libcurl                   8.5.0                hd5e4a3a_0    conda-forge
libexpat                  2.5.0                h63175ca_1    conda-forge
libffi                    3.4.2                h8ffe710_5    conda-forge
libiconv                  1.17                 hcfcfb64_2    conda-forge
libmamba                  1.5.5                h3f09ed1_0    conda-forge
libmambapy                1.5.5            py39h993ce4e_0    conda-forge
libsodium                 1.0.18               h62dcd97_0
libsolv                   0.7.27               h12be248_0    conda-forge
libsqlite                 3.44.2               hcfcfb64_0    conda-forge
libssh2                   1.11.0               h7dfc565_0    conda-forge
libxml2                   2.12.3               hc3477c8_0    conda-forge
libzlib                   1.2.13               hcfcfb64_5    conda-forge
lz4-c                     1.9.4                hcfcfb64_0    conda-forge
lzo                       2.10              he774522_1000    conda-forge
mamba                     1.5.5            py39h749ce95_0    conda-forge
markupsafe                2.1.3            py39h2bbff1b_0
matplotlib-inline         0.1.6            py39haa95532_0
menuinst                  2.0.1            py39h3665ca7_0    conda-forge
miniforge_console_shortcut 1.0                  h57928b3_0    conda-forge
mistune                   2.0.4            py39haa95532_0
nb_conda_kernels          2.3.1            py39haa95532_0
nbclassic                 1.0.0            py39haa95532_0
nbclient                  0.8.0            py39haa95532_0
nbconvert                 7.10.0           py39haa95532_0
nbformat                  5.9.2            py39haa95532_0
nest-asyncio              1.6.0            py39haa95532_0
notebook                  6.5.4            py39haa95532_1
notebook-shim             0.2.3            py39haa95532_0
openssl                   3.2.1                hcfcfb64_0    conda-forge
overrides                 7.4.0            py39haa95532_0
packaging                 23.2               pyhd8ed1ab_0    conda-forge
pandocfilters             1.5.0              pyhd3eb1b0_0
parso                     0.8.3              pyhd3eb1b0_0
pickleshare               0.7.5           pyhd3eb1b0_1003
pip                       23.3.2             pyhd8ed1ab_0    conda-forge
platformdirs              4.1.0              pyhd8ed1ab_0    conda-forge
pluggy                    1.3.0              pyhd8ed1ab_0    conda-forge
prometheus_client         0.14.1           py39haa95532_0
prompt-toolkit            3.0.43           py39haa95532_0
psutil                    5.9.0            py39h2bbff1b_0
pure_eval                 0.2.2              pyhd3eb1b0_0
py                        1.11.0             pyhd3eb1b0_0
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycosat                   0.6.6            py39h7a188e9_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pygments                  2.15.1           py39haa95532_1
pypy3.9                   7.3.13               h994e1e7_1    conda-forge
pyrsistent                0.20.0           py39h2bbff1b_0
pysocks                   1.7.1              pyh0701188_6    conda-forge
python                    3.9.18                0_73_pypy    conda-forge
python-dateutil           2.8.2              pyhd3eb1b0_0
python-fastjsonschema     2.16.2           py39haa95532_0
python-json-logger        2.0.7            py39haa95532_0
python_abi                3.9               4_pypy39_pp73    conda-forge
pytz                      2023.3.post1     py39haa95532_0
pywin32                   305              py39h2bbff1b_0
pywinpty                  2.0.10           py39h5da7b33_0
pyyaml                    6.0.1            py39h2bbff1b_0
pyzmq                     24.0.1           py39hc8fc7ba_1    conda-forge
referencing               0.30.2           py39haa95532_0
reproc                    14.2.4.post0         hcfcfb64_1    conda-forge
reproc-cpp                14.2.4.post0         h63175ca_1    conda-forge
requests                  2.31.0             pyhd8ed1ab_0    conda-forge
rfc3339-validator         0.1.4            py39haa95532_0
rfc3986-validator         0.1.1            py39haa95532_0
rpds-py                   0.10.6           py39h062c2fa_0
ruamel.yaml               0.18.5           py39h7a188e9_0    conda-forge
ruamel.yaml.clib          0.2.7            py39h7a188e9_2    conda-forge
send2trash                1.8.2            py39haa95532_0
setuptools                68.2.2             pyhd8ed1ab_0    conda-forge
six                       1.16.0             pyhd3eb1b0_1
sniffio                   1.3.0            py39haa95532_0
soupsieve                 2.5              py39haa95532_0
sqlite                    3.44.2               hcfcfb64_0    conda-forge
stack_data                0.2.0              pyhd3eb1b0_0
terminado                 0.17.1           py39haa95532_0
tinycss2                  1.2.1            py39haa95532_0
tk                        8.6.13               h5226925_1    conda-forge
tomli                     2.0.1            py39haa95532_0
tornado                   6.2              py39h2bbff1b_0
tqdm                      4.66.1             pyhd8ed1ab_0    conda-forge
traitlets                 5.7.1            py39haa95532_0
types-python-dateutil     2.8.19.20240106          pypi_0    pypi
typing-extensions         4.9.0            py39haa95532_1
typing_extensions         4.9.0            py39haa95532_1
tzdata                    2023c                h71feb2d_0    conda-forge
ucrt                      10.0.22621.0         h57928b3_0    conda-forge
uri-template              1.3.0                    pypi_0    pypi
urllib3                   2.1.0              pyhd8ed1ab_0    conda-forge
vc                        14.3                hcf57466_18    conda-forge
vc14_runtime              14.38.33130         h82b7239_18    conda-forge
vs2015_runtime            14.38.33130         hcb4865c_18    conda-forge
wcwidth                   0.2.5              pyhd3eb1b0_0
webcolors                 1.13                     pypi_0    pypi
webencodings              0.5.1            py39haa95532_1
websocket-client          0.58.0           py39haa95532_4
wheel                     0.42.0             pyhd8ed1ab_0    conda-forge
win_inet_pton             1.1.0              pyhd8ed1ab_6    conda-forge
winpty                    0.4.3                         4
xz                        5.2.6                h8d14728_0    conda-forge
yaml                      0.2.5                he774522_0
yaml-cpp                  0.8.0                h63175ca_0    conda-forge
zeromq                    4.3.4                hd77b12b_0
zipp                      3.17.0           py39haa95532_0
zlib                      1.2.13               hcfcfb64_5    conda-forge
zstandard                 0.22.0           py39hdf01746_0    conda-forge
zstd                      1.5.5                h12be248_0    conda-forge

Environment info

anyio                     4.2.0            py39haa95532_0
archspec                  0.2.2              pyhd8ed1ab_0    conda-forge
argon2-cffi               21.3.0             pyhd3eb1b0_0
argon2-cffi-bindings      21.2.0           py39h2bbff1b_0
arrow                     1.3.0                    pypi_0    pypi
asttokens                 2.0.5              pyhd3eb1b0_0
async-lru                 2.0.4            py39haa95532_0
attrs                     23.1.0           py39haa95532_0
babel                     2.11.0           py39haa95532_0
backcall                  0.2.0              pyhd3eb1b0_0
beautifulsoup4            4.12.2           py39haa95532_0
bleach                    4.1.0              pyhd3eb1b0_0
boltons                   23.1.1             pyhd8ed1ab_0    conda-forge
brotli-python             1.1.0            py39h3665ca7_1    conda-forge
bzip2                     1.0.8                hcfcfb64_5    conda-forge
ca-certificates           2023.12.12           haa95532_0
certifi                   2024.2.2         py39haa95532_0
cffi                      1.16.0           py39h7a188e9_0    conda-forge
charset-normalizer        3.3.2              pyhd8ed1ab_0    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
comm                      0.1.2            py39haa95532_0
conda                     23.11.0          py39h0d475fb_1    conda-forge
conda-libmamba-solver     23.12.0            pyhd8ed1ab_0    conda-forge
conda-package-handling    2.2.0              pyh38be061_0    conda-forge
conda-package-streaming   0.9.0              pyhd8ed1ab_0    conda-forge
debugpy                   1.6.7            py39hd77b12b_0
decorator                 5.1.1              pyhd3eb1b0_0
defusedxml                0.7.1              pyhd3eb1b0_0
distro                    1.8.0              pyhd8ed1ab_0    conda-forge
entrypoints               0.4              py39haa95532_0
exceptiongroup            1.2.0            py39haa95532_0
executing                 0.8.3              pyhd3eb1b0_0
expat                     2.5.0                h63175ca_1    conda-forge
fmt                       10.1.1               h181d51b_1    conda-forge
fqdn                      1.5.1                    pypi_0    pypi
idna                      3.6                pyhd8ed1ab_0    conda-forge
importlib-metadata        7.0.1            py39haa95532_0
ipykernel                 6.28.0           py39haa95532_0
ipython                   8.15.0           py39haa95532_0
ipython_genutils          0.2.0              pyhd3eb1b0_1
isoduration               20.11.0                  pypi_0    pypi
jedi                      0.18.1           py39haa95532_1
jinja2                    3.1.3            py39haa95532_0
json5                     0.9.6              pyhd3eb1b0_0
jsonpatch                 1.33               pyhd8ed1ab_0    conda-forge
jsonpointer               2.4              py39h0d475fb_3    conda-forge
jsonschema                4.17.3           py39haa95532_0
jsonschema-specifications 2023.7.1         py39haa95532_0
jupyter-lsp               2.2.0            py39haa95532_0
jupyter_client            7.4.9            py39haa95532_0
jupyter_core              5.5.0            py39haa95532_0
jupyter_events            0.6.3            py39haa95532_0
jupyter_server            2.10.0           py39haa95532_0
jupyter_server_terminals  0.4.4            py39haa95532_1
jupyterlab                4.0.11           py39haa95532_0
jupyterlab-lsp            5.0.3                    pypi_0    pypi
jupyterlab_pygments       0.1.2                      py_0
jupyterlab_server         2.22.0           py39haa95532_0
krb5                      1.21.2               heb0366b_0    conda-forge
libarchive                3.7.2                h313118b_1    conda-forge
libcurl                   8.5.0                hd5e4a3a_0    conda-forge
libexpat                  2.5.0                h63175ca_1    conda-forge
libffi                    3.4.2                h8ffe710_5    conda-forge
libiconv                  1.17                 hcfcfb64_2    conda-forge
libmamba                  1.5.5                h3f09ed1_0    conda-forge
libmambapy                1.5.5            py39h993ce4e_0    conda-forge
libsodium                 1.0.18               h62dcd97_0
libsolv                   0.7.27               h12be248_0    conda-forge
libsqlite                 3.44.2               hcfcfb64_0    conda-forge
libssh2                   1.11.0               h7dfc565_0    conda-forge
libxml2                   2.12.3               hc3477c8_0    conda-forge
libzlib                   1.2.13               hcfcfb64_5    conda-forge
lz4-c                     1.9.4                hcfcfb64_0    conda-forge
lzo                       2.10              he774522_1000    conda-forge
mamba                     1.5.5            py39h749ce95_0    conda-forge
markupsafe                2.1.3            py39h2bbff1b_0
matplotlib-inline         0.1.6            py39haa95532_0
menuinst                  2.0.1            py39h3665ca7_0    conda-forge
miniforge_console_shortcut 1.0                  h57928b3_0    conda-forge
mistune                   2.0.4            py39haa95532_0
nb_conda_kernels          2.3.1            py39haa95532_0
nbclassic                 1.0.0            py39haa95532_0
nbclient                  0.8.0            py39haa95532_0
nbconvert                 7.10.0           py39haa95532_0
nbformat                  5.9.2            py39haa95532_0
nest-asyncio              1.6.0            py39haa95532_0
notebook                  6.5.4            py39haa95532_1
notebook-shim             0.2.3            py39haa95532_0
openssl                   3.2.1                hcfcfb64_0    conda-forge
overrides                 7.4.0            py39haa95532_0
packaging                 23.2               pyhd8ed1ab_0    conda-forge
pandocfilters             1.5.0              pyhd3eb1b0_0
parso                     0.8.3              pyhd3eb1b0_0
pickleshare               0.7.5           pyhd3eb1b0_1003
pip                       23.3.2             pyhd8ed1ab_0    conda-forge
platformdirs              4.1.0              pyhd8ed1ab_0    conda-forge
pluggy                    1.3.0              pyhd8ed1ab_0    conda-forge
prometheus_client         0.14.1           py39haa95532_0
prompt-toolkit            3.0.43           py39haa95532_0
psutil                    5.9.0            py39h2bbff1b_0
pure_eval                 0.2.2              pyhd3eb1b0_0
py                        1.11.0             pyhd3eb1b0_0
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycosat                   0.6.6            py39h7a188e9_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pygments                  2.15.1           py39haa95532_1
pypy3.9                   7.3.13               h994e1e7_1    conda-forge
pyrsistent                0.20.0           py39h2bbff1b_0
pysocks                   1.7.1              pyh0701188_6    conda-forge
python                    3.9.18                0_73_pypy    conda-forge
python-dateutil           2.8.2              pyhd3eb1b0_0
python-fastjsonschema     2.16.2           py39haa95532_0
python-json-logger        2.0.7            py39haa95532_0
python_abi                3.9               4_pypy39_pp73    conda-forge
pytz                      2023.3.post1     py39haa95532_0
pywin32                   305              py39h2bbff1b_0
pywinpty                  2.0.10           py39h5da7b33_0
pyyaml                    6.0.1            py39h2bbff1b_0
pyzmq                     24.0.1           py39hc8fc7ba_1    conda-forge
referencing               0.30.2           py39haa95532_0
reproc                    14.2.4.post0         hcfcfb64_1    conda-forge
reproc-cpp                14.2.4.post0         h63175ca_1    conda-forge
requests                  2.31.0             pyhd8ed1ab_0    conda-forge
rfc3339-validator         0.1.4            py39haa95532_0
rfc3986-validator         0.1.1            py39haa95532_0
rpds-py                   0.10.6           py39h062c2fa_0
ruamel.yaml               0.18.5           py39h7a188e9_0    conda-forge
ruamel.yaml.clib          0.2.7            py39h7a188e9_2    conda-forge
send2trash                1.8.2            py39haa95532_0
setuptools                68.2.2             pyhd8ed1ab_0    conda-forge
six                       1.16.0             pyhd3eb1b0_1
sniffio                   1.3.0            py39haa95532_0
soupsieve                 2.5              py39haa95532_0
sqlite                    3.44.2               hcfcfb64_0    conda-forge
stack_data                0.2.0              pyhd3eb1b0_0
terminado                 0.17.1           py39haa95532_0
tinycss2                  1.2.1            py39haa95532_0
tk                        8.6.13               h5226925_1    conda-forge
tomli                     2.0.1            py39haa95532_0
tornado                   6.2              py39h2bbff1b_0
tqdm                      4.66.1             pyhd8ed1ab_0    conda-forge
traitlets                 5.7.1            py39haa95532_0
types-python-dateutil     2.8.19.20240106          pypi_0    pypi
typing-extensions         4.9.0            py39haa95532_1
typing_extensions         4.9.0            py39haa95532_1
tzdata                    2023c                h71feb2d_0    conda-forge
ucrt                      10.0.22621.0         h57928b3_0    conda-forge
uri-template              1.3.0                    pypi_0    pypi
urllib3                   2.1.0              pyhd8ed1ab_0    conda-forge
vc                        14.3                hcf57466_18    conda-forge
vc14_runtime              14.38.33130         h82b7239_18    conda-forge
vs2015_runtime            14.38.33130         hcb4865c_18    conda-forge
wcwidth                   0.2.5              pyhd3eb1b0_0
webcolors                 1.13                     pypi_0    pypi
webencodings              0.5.1            py39haa95532_1
websocket-client          0.58.0           py39haa95532_4
wheel                     0.42.0             pyhd8ed1ab_0    conda-forge
win_inet_pton             1.1.0              pyhd8ed1ab_6    conda-forge
winpty                    0.4.3                         4
xz                        5.2.6                h8d14728_0    conda-forge
yaml                      0.2.5                he774522_0
yaml-cpp                  0.8.0                h63175ca_0    conda-forge
zeromq                    4.3.4                hd77b12b_0
zipp                      3.17.0           py39haa95532_0
zlib                      1.2.13               hcfcfb64_5    conda-forge
zstandard                 0.22.0           py39hdf01746_0    conda-forge
zstd                      1.5.5                h12be248_0    conda-forge

Lenovo@DESKTOP-P6L1B1M MINGW64 /c/0_gits/private/learn/cs/strutcures_central/graph (main)
$ conda info

     active environment : None
       user config file : C:\Users\Lenovo\.condarc
 populated config files : C:\ProgramData\miniforge-pypy3\.condarc
                          C:\Users\Lenovo\.condarc
          conda version : 23.11.0
    conda-build version : not installed
         python version : 3.9.18.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=x86_64
                          __conda=23.11.0=0
                          __win=0=0
       base environment : C:\ProgramData\miniforge-pypy3  (writable)
      conda av data dir : C:\ProgramData\miniforge-pypy3\etc\conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
                          https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : C:\ProgramData\miniforge-pypy3\pkgs
                          C:\Users\Lenovo\.conda\pkgs
                          C:\Users\Lenovo\AppData\Local\conda\conda\pkgs
       envs directories : C:\ProgramData\miniforge-pypy3\envs
                          C:\Users\Lenovo\.conda\envs
                          C:\Users\Lenovo\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/23.11.0 requests/2.31.0 PyPy/3.9.18 Windows/10 Windows/10.0.19045 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.5
          administrator : True
             netrc file : None
           offline mode : False
hmaarrfk commented 4 months ago

your using a mixed environment from defaults and conda-forge. this is (unfortunately) no longer supported and likely the source of your issues.

Please remove defaults from your channel and recreate your environment.

GrigoriiTarasov commented 4 months ago

your using a mixed environment from defaults and conda-forge. this is (unfortunately) no longer supported and likely the source of your issues.

Please remove defaults from your channel and recreate your environment.

Thank you! I fully reinstalled all from scratch to check if using only conda-forge can let install jupyter

cat ~/.condarc

channels:
  - conda-forge
mamba install jupyter

conda-forge/win-64                                          Using cache
conda-forge/noarch                                          Using cache
Pinned packages:
  - python 3.9.*
...

Could not solve for environment specs
The following packages are incompatible
├─ jupyter is installable with the potential options
│  ├─ jupyter 1.0.0 would require
│  │  └─ qtconsole with the potential options
│  │     ├─ qtconsole [4.2.1|4.3.0|...|4.4.2] would require
│  │     │  └─ python [2.7* |>=2.7,<2.8.0a0 ] but there are no viable options
│  │     │     ├─ python [2.7.12|2.7.13|2.7.14|2.7.15] would require
│  │     │     │  └─ vc 9.* , which does not exist (perhaps a missing channel);

Is it impossible to install jupyter in current miniforge due to it require strictly only conda-forge packages?

hmaarrfk commented 4 months ago

Can you please provide the information requested in the template. You have made significant changes

GrigoriiTarasov commented 4 months ago

The main reason was "mixed environment from defaults and conda-forge" as hmaarrfk stated. Edit of ~/.condarc and environments with non-pinned py3.9.* did the thing.