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

amazon linux: Running setup.py install for pyethash ... error #137

Open
sabotagebeats opened this issue Mar 31, 2023 · 0 comments
Open

amazon linux: Running setup.py install for pyethash ... error #137

sabotagebeats opened this issue Mar 31, 2023 · 0 comments

Comments

@sabotagebeats
Copy link

$ uname -a
Linux ip-[redacted].ec2.internal 6.1.19-30.43.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Mar 15 14:44:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Running setup.py install for pyethash ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for pyethash did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      /home/ec2-user/.pyenv/versions/ape/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      src/python/core.c:1:10: fatal error: Python.h: No such file or directory
          1 | #include <Python.h>
            |          ^~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
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

1 participant