Skip to content
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

fatal error: Python.h: No such file or directory #1

Closed
joshunger opened this issue Nov 19, 2018 · 3 comments
Closed

fatal error: Python.h: No such file or directory #1

joshunger opened this issue Nov 19, 2018 · 3 comments

Comments

@joshunger
Copy link

config.yml

version: 2.1

orbs:
  aws-s3: circleci/aws-s3@1.0.1

jobs:
  build:
    docker:
      - image: circleci/node
    steps:
      - aws-s3/copy:
...
    ext/_yaml.c:4:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
@joshunger
Copy link
Author

This fixed the issue -

    steps:
      - run: sudo apt-get install python-dev
      - aws-s3/copy:
...

@iynere
Copy link
Contributor

iynere commented Jan 8, 2019

@iynere iynere closed this as completed Jan 8, 2019
@iynere
Copy link
Contributor

iynere commented Jan 8, 2019

feel free to file your issue against that repo—& sorry for the long reply !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants