umyelab / LabGym

Quantify user-defined behaviors.
GNU General Public License v3.0
66 stars 6 forks source link

Errors while installing LabGym #153

Closed eunjoy21 closed 4 months ago

eunjoy21 commented 4 months ago

Hi,

Even after installing all including, Git, Visual Studio C++ build tools, pipx, and detectron, LabGym cannot be open. Could you look into my prompt and help me out?

Thank you!

(base) C:\Users\eunjo>python --version Python 3.11.7

(base) C:\Users\eunjo>pipx --version 1.5.0

(base) C:\Users\eunjo>pipx inject --index-url https://download.pytorch.org/whl/cu118 LabGym torch==2.0.1 torchvision==0.15.2 injected package torch into venv labgym done! ✨ 🌟 ✨ injected package torchvision into venv labgym done! ✨ 🌟 ✨

Installing collected packages: detectron2 Attempting uninstall: detectron2 Found existing installation: detectron2 0.6 Uninstalling detectron2-0.6: Successfully uninstalled detectron2-0.6 Running setup.py develop for detectron2 Successfully installed detectron2-0.6

(base) C:\Users\eunjo>pipx reinstall LabGym --python 3.11 ⚠️ No executable for the provided Python version '3.11' found in py launcher. Please make sure the provided version is listed when running py --list.

(base) C:\Users\eunjo>pipx reinstall LabGym --python usage: pipx reinstall [-h] [--quiet] [--verbose] [--python PYTHON] [--fetch-missing-python] package pipx reinstall: error: argument --python: expected one argument

(base) C:\Users\eunjo>pipx reinstall LabGym --python 3.11.7 ⚠️ No executable for the provided Python version '3.11.7' found in py launcher. Please make sure the provided version is listed when running py --list.

(base) C:\Users\eunjo>LabGym 'LabGym' is not recognized as an internal or external command, operable program or batch file.

yujiahu415 commented 4 months ago

Hi,

First, we have only thoroughly tested LabGym on python3.9 and 3.10. So we recommended using python3.9 or 3.10.

Second, why do you need reinstall LabGym? Can you make sure LabGym is installed successfully? You can follow the steps in the installation instructions: https://labgym.readthedocs.io/en/stable/installation/windows.html. And let me know if it still doesn't work.

eunjoy21 commented 4 months ago

Hi Yujia,

Thank you so much for your prompt response! After installing Python 3.10, everything worked! Thanks a lot!

Best, Eunjoo

From: Yujia Hu @.> Sent: Friday, May 10, 2024 8:37 PM To: umyelab/LabGym @.> Cc: Kang, Eunjoo @.>; Author @.> Subject: Re: [umyelab/LabGym] Errors while installing LabGym (Issue #153)

Hi,

First, we have only thoroughly tested LabGym on python3.9 and 3.10. So we recommended using python3.9 or 3.10.

Second, why do you need reinstall LabGym? Can you make sure LabGym is installed successfully? You can follow the steps in the installation instructions: https://labgym.readthedocs.io/en/stable/installation/windows.htmlhttps://urldefense.com/v3/__https:/labgym.readthedocs.io/en/stable/installation/windows.html__;!!DZ3fjg!-OBkvnfSvG2SRlfxL4M3FTDocCGlnhprPSX4xxkifaySZwmsPKBaQ81Dvg5U-nfZKskkKGKRD3R5Q1ddDBfEIIvWZuhS$. And let me know if it still doesn't work.

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/umyelab/LabGym/issues/153*issuecomment-2105436529__;Iw!!DZ3fjg!-OBkvnfSvG2SRlfxL4M3FTDocCGlnhprPSX4xxkifaySZwmsPKBaQ81Dvg5U-nfZKskkKGKRD3R5Q1ddDBfEIGC7inot$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A34RQSPO2IXLRONRO4D5AXTZBVY4RAVCNFSM6AAAAABHRHD5O6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBVGQZTMNJSHE__;!!DZ3fjg!-OBkvnfSvG2SRlfxL4M3FTDocCGlnhprPSX4xxkifaySZwmsPKBaQ81Dvg5U-nfZKskkKGKRD3R5Q1ddDBfEIMuSCdG3$. You are receiving this because you authored the thread.Message ID: @.**@.>>

yujiahu415 commented 4 months ago

Thanks for letting me know this!