building '_openssl' extension
creating build/temp.linux-i686-3.4/build
creating build/temp.linux-i686-3.4/build/temp.linux-i686-3.4
i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c build/temp.linux-i686-3.4/_openssl.c -o build/temp.linux-i686-3.4/build/temp.linux-i686-3.4/_openssl.o
build/temp.linux-i686-3.4/_openssl.c:12:24: fatal error: pyconfig.h: No such file or directory
# include <pyconfig.h>
^
compilation terminated.
error: command 'i686-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5mlym1r5/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-d2s3mvxy-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-5mlym1r5/cryptography/
install yotta error
-
- Posts: 363
- Joined: Sun Apr 17, 2016 1:55 pm
install yotta error
When I install yotta in ubuntu, it get error as below. How to solve this problem?
Re: install yotta error
I think you need python-devel installed.
-
- Posts: 363
- Joined: Sun Apr 17, 2016 1:55 pm
Re: install yotta error
I have try to install last version python-dev 3.6.0b1, get same result.deshipu wrote:I think you need python-devel installed.
Re: install yotta error
Actually, that file is part of libpython, which should be installed together with python itself (see http://packages.ubuntu.com/search?searc ... l&arch=any). Are you sure you have the correct version of python installed in your system?
-
- Posts: 363
- Joined: Sun Apr 17, 2016 1:55 pm
Re: install yotta error
Yes, I have install libpython, and I install both python 2.7.12 and python 3.5.deshipu wrote:Actually, that file is part of libpython, which should be installed together with python itself (see http://packages.ubuntu.com/search?searc ... l&arch=any). Are you sure you have the correct version of python installed in your system?