portugueslab / stytra

A modular package to control stimulation and track behaviour
http://www.portugueslab.com/stytra/
GNU General Public License v3.0
41 stars 26 forks source link

Issue with launching stytra after installation #54

Closed GeorgSZ closed 3 years ago

GeorgSZ commented 3 years ago

Hi, I'm encountering an issue after installing stytra. I'm using Anaconda and used the "conda env create -f environment.yml" to install stytra. This step worked fine. However, when I try to use "conda activate stytra_env" it just says "Note: You may need to restart the kernel to use updated packages". I've restarted the kernel and the computer multiple times, but I'm still encountering this error. Does anyone have a suggestion on how to get stytra started?

I also tried running the test for the installation "python -m stytra.examples.looming_exp", but that only gives me a syntax error.

IMG_7274

vigji commented 3 years ago

hi @GeorgSZ, thanks for trying out our package! The problem is that you are invoking those commands from a Jupyer notebook- can you try to run them from the Anaconda terminal?

GeorgSZ commented 3 years ago

hi @GeorgSZ, thanks for trying out our package! The problem is that you are invoking those commands from a Jupyer notebook- can you try to run them from the Anaconda terminal?

Hi @vigji , thank you for the help. Using the Anaconda terminal I was able to launch the stytra environment. I tried running the looming_exp example, but there was an error with a module called "flammkuchen" (see screenshot). Looking at older tickets it seems like it's another module that needs to be installed. Am I on the right track?

stytra error flammkuchen

vigji commented 3 years ago

Yes you are! I guess we have a bug in the requirements. After pip install flammkuchen does it work?

GeorgSZ commented 3 years ago

Hi @vigji , I was able to launch stytra. pip install flammkuchen resolved that issue, but it kept asking me to download further packages. I went through the manual installation process again and this resolved most of the issues. There was 1 further package that needed to be installed, but now it is running great. Thank you for the help, I'm looking forward to using this program.

vigji commented 3 years ago

Glad to hear that! Let me know about any further problem you might have :)