Open naga-k opened 3 months ago
Mambaforge or latest Miniforge
Yes
I do not have this problem with Conda, just with Mamba
In Windows Powershell, I am not able to activate environments. It works fine in Anaconda Prompt.
(base) PS C:\Users\anjan\Documents\Programming\nano-gpt> mamba create -n myjlabenv jupyterlab -c conda-forge
Looking for: ['jupyterlab']
pkgs/main/noarch No change pkgs/r/win-64 No change pkgs/r/noarch No change conda-forge/noarch . . . Downloading and Extracting Packages:
Preparing transaction: done Verifying transaction: done Executing transaction: done
To activate this environment, use
$ mamba activate myjlabenv
To deactivate an active environment, use
$ mamba deactivate
(base) PS C:\Users\anjan\Documents\Programming\nano-gpt> mamba activate myjlabenv (base) PS C:\Users\anjan\Documents\Programming\nano-gpt>
(base) PS C:\Users\anjan\Documents\Programming\nano-gpt> mamba info mamba version : 1.5.7 active environment : base active env location : C:\Users\anjan\miniforge3 shell level : 1 user config file : C:\Users\anjan\.condarc populated config files : C:\Users\anjan\miniforge3\.condarc C:\Users\anjan\.condarc conda version : 24.1.2 conda-build version : not installed python version : 3.10.14.final.0 solver : libmamba (default) virtual packages : __archspec=1=x86_64 __conda=24.1.2=0 __cuda=12.4=0 __win=0=0 base environment : C:\Users\anjan\miniforge3 (writable) conda av data dir : C:\Users\anjan\miniforge3\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:\Users\anjan\miniforge3\pkgs C:\Users\anjan\.conda\pkgs C:\Users\anjan\AppData\Local\conda\conda\pkgs envs directories : C:\Users\anjan\miniforge3\envs C:\Users\anjan\.conda\envs C:\Users\anjan\AppData\Local\conda\conda\envs platform : win-64 user-agent : conda/24.1.2 requests/2.31.0 CPython/3.10.14 Windows/10 Windows/10.0.22631 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.7 administrator : False netrc file : None offline mode : False
(base) PS C:\Users\anjan\Documents\Programming\nano-gpt> mamba create -n myjlabenv jupyterlab -c conda-forge Looking for: ['jupyterlab'] pkgs/main/noarch No change pkgs/r/win-64 No change pkgs/r/noarch No change conda-forge/noarch No change conda-forge/win-64 No change pkgs/msys2/noarch No change pkgs/msys2/win-64 No change pkgs/main/win-64 5.3MB @ 26.4MB/s 0.2s Transaction Prefix: C:\Users\anjan\miniforge3\envs\myjlabenv Updating specs: - jupyterlab Package Version Build Channel Size ----------------------------------------------------------------------------------------------- Install: ----------------------------------------------------------------------------------------------- + python_abi 3.12 4_cp312 conda-forge 7kB + ucrt 10.0.22621.0 h57928b3_0 conda-forge Cached + libexpat 2.6.2 h63175ca_0 conda-forge 139kB + ca-certificates 2024.2.2 h56e8100_0 conda-forge Cached + winpty 0.4.3 4 conda-forge 1MB + vc14_runtime 14.38.33130 h82b7239_18 conda-forge Cached + vs2015_runtime 14.38.33130 hcb4865c_18 conda-forge Cached + vc 14.3 hcf57466_18 conda-forge Cached + libsodium 1.0.18 h8d14728_1 conda-forge 713kB + tk 8.6.13 h5226925_1 conda-forge Cached + openssl 3.2.1 hcfcfb64_1 conda-forge Cached + libsqlite 3.45.2 hcfcfb64_0 conda-forge Cached + xz 5.2.6 h8d14728_0 conda-forge Cached + libzlib 1.2.13 hcfcfb64_5 conda-forge Cached + libffi 3.4.2 h8ffe710_5 conda-forge Cached + bzip2 1.0.8 hcfcfb64_5 conda-forge Cached + yaml 0.2.5 h8ffe710_2 conda-forge 63kB + zeromq 4.3.5 h63175ca_1 conda-forge 4MB + tzdata 2024a h0c530f3_0 conda-forge Cached + python 3.12.2 h2628c8c_0_cpython conda-forge 16MB + wheel 0.43.0 pyhd8ed1ab_1 conda-forge 58kB + setuptools 69.2.0 pyhd8ed1ab_0 conda-forge Cached + pip 24.0 pyhd8ed1ab_0 conda-forge Cached + win_inet_pton 1.1.0 pyhd8ed1ab_6 conda-forge Cached + parso 0.8.3 pyhd8ed1ab_0 conda-forge 71kB + wcwidth 0.2.13 pyhd8ed1ab_0 conda-forge 33kB + charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge Cached + pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge 15kB + executing 2.0.1 pyhd8ed1ab_0 conda-forge 28kB + pycparser 2.22 pyhd8ed1ab_0 conda-forge 105kB + types-python-dateutil 2.9.0.20240316 pyhd8ed1ab_0 conda-forge 22kB + pytz 2024.1 pyhd8ed1ab_0 conda-forge 189kB + soupsieve 2.5 pyhd8ed1ab_1 conda-forge 37kB + webencodings 0.5.1 pyhd8ed1ab_2 conda-forge 16kB + pickleshare 0.7.5 py_1003 conda-forge 9kB + decorator 5.1.1 pyhd8ed1ab_0 conda-forge 12kB + colorama 0.4.6 pyhd8ed1ab_0 conda-forge Cached + json5 0.9.24 pyhd8ed1ab_0 conda-forge 28kB + pygments 2.17.2 pyhd8ed1ab_0 conda-forge 860kB + mistune 3.0.2 pyhd8ed1ab_0 conda-forge 66kB + pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge 12kB + entrypoints 0.4 pyhd8ed1ab_0 conda-forge 9kB + defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge 24kB + python-fastjsonschema 2.19.1 pyhd8ed1ab_0 conda-forge 225kB + platformdirs 4.2.0 pyhd8ed1ab_0 conda-forge Cached + cached_property 1.5.2 pyha770c72_1 conda-forge 11kB + hyperframe 6.0.1 pyhd8ed1ab_0 conda-forge 15kB + hpack 4.0.0 pyh9f0ad1d_0 conda-forge 25kB + six 1.16.0 pyh6c4a22f_0 conda-forge 14kB + exceptiongroup 1.2.0 pyhd8ed1ab_2 conda-forge 21kB + typing_extensions 4.10.0 pyha770c72_0 conda-forge 37kB + sniffio 1.3.1 pyhd8ed1ab_0 conda-forge 15kB + certifi 2024.2.2 pyhd8ed1ab_0 conda-forge Cached + zipp 3.17.0 pyhd8ed1ab_0 conda-forge 19kB + nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge 12kB + attrs 23.2.0 pyh71513ae_0 conda-forge 55kB + pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge 11kB + webcolors 1.13 pyhd8ed1ab_0 conda-forge 18kB + uri-template 1.3.0 pyhd8ed1ab_0 conda-forge 24kB + idna 3.6 pyhd8ed1ab_0 conda-forge Cached + python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge 13kB + rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge 8kB + typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge 14kB + websocket-client 1.7.0 pyhd8ed1ab_0 conda-forge 47kB + prometheus_client 0.20.0 pyhd8ed1ab_0 conda-forge 49kB + tomli 2.0.1 pyhd8ed1ab_0 conda-forge 16kB + traitlets 5.14.2 pyhd8ed1ab_0 conda-forge 110kB + packaging 24.0 pyhd8ed1ab_0 conda-forge Cached + pysocks 1.7.1 pyh0701188_6 conda-forge Cached + jedi 0.19.1 pyhd8ed1ab_0 conda-forge 841kB + prompt-toolkit 3.0.42 pyha770c72_0 conda-forge 270kB + babel 2.14.0 pyhd8ed1ab_0 conda-forge 8MB + beautifulsoup4 4.12.3 pyha770c72_0 conda-forge 118kB + tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge 23kB + jupyterlab_pygments 0.3.0 pyhd8ed1ab_1 conda-forge 19kB + cached-property 1.5.2 hd8ed1ab_1 conda-forge 4kB + h2 4.1.0 pyhd8ed1ab_0 conda-forge 47kB + asttokens 2.4.1 pyhd8ed1ab_0 conda-forge 29kB + python-dateutil 2.9.0 pyhd8ed1ab_0 conda-forge 223kB + rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge 8kB + typing-extensions 4.10.0 hd8ed1ab_0 conda-forge 10kB + h11 0.14.0 pyhd8ed1ab_0 conda-forge 48kB + async-lru 2.0.4 pyhd8ed1ab_0 conda-forge 15kB + importlib-metadata 7.1.0 pyha770c72_0 conda-forge 27kB + importlib_resources 6.4.0 pyhd8ed1ab_0 conda-forge 33kB + anyio 4.3.0 pyhd8ed1ab_0 conda-forge 102kB + overrides 7.7.0 pyhd8ed1ab_0 conda-forge 30kB + comm 0.2.2 pyhd8ed1ab_0 conda-forge 12kB + matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge 12kB + bleach 6.1.0 pyhd8ed1ab_0 conda-forge 131kB + fqdn 1.5.1 pyhd8ed1ab_0 conda-forge 14kB + stack_data 0.6.2 pyhd8ed1ab_0 conda-forge 26kB + arrow 1.3.0 pyhd8ed1ab_0 conda-forge 100kB + importlib_metadata 7.1.0 hd8ed1ab_0 conda-forge 9kB + httpcore 1.0.5 pyhd8ed1ab_0 conda-forge 46kB + ipython 8.22.2 pyh7428d3b_0 conda-forge 594kB + isoduration 20.11.0 pyhd8ed1ab_0 conda-forge 17kB + httpx 0.27.0 pyhd8ed1ab_0 conda-forge 65kB + brotli-python 1.1.0 py312h53d5487_1 conda-forge 323kB + pywinpty 2.0.13 py312h53d5487_0 conda-forge 212kB + pywin32 306 py312h53d5487_2 conda-forge 6MB + debugpy 1.8.1 py312h53d5487_0 conda-forge 3MB + psutil 5.9.8 py312he70551f_0 conda-forge 504kB + markupsafe 2.1.5 py312he70551f_0 conda-forge 29kB + rpds-py 0.18.0 py312hfccd98a_0 conda-forge 202kB + jsonpointer 2.4 py312h2e8e312_3 conda-forge 35kB + pyyaml 6.0.1 py312he70551f_1 conda-forge 168kB + pyzmq 25.1.2 py312h1ac6f91_0 conda-forge 481kB + tornado 6.4 py312he70551f_0 conda-forge 844kB + cffi 1.16.0 py312he70551f_0 conda-forge 288kB + jupyter_core 5.7.2 py312h2e8e312_0 conda-forge 110kB + argon2-cffi-bindings 21.2.0 py312he70551f_4 conda-forge 35kB + urllib3 2.2.1 pyhd8ed1ab_0 conda-forge Cached + send2trash 1.8.2 pyh08f2357_0 conda-forge 23kB + jinja2 3.1.3 pyhd8ed1ab_0 conda-forge 112kB + referencing 0.34.0 pyhd8ed1ab_0 conda-forge 42kB + terminado 0.18.1 pyh5737063_0 conda-forge 23kB + jupyter_client 8.6.1 pyhd8ed1ab_0 conda-forge 106kB + argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge 19kB + requests 2.31.0 pyhd8ed1ab_0 conda-forge Cached + jsonschema-specifications 2023.12.1 pyhd8ed1ab_0 conda-forge 16kB + jupyter_server_terminals 0.5.3 pyhd8ed1ab_0 conda-forge 20kB + ipykernel 6.29.3 pyha63f2e9_0 conda-forge 120kB + jsonschema 4.21.1 pyhd8ed1ab_0 conda-forge 73kB + jsonschema-with-format-nongpl 4.21.1 pyhd8ed1ab_0 conda-forge 7kB + nbformat 5.10.4 pyhd8ed1ab_0 conda-forge 101kB + jupyter_events 0.10.0 pyhd8ed1ab_0 conda-forge 21kB + nbclient 0.10.0 pyhd8ed1ab_0 conda-forge 28kB + nbconvert-core 7.16.3 pyhd8ed1ab_0 conda-forge 189kB + jupyter_server 2.13.0 pyhd8ed1ab_0 conda-forge 325kB + jupyterlab_server 2.25.4 pyhd8ed1ab_0 conda-forge 49kB + jupyter-lsp 2.2.4 pyhd8ed1ab_0 conda-forge 55kB + notebook-shim 0.2.4 pyhd8ed1ab_0 conda-forge 17kB + jupyterlab 4.1.5 pyhd8ed1ab_0 conda-forge 7MB Summary: Install: 134 packages Total download: 56MB ----------------------------------------------------------------------------------------------- Confirm changes: [Y/n] Y yaml 63.3kB @ 518.6kB/s 0.1s python_abi 6.8kB @ 46.4kB/s 0.1s libexpat 139.2kB @ 956.1kB/s 0.1s pure_eval 14.6kB @ 91.0kB/s 0.0s libsodium 713.4kB @ 4.2MB/s 0.2s types-python-dateutil 21.8kB @ 115.2kB/s 0.0s winpty 1.2MB @ 5.9MB/s 0.2s pytz 188.5kB @ 926.8kB/s 0.1s pandocfilters 11.6kB @ 55.4kB/s 0.0s json5 27.9kB @ 130.3kB/s 0.1s hpack 25.3kB @ 103.9kB/s 0.0s typing_extensions 37.0kB @ 151.5kB/s 0.0s nest-asyncio 11.6kB @ 47.4kB/s 0.0s webcolors 18.2kB @ 73.4kB/s 0.0s python-fastjsonschema 225.2kB @ 892.3kB/s 0.1s typing_utils 13.8kB @ 49.3kB/s 0.0s tomli 15.9kB @ 55.6kB/s 0.0s beautifulsoup4 118.2kB @ 408.0kB/s 0.0s rfc3986-validator 7.8kB @ 26.4kB/s 0.1s cached-property 4.1kB @ 13.9kB/s 0.0s python-dateutil 222.7kB @ 684.2kB/s 0.0s h11 48.3kB @ 141.8kB/s 0.1s importlib_resources 33.1kB @ 94.3kB/s 0.1s comm 12.1kB @ 34.2kB/s 0.1s fqdn 14.4kB @ 40.5kB/s 0.1s importlib_metadata 9.4kB @ 25.6kB/s 0.0s isoduration 17.2kB @ 44.0kB/s 0.0s httpx 64.7kB @ 163.1kB/s 0.0s pywinpty 212.3kB @ 514.2kB/s 0.1s brotli-python 322.5kB @ 763.8kB/s 0.1s tornado 844.1kB @ 2.0MB/s 0.1s argon2-cffi-bindings 34.8kB @ 79.5kB/s 0.0s referencing 42.1kB @ 96.2kB/s 0.0s nbformat 101.2kB @ 220.6kB/s 0.0s argon2-cffi 18.6kB @ 39.9kB/s 0.1s ipykernel 119.7kB @ 256.3kB/s 0.0s nbconvert-core 189.1kB @ 392.7kB/s 0.0s jupyter_server 324.5kB @ 647.9kB/s 0.1s parso 71.0kB @ 138.0kB/s 0.0s wcwidth 32.7kB @ 62.5kB/s 0.1s pickleshare 9.3kB @ 17.5kB/s 0.0s mistune 66.0kB @ 113.4kB/s 0.1s cached_property 11.1kB @ 19.0kB/s 0.1s exceptiongroup 20.6kB @ 35.2kB/s 0.1s attrs 54.6kB @ 93.4kB/s 0.1s zeromq 4.2MB @ 6.9MB/s 0.1s traitlets 110.3kB @ 176.1kB/s 0.0s prometheus_client 48.9kB @ 77.9kB/s 0.0s websocket-client 46.6kB @ 73.8kB/s 0.0s python-json-logger 13.4kB @ 21.1kB/s 0.1s typing-extensions 10.2kB @ 15.9kB/s 0.0s overrides 30.2kB @ 45.5kB/s 0.0s rpds-py 202.0kB @ 295.7kB/s 0.0s anyio 102.3kB @ 149.1kB/s 0.1s ipython 593.7kB @ 859.9kB/s 0.1s httpcore 45.8kB @ 65.6kB/s 0.1s pyzmq 480.8kB @ 662.4kB/s 0.1s jsonschema 72.8kB @ 99.9kB/s 0.0s jupyter_client 106.0kB @ 144.7kB/s 0.0s nbclient 27.9kB @ 37.9kB/s 0.0s send2trash 23.3kB @ 31.3kB/s 0.1s notebook-shim 16.9kB @ 22.0kB/s 0.0s wheel 58.0kB @ 75.0kB/s 0.0s hyperframe 14.6kB @ 18.7kB/s 0.0s pygments 860.4kB @ 1.1MB/s 0.1s soupsieve 36.8kB @ 46.2kB/s 0.1s zipp 19.0kB @ 23.6kB/s 0.0s tinycss2 23.2kB @ 28.0kB/s 0.0s asttokens 28.9kB @ 34.6kB/s 0.0s rfc3339-validator 8.1kB @ 9.6kB/s 0.0s jedi 841.3kB @ 996.3kB/s 0.1s stack_data 26.2kB @ 31.0kB/s 0.0s jsonpointer 34.6kB @ 39.3kB/s 0.0s pyyaml 167.9kB @ 190.4kB/s 0.0s jsonschema-specifications 16.4kB @ 18.6kB/s 0.0s jupyter_server_terminals 19.8kB @ 22.2kB/s 0.1s six 14.3kB @ 14.9kB/s 0.1s webencodings 15.6kB @ 16.1kB/s 0.1s pycparser 105.1kB @ 107.2kB/s 0.1s debugpy 3.1MB @ 3.2MB/s 0.2s h2 46.8kB @ 45.5kB/s 0.1s prompt-toolkit 270.4kB @ 262.9kB/s 0.1s matplotlib-inline 12.3kB @ 11.9kB/s 0.1s jupyter_core 109.9kB @ 101.4kB/s 0.1s jupyter_events 21.5kB @ 19.7kB/s 0.1s cffi 287.8kB @ 262.8kB/s 0.1s sniffio 15.1kB @ 13.0kB/s 0.1s defusedxml 24.1kB @ 20.8kB/s 0.1s executing 27.7kB @ 23.8kB/s 0.1s async-lru 15.3kB @ 12.7kB/s 0.1s importlib-metadata 27.0kB @ 22.3kB/s 0.1s markupsafe 29.1kB @ 23.6kB/s 0.1s jupyterlab_server 48.8kB @ 38.9kB/s 0.0s jupyter-lsp 55.3kB @ 43.6kB/s 0.1s jupyterlab 7.1MB @ 5.5MB/s 0.4s pywin32 6.1MB @ 4.7MB/s 0.3s bleach 131.2kB @ 100.7kB/s 0.0s uri-template 24.0kB @ 18.4kB/s 0.1s jinja2 111.6kB @ 85.6kB/s 0.0s pkgutil-resolve-name 10.8kB @ 7.5kB/s 0.2s arrow 100.1kB @ 69.2kB/s 0.1s psutil 503.7kB @ 347.9kB/s 0.1s terminado 22.9kB @ 15.8kB/s 0.1s decorator 12.1kB @ 8.1kB/s 0.0s jupyterlab_pygments 18.8kB @ 12.5kB/s 0.1s entrypoints 9.2kB @ 6.1kB/s 0.1s jsonschema-with-format-nongpl 7.5kB @ 4.8kB/s 0.1s babel 7.6MB @ 4.1MB/s 0.4s python 16.1MB @ 7.9MB/s 0.7s Downloading and Extracting Packages: Preparing transaction: done Verifying transaction: done Executing transaction: done To activate this environment, use $ mamba activate myjlabenv To deactivate an active environment, use $ mamba deactivate (base) PS C:\Users\anjan\Documents\Programming\nano-gpt> mamba activate myjlabenv (base) PS C:\Users\anjan\Documents\Programming\nano-gpt>
No response
(base) PS C:\Users\anjan\Documents\Programming\nano-gpt> cat ~/.condarc channels: - conda-forge
Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Mambaforge or latest Miniforge
Search tried in issue tracker
Yes
Latest version of Mamba
Tried in Conda?
I do not have this problem with Conda, just with Mamba
Describe your issue
In Windows Powershell, I am not able to activate environments. It works fine in Anaconda Prompt.
(base) PS C:\Users\anjan\Documents\Programming\nano-gpt> mamba create -n myjlabenv jupyterlab -c conda-forge
Looking for: ['jupyterlab']
pkgs/main/noarch No change pkgs/r/win-64 No change pkgs/r/noarch No change conda-forge/noarch . . . Downloading and Extracting Packages:
Preparing transaction: done Verifying transaction: done Executing transaction: done
To activate this environment, use
To deactivate an active environment, use
(base) PS C:\Users\anjan\Documents\Programming\nano-gpt> mamba activate myjlabenv
(base) PS C:\Users\anjan\Documents\Programming\nano-gpt>
mamba info / micromamba info
Logs
environment.yml
No response
~/.condarc