We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Fresh install with Python 3.11.2:
pi@pi-HPSU:~/pyHPSU $ pyHPSU.py -d ELM327 -h Traceback (most recent call last): File "/usr/bin/pyHPSU.py", line 338, in <module> main(sys.argv[1:]) File "/usr/bin/pyHPSU.py", line 223, in main n_hpsu = HPSU(driver=driver, logger=logger, port=port, cmd=cmd, lg_code=lg_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/HPSU/HPSU.py", line 53, in __init__ with open(commands_hpsu, 'rU',encoding='utf-8') as csvfile: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid mode: 'rU'
Looks like mode 'U' is deprecated in 3.11. There are quite a few more errors when running 3.11
Reverting to 3.10 solved the problem.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Fresh install with Python 3.11.2:
pi@pi-HPSU:~/pyHPSU $ pyHPSU.py -d ELM327 -h Traceback (most recent call last): File "/usr/bin/pyHPSU.py", line 338, in <module> main(sys.argv[1:]) File "/usr/bin/pyHPSU.py", line 223, in main n_hpsu = HPSU(driver=driver, logger=logger, port=port, cmd=cmd, lg_code=lg_code) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/HPSU/HPSU.py", line 53, in __init__ with open(commands_hpsu, 'rU',encoding='utf-8') as csvfile: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid mode: 'rU'
Looks like mode 'U' is deprecated in 3.11. There are quite a few more errors when running 3.11
Reverting to 3.10 solved the problem.
The text was updated successfully, but these errors were encountered: