LJMUAstroecology / flirpy

Python library to interact with FLIR camera cores
Other
191 stars 54 forks source link

can't open file 'split_seqs' #35

Open gcscheepers opened 3 years ago

gcscheepers commented 3 years ago

Hi I'm used to grabbing frames from seqs in R for further analysis, but need to do it in Python now. Python is new to me.

I successfully did "pip install flirpy" in conda. In PyCharm I can see that flirpy is in the list of packages in the interpreter window. However, when I run "python split_seqs -h" in conda, I get "python: can't open file 'split_seqs': [Errno 2] No such file or directory".

I something wrong with my install? Regards

jveitchmichaelis commented 3 years ago

Hi,

This is a known issue on Windows due to a bug/feature in how Poetry handles "scripts". What you can do instead is just copy the script from this repository and run it as you would any other Python file. This file is also included when you install Flirpy, in your Python library. This will hopefully be fixed once Poetry is updated to properly handle user scripts.

https://github.com/LJMUAstroecology/flirpy/blob/master/scripts/split_seqs

Thanks!