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

error with install #101

@semasping

Description

@semasping

hello,
i have error after
pip3 install piston-lib piston-cli

Output:

Collecting piston-lib
  Using cached piston_lib-0.5.4-py3-none-any.whl
Collecting piston-cli
  Using cached piston-cli-0.5.1.tar.gz
Requirement already satisfied: funcy in /usr/lib/python3.4/site-packages (from piston-lib)
Collecting websockets>=2.0 (from piston-lib)
  Using cached websockets-3.3-py33.py34.py35.py36-none-any.whl
Requirement already satisfied: diff-match-patch>=20121119 in /usr/lib/python3.4/site-packages (from piston-lib)
Requirement already satisfied: appdirs>=1.4.0 in /usr/lib/python3.4/site-packages (from piston-lib)
Collecting scrypt>=0.7.1 (from piston-lib)
  Using cached scrypt-0.8.0.tar.gz
Requirement already satisfied: python-frontmatter>=0.2.1 in /usr/lib/python3.4/site-packages (from piston-lib)
Collecting pycrypto>=2.6.1 (from piston-lib)
  Using cached pycrypto-2.6.1.tar.gz
Requirement already satisfied: graphenelib>=0.5.1 in /usr/lib/python3.4/site-packages (from piston-lib)
Collecting prettytable==0.7.2 (from piston-cli)
  Using cached prettytable-0.7.2.zip
Collecting colorama==0.3.6 (from piston-cli)
  Using cached colorama-0.3.6-py2.py3-none-any.whl
Requirement already satisfied: PyYAML in /usr/lib64/python3.4/site-packages (from python-frontmatter>=0.2.1->piston-lib)
Requirement already satisfied: six in /usr/lib/python3.4/site-packages (from python-frontmatter>=0.2.1->piston-lib)
Requirement already satisfied: requests in /usr/lib/python3.4/site-packages (from graphenelib>=0.5.1->piston-lib)
Requirement already satisfied: ecdsa in /usr/lib/python3.4/site-packages (from graphenelib>=0.5.1->piston-lib)
Requirement already satisfied: pylibscrypt in /usr/lib/python3.4/site-packages (from graphenelib>=0.5.1->piston-lib)
Requirement already satisfied: websocket-client in /usr/lib/python3.4/site-packages (from graphenelib>=0.5.1->piston-lib)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.4/site-packages (from requests->graphenelib>=0.5.1->piston-lib)
Requirement already satisfied: urllib3<1.22,>=1.21.1 in /usr/lib/python3.4/site-packages (from requests->graphenelib>=0.5.1->piston-lib)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python3.4/site-packages (from requests->graphenelib>=0.5.1->piston-lib)
Requirement already satisfied: idna<2.6,>=2.5 in /usr/lib/python3.4/site-packages (from requests->graphenelib>=0.5.1->piston-lib)
Installing collected packages: websockets, scrypt, pycrypto, piston-lib, prettytable, colorama, piston-cli
  Running setup.py install for scrypt ... error
    Complete output from command /usr/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-v0ps9dgz/scrypt/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-zqez_r8v-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.4
    copying scrypt.py -> build/lib.linux-x86_64-3.4
    running build_ext
    building '_scrypt' extension
    creating build/temp.linux-x86_64-3.4
    creating build/temp.linux-x86_64-3.4/src
    creating build/temp.linux-x86_64-3.4/scrypt-1.2.0
    creating build/temp.linux-x86_64-3.4/scrypt-1.2.0/lib
    creating build/temp.linux-x86_64-3.4/scrypt-1.2.0/lib/crypto
    creating build/temp.linux-x86_64-3.4/scrypt-1.2.0/lib/scryptenc
    creating build/temp.linux-x86_64-3.4/scrypt-1.2.0/lib/util
    creating build/temp.linux-x86_64-3.4/scrypt-1.2.0/libcperciva
    creating build/temp.linux-x86_64-3.4/scrypt-1.2.0/libcperciva/alg
    creating build/temp.linux-x86_64-3.4/scrypt-1.2.0/libcperciva/crypto
    creating build/temp.linux-x86_64-3.4/scrypt-1.2.0/libcperciva/util

gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.4m -c src/scrypt.c -o build/temp.linux-x86_64-3.4/src/scrypt.o -O2
    src/scrypt.c:27:20: fatal error: Python.h: No such file or directory
     #include <Python.h>
                        ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    

Command "/usr/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-v0ps9dgz/scrypt/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-zqez_r8v-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-v0ps9dgz/scrypt/

i`am new python user

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