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
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Extra Pip Arguments didn't worked as shown on documentation. #776

Unanswered
aiglesiasn asked this question in Q&A
Discussion options

Hi!

I was trying to add a couple of pip arguments but using the documentation example didn't work. This didn't work:

pipCmdExtraArgs:
 - --platform manylinux2014_aarch64
 - '--only-binary=:all:'
pipCmdExtraArgs:
 - '--platform manylinux2014_aarch64'
 - --only-binary=:all:
pipCmdExtraArgs:
 - '--platform manylinux2014_aarch64'
 - '--only-binary=:all:'

I was getting an error on docker that none of those options were valid.
I'm on a Intel Mac mini and I tried it with homebrew python3.10 and also venv python3.10. I even try it inside a docker container with ubuntu image, but didn't work.

What end up working was using this:

pipCmdExtraArgs: ['--platform', 'manylinux2014_aarch64', '--only-binary=:all:']

Has anyone else have since this? Should documentation be changed?

I'm on:

node v14.20.1
npm 6.14.18
sls:
Framework Core: 3.31.0
Plugin: 6.2.3
SDK: 4.3.2
You must be logged in to vote

Replies: 1 comment

Comment options

It's actually 3 cmd line args to pip, right?. So did you try the following?

  • '--platform'
  • 'manylinux2014_aarch64'
  • '--only-binary=:all:'
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 によって変換されたページ (->オリジナル) /