У меня есть машина, которая в конечном итоге будет изолирована от воздуха. Пытаюсь ускорить процесс установки. При этом моя процедура прямо сейчас включала переход на ту же рабочую машину и использование pip Free для создания файла require.txt
Я затем на целевой машине , поместите требования.txt. Я временно включил интернет для проверки. Я загрузил пакет в файл require.txt, чтобы получить пакеты. Затем я отключил Интернет и попробовал pip install --no-index --find-links=. require.txt
Первые несколько пакетов он устанавливает нормально, но затем некоторые из них загружаются и
Код: Выделить всё
Processing ./ansible-vault-2.1.0.tar.gz (from -r requirements.txt (line 3))
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [4 lines of output]
Looking in links: .
Processing ./setuptools-68.2.2-py3-none-any.whl
ERROR: Could not find a version that satisfies the requirement wheel (from versions: none)
ERROR: No matching distribution found for wheel
[end of output]
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.
Спасибо
Подробнее здесь: https://stackoverflow.com/questions/771 ... ccessfully