int-brain-lab / iblapps

pyqt5 dependent applications for IBL sessions
MIT License
25 stars 15 forks source link

No module named 'atlaselectrophysiology' #120

Closed imontiel92 closed 7 months ago

imontiel92 commented 7 months ago

Hello Mayo. I ran the script to prepare my ephys data. However, when I run the script, this error message appears:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[2], line 2
      1 from pathlib import Path
----> 2 from atlaselectrophysiology.extract_files import extract_data
      4 # Path to KS2 output
      5 ks_path = Path(r'C:\Users\yvan\Documents\npx_analysis_ivan\im0038\im0038_physioloy\im0038_ks2')

ModuleNotFoundError: No module named 'atlaselectrophysiology'

How can I fix it? Thank you in advance.

mayofaulkner commented 7 months ago

Hello,

It seems the environment is not installed properly. Can you 1. confirm that you are running this code with the correct python environment activated (conda activate iblenv) and 2. if the problem persists, then paste here the output of doing pip list with the environment activated.

Thanks!

imontiel92 commented 7 months ago

Hello (again). You were right: I was working without having activated the environment first. But now that I've activated it and run the script, I don't have any output. I tried reinstalling everything, but it is not working. What could I do?

mayofaulkner commented 7 months ago

Hello,

Can you put a bit more detail about how you run the script? Are you sure that the folders paths that you are providing are correct? Are there any saved files that you see in the output path that you provide?

imontiel92 commented 7 months ago

Problem solved. The computer I was using didn't have enough space, and I hadn't realized. I really appreciate your patience and time. Thank you very much.

mayofaulkner commented 7 months ago

Great! Glad to hear! No worries, feel free to reach out if you run into any other problems!