Closed shadows5522 closed 1 year ago
Hey ! It looks like you can't import the packages with the Python version you have, you should try with a higher Version (I have Python3.10 in my case) You should also check that you have set the path of Python in your environment variable. Tell me if it's working better after that ;)
Thank you so much for the rapid reply! I installed both python 3.11 and python 3.10, neither of those gave a different result. What version of lcu driver are you using? For my first run on a new python installation, it seems to maybe function as intended? The cursor goes on the next line and the command line stays still, but any run after the first yields the ValueError.
Don't worry haha
I just updated the lcu_driver and it seems to work well on my side I think the most likely thing which cause a problem is that your PATH variable of Python did not set properly : this is how you do Also, lauching the bat file after League Of Legends is opened works better If it's still not working I have updated the bat file, try it again and let me know ;)
File "C:\Users\x\Downloads\league auto\main.py", line 127, in
connector.start()
File "C:\Users\x\AppData\Local\Programs\Python\Python39\lib\site-packages\lcu_driver\connector.py", line 53, in start
wrapper()
File "C:\Users\x\AppData\Local\Programs\Python\Python39\lib\site-packages\lcu_driver\connector.py", line 46, in wrapper
self.create_connection(connection)
File "C:\Users\x\AppData\Local\Programs\Python\Python39\lib\site-packages\lcu_driver\connector.py", line 25, in create_connection
connection = Connection(self, process_or_string)
File "C:\Users\x\AppData\Local\Programs\Python\Python39\lib\site-packages\lcu_driver\connection.py", line 37, in init
process_args = parse_cmdline_args(process_or_string.cmdline())
File "C:\Users\x\AppData\Local\Programs\Python\Python39\lib\site-packages\lcu_driver\utils.py", line 10, in parse_cmdline_args
key, value = cmdline_arg[2:].split('=')
ValueError: too many values to unpack (expected 2)