на другом ноуте вот такую ошибку выдает:
Installing build dependencies … error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─>
Collecting setuptools==59.2.0
Using cached setuptools-59.2.0-py3-none-any.whl (952 kB)
Collecting wheel==0.38.1
Using cached wheel-0.38.1-py3-none-any.whl (35 kB)
Collecting Cython<3.0,>=0.29.34
Obtaining dependency information for Cython<3.0,>=0.29.34 from
https://files.pythonhosted.org/packages/3f/d6/9eed523aeaca42acbaa3e6d3850edae780dc7f8da9df1bf6a2ceb851839c/Cython-0.29.36-py2.py3-none-any.whl.metadata Using cached Cython-0.29.36-py2.py3-none-any.whl.metadata (3.1 kB)
Using cached Cython-0.29.36-py2.py3-none-any.whl (988 kB)
Installing collected packages: wheel, setuptools, Cython
Successfully installed Cython-0.29.36 setuptools-59.2.0 wheel-0.38.1
Traceback (most recent call last):
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/__pip-runner__.py”, line 50, in <module>
runpy.run_module(“pip”, run_name=“__main__”, alter_sys=True)
File “<frozen runpy>”, line 226, in run_module
File “<frozen runpy>”, line 98, in _run_module_code
File “<frozen runpy>”, line 88, in _run_code
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/__main__.py”, line 24, in <module>
sys.exit(_main())
^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/cli/main.py”, line 79, in main
return command.main(cmd_args)
^^^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py”, line 100, in main
with self.main_context():
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 144, in __exit__
next(self.gen)
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/cli/command_context.py”, line 19, in main_context
with self._main_context:
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 589, in __exit__
raise exc_details
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 574, in __exit__
if cb(*exc_details):
^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 144, in __exit__
next(self.gen)
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 31, in global_tempdir_manager
with ExitStack() as stack:
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 589, in __exit__
raise exc_details
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 574, in __exit__
if cb(*exc_details):
^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 156, in __exit__
self.cleanup()
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 173, in cleanup
rmtree(self._path)
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 291, in wrapped_f
return self(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 381, in __call__
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 327, in iter
raise retry_exc.reraise()
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 160, in reraise
raise self.last_attempt.result()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 401, in __get_result
raise self._exception
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 384, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py”, line 128, in rmtree
shutil.rmtree(dir, ignore_errors=ignore_errors, onexc=rmtree_errorhandler)
TypeError: rmtree() got an unexpected keyword argument ‘onexc’
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Traceback (most recent call last):
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 34, in global_tempdir_manager
yield
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 574, in __exit__
if cb(*exc_details):
^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 144, in __exit__
next(self.gen)
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/operations/build/build_tracker.py”, line 44, in get_build_tracker
with contextlib.ExitStack() as ctx:
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 589, in __exit__
raise exc_details
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 574, in __exit__
if cb(*exc_details):
^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 156, in __exit__
self.cleanup()
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 173, in cleanup
rmtree(self._path)
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 291, in wrapped_f
return self(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 381, in __call__
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 327, in iter
raise retry_exc.reraise()
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 160, in reraise
raise self.last_attempt.result()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 401, in __get_result
raise self._exception
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 384, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py”, line 128, in rmtree
shutil.rmtree(dir, ignore_errors=ignore_errors, onexc=rmtree_errorhandler)
TypeError: rmtree() got an unexpected keyword argument ‘onexc’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 574, in __exit__
if cb(*exc_details):
^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 156, in __exit__
self.cleanup()
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 173, in cleanup
rmtree(self._path)
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 291, in wrapped_f
return self(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 381, in __call__
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 327, in iter
raise retry_exc.reraise()
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 160, in reraise
raise self.last_attempt.result()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 401, in __get_result
raise self._exception
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 384, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py”, line 128, in rmtree
shutil.rmtree(dir, ignore_errors=ignore_errors, onexc=rmtree_errorhandler)
TypeError: rmtree() got an unexpected keyword argument ‘onexc’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 574, in __exit__
if cb(*exc_details):
^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 156, in __exit__
self.cleanup()
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 173, in cleanup
rmtree(self._path)
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 291, in wrapped_f
return self(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 381, in __call__
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 327, in iter
raise retry_exc.reraise()
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 160, in reraise
raise self.last_attempt.result()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 401, in __get_result
raise self._exception
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 384, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py”, line 128, in rmtree
shutil.rmtree(dir, ignore_errors=ignore_errors, onexc=rmtree_errorhandler)
TypeError: rmtree() got an unexpected keyword argument ‘onexc’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 574, in __exit__
if cb(*exc_details):
^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 156, in __exit__
self.cleanup()
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 173, in cleanup
rmtree(self._path)
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 291, in wrapped_f
return self(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 381, in __call__
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 327, in iter
raise retry_exc.reraise()
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 160, in reraise
raise self.last_attempt.result()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 401, in __get_result
raise self._exception
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 384, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py”, line 128, in rmtree
shutil.rmtree(dir, ignore_errors=ignore_errors, onexc=rmtree_errorhandler)
TypeError: rmtree() got an unexpected keyword argument ‘onexc’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 574, in __exit__
if cb(*exc_details):
^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 156, in __exit__
self.cleanup()
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 173, in cleanup
rmtree(self._path)
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 291, in wrapped_f
return self(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 381, in __call__
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 327, in iter
raise retry_exc.reraise()
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 160, in reraise
raise self.last_attempt.result()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 401, in __get_result
raise self._exception
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 384, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py”, line 128, in rmtree
shutil.rmtree(dir, ignore_errors=ignore_errors, onexc=rmtree_errorhandler)
TypeError: rmtree() got an unexpected keyword argument ‘onexc’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/bin/pip”, line 8, in <module>
sys.exit(main())
^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/cli/main.py”, line 79, in main
return command.main(cmd_args)
^^^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py”, line 100, in main
with self.main_context():
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 144, in __exit__
next(self.gen)
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/cli/command_context.py”, line 19, in main_context
with self._main_context:
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 589, in __exit__
raise exc_details
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 574, in __exit__
if cb(*exc_details):
^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 155, in __exit__
self.gen.throw(value)
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 31, in global_tempdir_manager
with ExitStack() as stack:
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 589, in __exit__
raise exc_details
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py”, line 574, in __exit__
if cb(*exc_details):
^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 156, in __exit__
self.cleanup()
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/temp_dir.py”, line 173, in cleanup
rmtree(self._path)
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 291, in wrapped_f
return self(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 381, in __call__
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 327, in iter
raise retry_exc.reraise()
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 160, in reraise
raise self.last_attempt.result()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/futures/_base.py”, line 401, in __get_result
raise self._exception
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_vendor/tenacity/__init__.py”, line 384, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File “/Users/zaboev_family/PycharmProjects/pythonProject/venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py”, line 128, in rmtree
shutil.rmtree(dir, ignore_errors=ignore_errors, onexc=rmtree_errorhandler)
TypeError: rmtree() got an unexpected keyword argument ‘onexc’