Skip to content

Invalid python interpreter but only on Github actions? #1677

Closed Answered by ChristopherRabotin
ChristopherRabotin asked this question in Q&A
Discussion options

You must be logged in to vote

The fact that it suddenly didn't work is a hint I should have understood immediately since I'm using opensuse tumbleweed. It turns out that python 3.10 is no longer in the path as python3 but as python3.10.

Using -i python3.10 was sufficient to fix the issue.

As such, the command in the docker container becomes:
CMD ["maturin", "build", "-F", "python", "--release", "-i", "python3.10"]

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

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