Найти - Пользователи
Полная версия: Проблемы с установкой Numpy
Начало » Центр помощи » Проблемы с установкой Numpy
1
@KZ
При установке в Pycharm вот такое сообщение выводит:

Could not fetch URL https://pypi.org/simple/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by SSLError(“Can't connect to HTTPS URL because the SSL module is not available.”)) - skipping
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(“Can't connect to HTTPS URL because the SSL module is not available.”)) - skipping

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)': /simple/numpy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)': /simple/numpy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)': /simple/numpy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)': /simple/numpy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)': /simple/numpy/
ERROR: Could not find a version that satisfies the requirement numpy (from versions: none)
ERROR: No matching distribution found for numpy
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
py.user.next
Пробуй разные способы установки питона с поддержкой SSL
https://stackoverflow.com/questions/41328451/ssl-module-in-python-is-not-available-when-installing-package-with-pip3
@KZ
на другом ноуте вот такую ошибку выдает:

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’
py.user.next
Начни с начала. Удали PyCharm, Python, Cython. И потом поставь сначала Python, а потом PyCharm.

@KZ
TypeError: rmtree() got an unexpected keyword argument ‘onexc’
У тебя просто версии не совпадают, потому что ты всякой херни понаставил, не понимая, что ты делаешь. И теперь оно не может понять, как там что поставить.
@KZ

py.user.next
Начни с начала. Удали PyCharm, Python, Cython. И потом поставь сначала Python, а потом PyCharm.
Ну что уж сразу хрени ))) Стояла последняя версия питона с которой нампи пока не дружит. Откатился на пару версий назад и все заработало!!!
@KZ
@KZ
При установке в Pycharm вот такое сообщение выводит:Could not fetch URL https://pypi.org/simple/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by SSLError(“Can't connect to HTTPS URL because the SSL module is not available.”)) - skippingCould not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(“Can't connect to HTTPS URL because the SSL module is not available.”)) - skippingWARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)': /simple/numpy/WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)': /simple/numpy/WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)': /simple/numpy/WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)': /simple/numpy/WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)': /simple/numpy/ERROR: Could not find a version that satisfies the requirement numpy (from versions: none)ERROR: No matching distribution found for numpyWARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.



а тут решил установкой через терминал запуская команду из папки где находится питон пайчармовский
rabic


а тут решил установкой через терминал запуская команду из папки где находится питон пайчармовский
Можешь запустить, я пробовал, но не получается.

https://python.su/forum/topic/42964/snow rider 3d

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB