frappevm@frappevm-VirtualBox:~$ cd frappe-bench
frappevm@frappevm-VirtualBox:~/frappe-bench$ bench --setup requirments
Traceback (most recent call last):
File “”, line 189, in _run_module_as_main
File “”, line 112, in _get_module_details
File “/home/frappevm/frappe-bench/apps/frappe/frappe/init.py”, line 1375, in
@whitelist(methods=["POST", "PUT"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappevm/frappe-bench/apps/frappe/frappe/init.py”, line 787, in innerfn
from frappe.utils.typing_validations import validate_argument_types
File “/home/frappevm/frappe-bench/apps/frappe/frappe/utils/typing_validations.py”, line 7, in
from pydantic import ConfigDict
ImportError: cannot import name ‘ConfigDict’ from ‘pydantic’ (/home/frappevm/frappe-bench/env/lib/python3.11/site-packages/pydantic/init.py)
Traceback (most recent call last):
File “”, line 189, in _run_module_as_main
File “”, line 112, in _get_module_details
File “/home/frappevm/frappe-bench/apps/frappe/frappe/init.py”, line 1375, in
@whitelist(methods=["POST", "PUT"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappevm/frappe-bench/apps/frappe/frappe/init.py”, line 787, in innerfn
from frappe.utils.typing_validations import validate_argument_types
File “/home/frappevm/frappe-bench/apps/frappe/frappe/utils/typing_validations.py”, line 7, in
from pydantic import ConfigDict
ImportError: cannot import name ‘ConfigDict’ from ‘pydantic’ (/home/frappevm/frappe-bench/env/lib/python3.11/site-packages/pydantic/init.py)
frappevm@frappevm-VirtualBox:~/frappe-bench$