Skip to content

Commit

Permalink
add a helpful message for people who installed last before 4.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff committed Jan 24, 2024
1 parent fc2cb9f commit 8cb04b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion validphys2/src/validphys/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
from ._version import __version__
try:
from ._version import __version__
except ModuleNotFoundError:
raise ModuleNotFoundError("`_version` not found, you might need to reinstall nnpdf (e.g., `pip install .`) if you installed last before nnpdf 4.0.8")

0 comments on commit 8cb04b3

Please sign in to comment.