0
개인 pypi 서버를 만들고 작동 중입니다.하지만 거기에 넣은 패키지에는 공식 pypi의 일부 요구 사항이 있지만 개인 패키지를 설치하려고하면 install_requires
내 개인 저장소에서 외부 종속성을 찾으려고 노력합니다 (로그에서이를 보았습니다). 내가 로컬 패키지를 생성하고 작동 및 의존성이 공식 pypi 저장소에서 발견되는개인 pypi의 패키지가 요구 사항을 찾지 못함
pip install -U package.tar.gz
같이 설치하려고
.무엇이 놓치나요? 내가 볼
Downloading/unpacking mypackage
http://127.0.0.1:8000/pypi/mypackage/ uses an insecure transport scheme (http). Consider using https if 127.0.0.1:8000 has it available
Downloading mypackage-1.0.tar.gz (399kB): 399kB downloaded
Running setup.py (path:/tmp/pip-build-LjFfGj/mypackage/setup.py) egg_info for package mypackage
Downloading/unpacking feedparser (from mypackage)
http://127.0.0.1:8000/pypi/feedparser/ uses an insecure transport scheme (http). Consider using https if 127.0.0.1:8000 has it available
Could not find any downloads that satisfy the requirement feedparser (from mypackage)
Cleaning up...
No distributions at all found for feedparser (from mypackage)
Storing debug log for failure in /home/rodolpho/.pip/pip.log
그리고 로그 :
python setup.py sdist upload -r http://127.0.0.1:8000/sample/
pip install -i http://127.0.0.1:8000/pypi/
그리고 내가 갖는 :
Downloading/unpacking feedparser (from mypackage)
Getting page http://127.0.0.1:8000/pypi/feedparser/
Could not fetch URL http://127.0.0.1:8000/pypi/feedparser/: 404 Client Error: Not Found
'--extra-index-url https : // pypi.python.org/pypi'를'pip install' 명령에 추가 해보십시오. [here] (https://pip.pypa.io/en/stable/reference/pip_wheel/#cmdoption--extra-index-url)를 참조하십시오. –
@ AlbertoGarcia-Raboso, 감사합니다. –
좋습니다! 내 의견을 답으로 추가하겠습니다. –