-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: No matching distribution found for promptflow #3895
Comments
Added these two lines, used our proxy and was able to pass the docker build ENV HTTP_PROXY=http://17x.xx.xx.xx0:13xx5 RUN echo "[global]\ntrusted-host = pypi.org pypi.python.org files.pythonhosted.org\n" > /etc/pip.conf Note : this will create issue when the docker image starts up in prod. related : #3899 |
update - the above may not be a correct approach, as it failed for me in the server start up in the portal. --- --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org my changes are below RUN apt-get update && apt-get install -y runit gcc create conda environmentRUN conda create -n promptflow-serve python=3.9.16 pip=23.0.1 -q -y && |
Hi Team,
I am getting the below error at the build step, did any one else faced this issue ?
Kindly help.
23.81 ERROR: Could not find a version that satisfies the requirement promptflow>=0.2.0 (from versions: none)
23.81 ERROR: No matching distribution found for promptflow>=0.2.0
23.81
23.81 ERROR conda.cli.main_run:execute(125):
conda run pip install -r /flow/requirements.txt
failed. (See above for error)#14 33.90 ERROR: Could not find a version that satisfies the requirement promptflow (from versions: none)
#14 33.90 ERROR: No matching distribution found for promptflow
#14 33.90
#14 33.90 ERROR conda.cli.main_run:execute(125):
conda run pip install promptflow
failed. (See above for error)#14 33.90
#14 33.90 ERROR conda.cli.main_run:execute(125):
conda run conda run -n promptflow-serve pip install promptflow
failed. (See above for error)#14 33.90 Could not fetch URL https://pypi.org/simple/promptflow/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/promptflow/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1129)'))) - skipping
#14 33.90 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(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1129)'))) - skipping
/flow/requirements.txt
promptflow>=0.2.0
promptflow-tools
---PS C:\PromptFlow> docker build --no-cache -t my-image12 . --progress=plain --debug
full error
The text was updated successfully, but these errors were encountered: