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

no module named resources #13

Open
leomarec opened this issue Feb 28, 2022 · 1 comment
Open

no module named resources #13

leomarec opened this issue Feb 28, 2022 · 1 comment

Comments

@leomarec
Copy link

leomarec commented Feb 28, 2022

Dear NiftyPET,

When I run the software in Jupyter Notebook line 16 in block 2 generates the following error.
image

This is the first time I have had this issue. In the past this was not an issue when trying to perform an installation.

I thank you for your time and fast response.

Sincerely,

Leo Marecki

@leomarec leomarec closed this as completed Mar 1, 2022
@leomarec leomarec reopened this Mar 1, 2022
@astrophys
Copy link

astrophys commented Oct 25, 2023

Actually, if you look at the top level of the conda environment, e.g. /path/to/NiftyPET/2.0.0/ you'll see a resources.py file. I just

export PYTHONPATH:/path/to/NiftyPET/2.0.0/:$PYTHONPATH

and that seem to get past that error. Based off the warning at the top of your output, it seems to expect that in ~/niftypet/resources.py

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