KatyBrown / CIAlign

MIT License
117 stars 9 forks source link

modules not found upon installation #58

Closed jonathan-wells closed 6 months ago

jonathan-wells commented 8 months ago

Hi,

Seem to be getting a bug with installation of v1.1.0 due to missing package requirements. From a fresh install in a new conda environment I get ModuleNotFound errors for pandas, scipy etc. Can install these no problem but not argP, which looks like an internal module within cialign?

conda create -n cialign_env
conda activate cialign_env
conda install -c bioconda cialign
CIalign

Traceback (most recent call last):
  File "/Users/username/miniconda3/envs/cialign_env/bin/CIalign", line 8, in <module>
    import CIAlign.runCIAlign as runCIAlign
  File "/Users/username/miniconda3/envs/cialign_env/lib/python3.12/site-packages/CIAlign/runCIAlign.py", line 5, in <module>
    import pandas as pd
ModuleNotFoundError: No module named 'pandas'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/username/miniconda3/envs/cialign_env/bin/CIalign", line 10, in <module>
    import argP
ModuleNotFoundError: No module named 'argP'
TiagoVieiraBotany commented 7 months ago

Hello, I am facing this very same situation. I've installed CIAlign through conda, and when trying CIAligh --help, it outputs the same message.

raceback (most recent call last): File "/n/home10/tlvieira/miniconda3/envs/cialign/bin/CIAlign", line 8, in import CIAlign.runCIAlign as runCIAlign File "/n/home10/tlvieira/miniconda3/envs/cialign/lib/python3.12/site-packages/CIAlign/runCIAlign.py", line 5, in import pandas as pd ModuleNotFoundError: No module named 'pandas'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/n/home10/tlvieira/miniconda3/envs/cialign/bin/CIAlign", line 10, in import argP ModuleNotFoundError: No module named 'argP'

KatyBrown commented 7 months ago

Hi, thanks for letting me know about this! And @jonathan-wells sorry for the long delay in my response. I'll look into it and get back to you both asap.

KatyBrown commented 6 months ago

Hi, sorry to be very slow, I think if you install the latest version from Conda this issue is now fixed. Please let me know if you have any more problems! @jonathan-wells @TiagoVieiraBotany