Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI pythonw not found #3

Open
irvita opened this issue Sep 5, 2022 · 9 comments
Open

GUI pythonw not found #3

irvita opened this issue Sep 5, 2022 · 9 comments

Comments

@irvita
Copy link

irvita commented Sep 5, 2022

Hi there,

I would really appreciate help in running the video files from the GUI (on Mac). I managed to run it from the command line to get an output in csv form but when executing the command below:

pythonw ./scripts/FreeClimber_gui.py --video_file ./example/w1118_m_2_1.h264

I get this output:

zsh: command not found: pythonw

@atramell
Copy link

I have the same problem.

@adamspierer
Copy link
Owner

Hi @irvita @atramell,

I haven't encountered this error, but it might be an issue with the wxPython package or how the system runs the GUI.

First, confirming you have everything downloaded into the virtual environment and the virtual environment is active?

Second, can you confirm you have wxPython and Python3 installed in the environment?
https://docs.conda.io/projects/conda/en/4.6.0/user-guide/tasks/manage-environments.html#viewing-a-list-of-the-packages-in-an-environment

Third, this looks like a similar issue but I am unsure if the same solution will work. Give this a try and let me know?
https://forum.image.sc/t/zsh-permission-denied-pythonw-or-command-not-found-pythonw-when-installing-cellprofiler-w-conda-on-mac/73966

@atramell
Copy link

atramell commented Jun 27, 2023 via email

@adamspierer
Copy link
Owner

Hi @atramell ,

If you haven't already, I recommend following the tutorial. An early step walks you through the creation of an Anaconda virtual environment, which has the version of Python (3.6) and packages that are known to work well together. It's an annoying step to download and activate the virtual environment each time, but is good for version controlling packages and "future-proofing" the software.

Downloading Python from Anaconda will also cover a similar issue that can arise if you were to download Python on the computer for a single user instead of for all users.

Once you have the virtual environment with Python 3.6 running, you could also try to create an environment with Python 3.8 and installing/updating the packages to answer your question.

Keep me posted on whether or not things work.

@atramell
Copy link

atramell commented Jun 28, 2023 via email

@adamspierer
Copy link
Owner

Hi @atramell ,

Are you using the test file or your own file?

  • If it is the test file, restart your computer and try it again. It shouldn't take more than 5-15 seconds to run depending on the specs of your computer.
  • If it is your own file, try to restart your computer and/or downsize the file or reduce the frames you are testing

For others who might encounter your last problem, what was the solution?

@atramell
Copy link

atramell commented Jul 4, 2023 via email

@atramell
Copy link

atramell commented Jul 4, 2023 via email

@adamspierer
Copy link
Owner

Checking in to see if you ended up getting things to work, your solution, and if I can close out this issue?

The file formats you mentioned were all tested previously so I think it is a deeper issue than just reformatting the video? Let me know either way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants