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

Error with pymedphys 0.40 #52

Open
jfcabana opened this issue May 17, 2024 · 2 comments
Open

Error with pymedphys 0.40 #52

jfcabana opened this issue May 17, 2024 · 2 comments
Assignees

Comments

@jfcabana
Copy link
Owner

I'm trying to install OMG Dosimetry on new computers at work, and I get an error message in the analysis module when trying to compute gamma. The error is with pymedphys trying to find the file EXTRA-DEPENDENCIES,.txt but not finding it.

The error is resolved after I install version 0.39.3.

@LuisOlivaresJ LuisOlivaresJ self-assigned this May 17, 2024
@LuisOlivaresJ
Copy link
Collaborator

LuisOlivaresJ commented May 17, 2024

Seems a bug inside PyMedPhys (as a matter of fact the new version was relesed yesterday).

@LuisOlivaresJ
Copy link
Collaborator

LuisOlivaresJ commented May 25, 2024

PyMedPhys is looking for
... / lib / pymedphys / dependency-extra.txt.

Conda (or venv) uses site-packages folder instead of lib, for package storage, i.e., the file is in:
... / site-packages / pymedphys / dependency-extra.txt.

By my understanding, PyMedPhys does not support installation by other means than pyenv for virtual environment management. But I do not have experience with pyenv.

One provisional solution for the issue is to force the installation of PyMedPhys v0.39

"pymedphys~=0.39",

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