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

Deeplabcut-live-gui install #25

Open
Quonchov opened this issue Oct 27, 2023 · 5 comments
Open

Deeplabcut-live-gui install #25

Quonchov opened this issue Oct 27, 2023 · 5 comments

Comments

@Quonchov
Copy link

I'm having difficulties installing the deeplabcut-live-gui on my windows laptop. Any ideas if this is compatible with windows and what is necessary steps to take.
I've already tried installing through conda using the conda activate dlc-live and pip install deeplabcut-live-gui, through normal conda install and miniconda install. However, I'm met with the error: "ERROR: Could not find a version that satisfies the requirement deeplabcut-live-gui (from versions: none)" and "ERROR: No matching distribution found for deeplabcut-live-gui"
Any idea how to resolve this issue?

@n-poulsen n-poulsen transferred this issue from DeepLabCut/DeepLabCut Nov 13, 2023
@n-poulsen
Copy link
Collaborator

Hi @Quonchov! Which Python version are you using in the environment where you're trying to install the DeepLabCut-Live GUI?

@Quonchov
Copy link
Author

Hi @n-poulsen thanks for reaching back, I'm currently running python version 3.11.4

@n-poulsen
Copy link
Collaborator

Thanks for reporting, I was able to replicate your issue. Does it work if you install it as follows (this solved it for me):

First, create (or activate) your environment and install tables (which is easier through conda than pip)

conda activate dlc-live
conda install -c conda-forge "tables>=3.7.0"

Make sure you have the correct Tensorflow version installed:

# For windows, linux
pip install "tensorflow>=2.0,<=2.10"

# For Apple computers with an M1/M2/M3 chip
pip install "tensorflow-macos<2.13.0" "tensorflow-metal"

Then download the source code (with git clone, or just download through the GitHub web interface) and install the package from source:

git clone https://github.com/DeepLabCut/DeepLabCut-live-GUI.git
cd DeepLabCut-live-GUI
pip install .

@MMathisLab, @jeylau looking at the pypi releases, it seems that we didn't release a new pip version after merging PR #20 which is what causes this installation issue. We also need to update the installation docs, as Python 3.7 is at EOL.

@MMathisLab
Copy link
Member

@AlexEMG can you make the pypi release? Thanks!

@Quonchov
Copy link
Author

Thanks alot for your support! The steps provided above were very helpful. I was able to get deeplabcut-live install and successfully launched the GUI.

Initially the error i had was; "" ERROR: Package 'deeplabcut-live-gui' requires a different Python: 3.11.6 not in '<3.11,>=3.5'""" after running the "pip install ." I had to install python=3.9 in same folder with the DLC-live-GUI and it worked.

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

No branches or pull requests

3 participants