bayasdev / envycontrol

Easy GPU switching for Nvidia Optimus laptops under Linux
https://bayas.dev/envycontrol
MIT License
1.18k stars 60 forks source link

[BUG] Envycontrol is broken with python versions > 3.10.10 #103

Closed DreamingCuttlefish closed 1 year ago

DreamingCuttlefish commented 1 year ago

Describe the bug Envycontrol displays an error message instead of working with python versions > 3.10.10 is installed

To Reproduce Steps to reproduce the behavior:

  1. Install python 3.11.3
  2. run envycontrol (with or without flags)
  3. See error

Expected behavior I expected envycontrol to not produce this error.

Screenshots The error: Screenshot_20230508_011324

System Information:

When I downgraded python to 3.10.10 it worked fine again.

gaming128 commented 1 year ago

yeah im also getting this bug image

bayasdev commented 1 year ago

@DreamingCuttlefish @gaming128 please try https://github.com/Askannz/optimus-manager/issues/541#issuecomment-1535547428

DreamingCuttlefish commented 1 year ago

@bayasdev thanks very much, it works!!!!