gschramm / parallelproj

code for parallel TOF and NONTOF projections
MIT License
30 stars 9 forks source link

import parallelproj error #59

Closed yransun closed 9 months ago

yransun commented 9 months ago

Hi, after install using "conda install -c conda-forge parallelproj",

I met the error when ran the code at https://parallelproj.readthedocs.io/en/stable/auto_examples/02_pet_sinogram_projections/01_run_pet_non_tof_sinogram_projector.html#sphx-glr-auto-examples-02-pet-sinogram-projections-01-run-pet-non-tof-sinogram-projector-py:

ImportError: Cannot find parallelproj cuda lib. Consider settting the environment variable PARALLELPROJ_CUDA_LIB.

Do you know why it happened? Thanks!

My system: Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-91-generic x86_64)

yransun commented 9 months ago

Never mind, I solved using the command you provided in this file https://github.com/gschramm/parallelproj/issues/48. Nice work!