cortex-lab / phy

phy: interactive visualization and manual spike sorting of large-scale ephys data
BSD 3-Clause "New" or "Revised" License
304 stars 155 forks source link

No such command 'template-gui' #1205

Closed kermit000000 closed 1 year ago

kermit000000 commented 1 year ago

I'm having the same issue described and presumably solved in issue 1138, linked below.

This might seem like a silly question, but I am lost on how exactly to pass the environment parameters needed in environment.yml into command line when installing the phy2 environment.

Additionally, I already have a phy2 environment installed, which is giving me the error "no such command 'template-gui'", and I am not sure how to remove that environment before attempting reinstall, or if that's even necessary.

Sorry if these are basic questions, but command line stuff is scary and hard. Thanks for any help you can provide.

https://github.com/cortex-lab/phy/issues/1138

zm711 commented 1 year ago

@kermit000000 What type of OS are you using (Linux, Mac, Windows)?

To see if you installed phy correctly Could you type

conda activate phy2
conda list

and then post what it says. If that fails instead type

conda env list

And post that here. That way someone can check if you have the environment correctly installed.

no such command is often due to 1) the env not being activated/installed wrong 2) typing the command wrong

So if you have the env try the following

cd path/to/params.py
conda activate phy2
phy template-gui params.py