zwicker-group / py-pde

Python package for solving partial differential equations using finite differences.

Home Page:https://py-pde.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`pde.environment()` broken in release version

david-zwicker opened this issue · comments

As discussed in #397, a call to pde.environment() results in the following error

Traceback (most recent call last):
File "", line 1, in 
File "/opt/homebrew/Caskroom/miniforge/base/envs/bread/lib/python3.9/site-packages/pde/tools/config.py", line 273, in environment
packages_min = packages_from_requirements(PACKAGE_PATH / "requirements.txt")
File "/opt/homebrew/Caskroom/miniforge/base/envs/bread/lib/python3.9/site-packages/pde/tools/config.py", line 237, in packages_from_requirements
with open(requirements_file) as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/homebrew/Caskroom/miniforge/base/envs/bread/lib/python3.9/site-packages/requirements.txt'

This is likely because requirements.txt is not shipped with the release.