Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MANIFEST.in missing includes #25

Open
tomfu1 opened this issue Apr 26, 2024 · 1 comment
Open

MANIFEST.in missing includes #25

tomfu1 opened this issue Apr 26, 2024 · 1 comment

Comments

@tomfu1
Copy link

tomfu1 commented Apr 26, 2024

The following script:

python -m venv env
env/bin/pip install --upgrade pip
env/bin/pip install torch wheel setuptools
env/bin/pip install torch-scatter torch-sparse
env/bin/pip install git+https://github.com/AIRI-Institute/nablaDFT.git
env/bin/python -c 'import nablaDFT'

generates the following error:

FileNotFoundError: [Errno 2] No such file or directory: '/Users/.../lib/python3.11/site-packages/nablaDFT/equiformer_v2/Jd.pt

Adding the following two lines to MANIFEST.in results in a successful import:

include nablaDFT/equiformer_v2/Jd.pt
include nablaDFT/escn/Jd.pt

Also, I understand that torch is used in setup.py and therefore cannot be included as a dependency, but why can't torch-scatter and torch-parse?

@KuzmaKhrabrov
Copy link
Contributor

Hello!

Thank you for posting this issue and sorry for the inconvenience.
Currently we're preparing big update for nablaDFT and some changes may not be presented in main branch.
Use setup.py from qhnet branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants