Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Install packages from local pypi server #698

Unanswered
tobiderfisch asked this question in Q&A
Discussion options

Is it at all possible to install packages from a custom pypi server address?
I want to install a python package from a pypi server running in my local network. I have added the server's address into the pip.conf of my homeassistant installation and using pip install [package name] works fine on the command line. However addint [package name] to the requirements.txt file in the config/pyscript directory always results in an error" homeassistant.requirements.RequirementsNotFound: Requirements for pyscript not found: ['my_custom_package'].

Is there a way to add my own pypi server to the list of URLs pyscript checks against when finding packages to install?

You must be logged in to vote

Replies: 1 comment

Comment options

This might help a bit :
https://pip.pypa.io/en/stable/reference/requirements-file-format
though that is more installing from https or git rather than a pypy repo

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /