Skip to content
This repository was archived by the owner on Mar 12, 2021. It is now read-only.
This repository was archived by the owner on Mar 12, 2021. It is now read-only.

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

Description

@themystically

sudo ./build.sh 148 ⨯ 3 ⚙
Torghost installer v3.0
Installing prerequisites
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (20.1.1-2).
tor is already the newest version (0.4.4.6-1).
0 upgraded, 0 newly installed, 0 to remove and 311 not upgraded.
Installing dependencies
Requirement already satisfied: stem>=1.7.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1)) (1.8.0)
Requirement already satisfied: requests>=2.22.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (2.24.0)
Requirement already satisfied: cython in /usr/lib/python3/dist-packages (from -r requirements.txt (line 3)) (0.29.21)
mkdir: cannot create directory ‘build’: File exists
Compiling /home/jonny/torghost/torghost.py
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/jonny/torghost/torghost.py
tree = Parsing.p_module(s, pxd, full_module_name)
[SUCCESS] Generated C code
torghost.c:4:10: fatal error: Python.h: No such file or directory
4 | #include "Python.h"
| ^~~~~~~~~~
compilation terminated.
[ERROR] Build failed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions