Tried to upgrade from 2023 to 2024. Followed the instructions in the documentation. Each time I try to run robot py I get the following as an error message from what I assume to be the package itself. I upgraded pip to the current version running python 3.11
C:\Users\KHSRo>py -3 -m robotpy
Traceback (most recent call last):
File "C:\Users\KHSRo\AppData\Local\Programs\Python\Python311\Lib\site-packages\robotpy\main.py", line 245, in main
cmd_class = entry_point.load()
^^^^^^^^^^^^^^^^^^
File "C:\Users\KHSRo\AppData\Local\Programs\Python\Python311\Lib\importlib\metadata\__init__.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\KHSRo\AppData\Local\Programs\Python\Python311\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\Users\KHSRo\AppData\Local\Programs\Python\Python311\Lib\site-packages\robotpy_installer\cli_deploy.py", line 18, in <module>
from . import pypackages, pyproject, roborio_utils, sshcontroller
File "C:\Users\KHSRo\AppData\Local\Programs\Python\Python311\Lib\site-packages\robotpy_installer\pypackages.py", line 10, in <module>
from packaging.metadata import Metadata
ModuleNotFoundError: No module named 'packaging.metadata'
Plugin error detected in 'EntryPoint(name='deploy', value='robotpy_installer.cli_deploy:Deploy', group='robotpy')' (use --ignore-plugin-errors to ignore this)
Problem description
Tried to upgrade from 2023 to 2024. Followed the instructions in the documentation. Each time I try to run robot py I get the following as an error message from what I assume to be the package itself. I upgraded pip to the current version running python 3.11
Operating System
Windows
Installed Python Packages
Reproducible example code