Unable to deploy Python package because PIP cannot update
Hi there,
I am trying to deploy Windows, macOS python builds and the following error appears in the AppVeyor console:
[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Command exited with code 1
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 29 Nov, 2023 05:51 PM
Could you drop a link to a build please?
2 Posted by Christopher Aca... on 29 Nov, 2023 10:27 PM
Support Staff 3 Posted by Feodor Fitsner on 29 Nov, 2023 10:53 PM
Yep, thanks. Looking into that.
Support Staff 4 Posted by Feodor Fitsner on 29 Nov, 2023 10:57 PM
So, the error says
==
should be used instead of=
insiderequirements.txt
.Also, I don't think it makes sense to put pip requirement into
requirements.txt
at all.To upgrade pip during the build though add this as a first step of
install
phase:Hope that helps.
Feodor Fitsner closed this discussion on 30 Jan, 2024 09:03 PM.