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

Clean install via pip requires a module not included in the requisited #28

Open
jhuguetn opened this issue Nov 9, 2022 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@jhuguetn
Copy link

jhuguetn commented Nov 9, 2022

Fresh installation of the package fails to run due to a missing dependency (dcm2niix?). Note however that the requested application is installed in the system. I believe amypet misses some kind of wrapped python package around the DICOM-to-NIfTI conversion tool, dcm2niix.

root@a6c92feb1504:/tmp# amypet
Traceback (most recent call last):
  File "/usr/local/bin/amypet", line 5, in <module>
    from amypet.cli import main
  File "/usr/local/lib/python3.8/site-packages/amypet/__init__.py", line 25, in <module>
    from .preproc import *
  File "/usr/local/lib/python3.8/site-packages/amypet/preproc.py", line 16, in <module>
    import dcm2niix
ModuleNotFoundError: No module named 'dcm2niix'

root@a6c92feb1504:/tmp# which dcm2niix
/tmp/bin/dcm2niix

Update

The missing dependency might be the following as error banishes when pip-installing it manually,

pip install dcm2niix
casperdcl added a commit that referenced this issue Nov 25, 2022
@casperdcl casperdcl self-assigned this Nov 25, 2022
@casperdcl casperdcl added the bug Something isn't working label Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants