Closed ACheong97 closed 4 years ago
Did you install topaz following the anaconda instructions here? If so, you probably need to activate your conda environment before running topaz:
source activate topaz
topaz --help
Yes, I activated my environment but with "conda activate topaz" since my Anaconda version is later than 4.4, but it still does not work.
What is the output of 'conda list' inside your topaz environment?
Looks something like this.
It looks like topaz is not installed in your environment. Try running the topaz install commands again with the environment activated.
I installed topaz and when I use conda list, I can see topaz is now installed in the environment. I ran topaz --help and got: Program 'topaz' failed to run: No application is associated with the specified file for this operation
I suspect this is an issue with conda on windows, but unfortunately I don't have a windows machine on hand to investigate. Apparently conda may not play nicely with powershell (https://stackoverflow.com/a/54811138, see also https://github.com/conda/conda/issues/626#issuecomment-480365662). Do other programs work from within the environment? E.g. will jupyter notebook launch?
Notebook works fine. The same issue persists after adding the path to the topaz environment and after installing PSCondaEnvs from the 1st link.
Have you tried installing topaz from source?
I was able to successfully run topaz denoise --help after executing "pip install ." I am pretty sure it works now. Thanks for the help.
Great, sorry the conda install was such a problem. I'll need to find a windows computer to look into this further.
I find another approach to get it work on windows:
python -m topaz.main %*
I installed the topaz environment with Python 3.6. When I try to enter a command, I get the following: