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
gh-95299: Do not pre-install setuptools in virtual environments created with venv. This means that distutils, setuptools, pkg_resources, and easy_install will no longer available by default; to access these run pip install setuptools in the activated virtual environment.
which mentions venv, but I believe this applies to mamba environments as well
❯ mamba create -y -n ndatools python pip
❯ mamba activate ndatools
❯ pip install nda-tools
❯ downloadcmd -h
Traceback (most recent call last):
File "/Users/psadil/mambaforge/envs/ndatools/bin/downloadcmd", line 5, in<module>
from NDATools.clientscripts.downloadcmd import main
File "/Users/psadil/mambaforge/envs/ndatools/lib/python3.13/site-packages/NDATools/__init__.py", line 11, in<module>
from pkg_resources import resource_filename
ModuleNotFoundError: No module named 'pkg_resources'
❯ mamba install setuptools
Looking for: ['setuptools']
conda-forge/osx-arm64 Using cache
conda-forge/noarch Using cache
Pinned packages:
- python 3.13.*
Transaction
Prefix: /Users/psadil/mambaforge/envs/ndatools
Updating specs:
- setuptools
- ca-certificates
- openssl
Package Version Build Channel Size
──────────────────────────────────────────────────────────────
Install:
──────────────────────────────────────────────────────────────
+ setuptools 75.8.0 pyhff2d567_0 conda-forge 776kB
Summary:
Install: 1 packages
Total download: 776kB
──────────────────────────────────────────────────────────────
Confirm changes: [Y/n] y
setuptools 775.6kB @ 2.1MB/s 0.4s
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done~
(ndatools)❯ downloadcmd -h
Running NDATools Version 0.3.0
[...]
The text was updated successfully, but these errors were encountered:
From here: https://docs.python.org/3/whatsnew/3.12.html
which mentions venv, but I believe this applies to mamba environments as well
The text was updated successfully, but these errors were encountered: