Skip to content

Instantly share code, notes, and snippets.

@theblacksquid
Created November 9, 2014 22:45
Show Gist options
  • Save theblacksquid/9ab98871457a8820f399 to your computer and use it in GitHub Desktop.
Save theblacksquid/9ab98871457a8820f399 to your computer and use it in GitHub Desktop.
setup.py egg_info failed with error code 1
user@user-HP-14-Notebook-PC:~$ cd OpenBazaar
user@user-HP-14-Notebook-PC:~/OpenBazaar$ ./configure.sh
+ sudo apt-get update
[sudo] password for user:
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main amd64 Packages
Hit http://dl.google.com stable/main i386 Packages
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://extras.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com trusty Release.gpg
Ign http://ppa.launchpad.net trusty InRelease
Ign http://archive.canonical.com precise InRelease
Hit http://extras.ubuntu.com trusty Release
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com precise Release.gpg
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com precise Release
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.canonical.com precise/partner Sources
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.canonical.com precise/partner amd64 Packages
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty Release
Ign http://archive.canonical.com precise/partner Translation-en
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty Release
Ign http://archive.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Ign http://archive.ubuntu.com trusty-backports InRelease
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://archive.ubuntu.com trusty-security InRelease
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://archive.ubuntu.com trusty Release.gpg
Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:2 http://archive.ubuntu.com trusty-backports Release.gpg [933 B]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty-security Release.gpg
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://archive.ubuntu.com trusty Release
Get:3 http://archive.ubuntu.com trusty-updates Release [62.0 kB]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Get:4 http://archive.ubuntu.com trusty-backports Release [62.0 kB]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://archive.ubuntu.com trusty-security Release
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/multiverse Sources
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:5 http://archive.ubuntu.com trusty-updates/universe Sources [89.3 kB]
Get:6 http://archive.ubuntu.com trusty-updates/multiverse Sources [3,517 B]
Get:7 http://archive.ubuntu.com trusty-updates/main Sources [136 kB]
Get:8 http://archive.ubuntu.com trusty-updates/restricted Sources [1,408 B]
Get:9 http://archive.ubuntu.com trusty-updates/main amd64 Packages [356 kB]
Get:10 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [5,820 B]
Get:11 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [217 kB]
Get:12 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [9,365 B]
Get:13 http://archive.ubuntu.com trusty-updates/main i386 Packages [349 kB]
Get:14 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [5,820 B]
Get:15 http://archive.ubuntu.com trusty-updates/universe i386 Packages [217 kB]
Get:16 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [9,546 B]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Get:17 http://archive.ubuntu.com trusty-backports/main Sources [4,760 B]
Get:18 http://archive.ubuntu.com trusty-backports/restricted Sources [14 B]
Get:19 http://archive.ubuntu.com trusty-backports/universe Sources [16.1 kB]
Get:20 http://archive.ubuntu.com trusty-backports/multiverse Sources [1,883 B]
Get:21 http://archive.ubuntu.com trusty-backports/main amd64 Packages [6,356 B]
Get:22 http://archive.ubuntu.com trusty-backports/restricted amd64 Packages [14 B]
Get:23 http://archive.ubuntu.com trusty-backports/universe amd64 Packages [19.0 kB]
Get:24 http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1,231 B]
Get:25 http://archive.ubuntu.com trusty-backports/main i386 Packages [6,379 B]
Get:26 http://archive.ubuntu.com trusty-backports/restricted i386 Packages [14 B]
Get:27 http://archive.ubuntu.com trusty-backports/universe i386 Packages [19.0 kB]
Get:28 http://archive.ubuntu.com trusty-backports/multiverse i386 Packages [1,235 B]
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Get:29 http://archive.ubuntu.com trusty-backports/universe Translation-en [15.5 kB]
Hit http://archive.ubuntu.com trusty-security/universe Sources
Hit http://archive.ubuntu.com trusty-security/multiverse Sources
Hit http://archive.ubuntu.com trusty-security/main Sources
Hit http://archive.ubuntu.com trusty-security/restricted Sources
Hit http://archive.ubuntu.com trusty-security/main amd64 Packages
Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-security/main i386 Packages
Hit http://archive.ubuntu.com trusty-security/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-security/universe i386 Packages
Hit http://archive.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-security/main Translation-en
Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-security/restricted Translation-en
Hit http://archive.ubuntu.com trusty-security/universe Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Fetched 1,617 kB in 1min 23s (19.3 kB/s)
Reading package lists... Done
+ sudo apt-get install python-pip build-essential python-zmq rng-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
python-pip is already the newest version.
python-zmq is already the newest version.
rng-tools is already the newest version.
The following packages were automatically installed and are no longer required:
accountsservice-ubuntu-schemas accountsservice-ubuntu-touch-schemas
gsettings-ubuntu-touch-schemas kde-l10n-engb libofono-qt1
libonline-accounts-client1 libqgsttools-p1 libqt5multimedia5-plugins
libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5systeminfo5
libsystemsettings1 libubuntu-download-manager-client0
libubuntu-download-manager-common0 libubuntu-download-manager-priv0
libubuntuoneauth-2.0-0 linux-image-extra-3.13.0-32-generic
linux-signed-image-3.13.0-32-generic packagekit-tools python3-gnupg
qtdeclarative5-folderlistmodel-plugin qtdeclarative5-qtmultimedia-plugin
qtdeclarative5-systeminfo-plugin qtdeclarative5-ubuntuone1.0 suru-icon-theme
system-image-common system-image-dbus ubuntu-download-manager
ubuntu-keyboard-data ubuntu-purchase-service ubuntu-touch-sounds
ubuntuone-credentials-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ sudo apt-get install python-dev g++ libjpeg-dev sqlite3 openssl
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version.
libjpeg-dev is already the newest version.
python-dev is already the newest version.
sqlite3 is already the newest version.
openssl is already the newest version.
The following packages were automatically installed and are no longer required:
accountsservice-ubuntu-schemas accountsservice-ubuntu-touch-schemas
gsettings-ubuntu-touch-schemas kde-l10n-engb libofono-qt1
libonline-accounts-client1 libqgsttools-p1 libqt5multimedia5-plugins
libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5systeminfo5
libsystemsettings1 libubuntu-download-manager-client0
libubuntu-download-manager-common0 libubuntu-download-manager-priv0
libubuntuoneauth-2.0-0 linux-image-extra-3.13.0-32-generic
linux-signed-image-3.13.0-32-generic packagekit-tools python3-gnupg
qtdeclarative5-folderlistmodel-plugin qtdeclarative5-qtmultimedia-plugin
qtdeclarative5-systeminfo-plugin qtdeclarative5-ubuntuone1.0 suru-icon-theme
system-image-common system-image-dbus ubuntu-download-manager
ubuntu-keyboard-data ubuntu-purchase-service ubuntu-touch-sounds
ubuntuone-credentials-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ sudo apt-get install alien libssl-dev python-virtualenv lintian libjs-jquery
Reading package lists... Done
Building dependency tree
Reading state information... Done
alien is already the newest version.
libjs-jquery is already the newest version.
lintian is already the newest version.
python-virtualenv is already the newest version.
libssl-dev is already the newest version.
The following packages were automatically installed and are no longer required:
accountsservice-ubuntu-schemas accountsservice-ubuntu-touch-schemas
gsettings-ubuntu-touch-schemas kde-l10n-engb libofono-qt1
libonline-accounts-client1 libqgsttools-p1 libqt5multimedia5-plugins
libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5systeminfo5
libsystemsettings1 libubuntu-download-manager-client0
libubuntu-download-manager-common0 libubuntu-download-manager-priv0
libubuntuoneauth-2.0-0 linux-image-extra-3.13.0-32-generic
linux-signed-image-3.13.0-32-generic packagekit-tools python3-gnupg
qtdeclarative5-folderlistmodel-plugin qtdeclarative5-qtmultimedia-plugin
qtdeclarative5-systeminfo-plugin qtdeclarative5-ubuntuone1.0 suru-icon-theme
system-image-common system-image-dbus ubuntu-download-manager
ubuntu-keyboard-data ubuntu-purchase-service ubuntu-touch-sounds
ubuntuone-credentials-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ '[' '!' -d ./env ']'
+ ./env/bin/pip install -r requirements.txt
Downloading/unpacking IPy==0.81 (from -r requirements.txt (line 1))
Downloading IPy-0.81.tar.gz
Running setup.py (path:/home/user/OpenBazaar/env/build/IPy/setup.py) egg_info for package IPy
Downloading/unpacking Pillow==2.5.3 (from -r requirements.txt (line 2))
Downloading Pillow-2.5.3.zip (6.9MB): 6.9MB downloaded
Running setup.py (path:/home/user/OpenBazaar/env/build/Pillow/setup.py) egg_info for package Pillow
warning: no files found matching '*.bdf' under directory 'Images'
warning: no files found matching '*.fli' under directory 'Images'
warning: no files found matching '*.gif' under directory 'Images'
warning: no files found matching '*.icns' under directory 'Images'
warning: no files found matching '*.ico' under directory 'Images'
warning: no files found matching '*.jpg' under directory 'Images'
warning: no files found matching '*.pbm' under directory 'Images'
warning: no files found matching '*.pil' under directory 'Images'
warning: no files found matching '*.png' under directory 'Images'
warning: no files found matching '*.ppm' under directory 'Images'
warning: no files found matching '*.psd' under directory 'Images'
warning: no files found matching '*.tar' under directory 'Images'
warning: no files found matching '*.webp' under directory 'Images'
warning: no files found matching '*.xpm' under directory 'Images'
warning: no files found matching 'README' under directory 'Sane'
warning: no files found matching 'README' under directory 'Scripts'
warning: no files found matching '*.txt' under directory 'Tk'
Downloading/unpacking miniupnpc==1.9 (from -r requirements.txt (line 3))
Downloading miniupnpc-1.9.tar.gz (71kB): 71kB downloaded
Running setup.py (path:/home/user/OpenBazaar/env/build/miniupnpc/setup.py) egg_info for package miniupnpc
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o upnpc.o upnpc.c
/bin/sh updateminiupnpcstrings.sh
Detected OS [Ubuntu] version [14.04]
MiniUPnPc version [1.9]
setting OS_STRING macro value to Ubuntu/14.04 in miniupnpcstrings.h.
setting MINIUPNPC_VERSION_STRING macro value to 1.9 in miniupnpcstrings.h.
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o miniwget.o miniwget.c
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o minixml.o minixml.c
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o igd_desc_parse.o igd_desc_parse.c
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o minisoap.o minisoap.c
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o miniupnpc.o miniupnpc.c
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o upnpreplyparse.o upnpreplyparse.c
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o upnpcommands.o upnpcommands.c
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o upnperrors.o upnperrors.c
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o connecthostport.o connecthostport.c
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o portlistingparse.o portlistingparse.c
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o receivedata.o receivedata.c
cc -fPIC -O -Wall -W -Wstrict-prototypes -fno-common -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_POSIX_C_SOURCE=1 -ansi -c -o minissdpc.o minissdpc.c
ar crs libminiupnpc.a miniwget.o minixml.o igd_desc_parse.o minisoap.o miniupnpc.o upnpreplyparse.o upnpcommands.o upnperrors.o connecthostport.o portlistingparse.o receivedata.o minissdpc.o
cc -o upnpc-static upnpc.o libminiupnpc.a
Downloading/unpacking psutil==2.1.3 (from -r requirements.txt (line 4))
Downloading psutil-2.1.3.tar.gz (224kB): 224kB downloaded
Running setup.py (path:/home/user/OpenBazaar/env/build/psutil/setup.py) egg_info for package psutil
warning: no previously-included files matching '*' found under directory 'docs/_build'
Downloading/unpacking bitcoin==1.1.15 (from -r requirements.txt (line 5))
Downloading bitcoin-1.1.15.tar.gz
Running setup.py (path:/home/user/OpenBazaar/env/build/bitcoin/setup.py) egg_info for package bitcoin
Downloading/unpacking pycountry==1.8 (from -r requirements.txt (line 6))
Downloading pycountry-1.8.zip (8.1MB): 8.1MB downloaded
Running setup.py (path:/home/user/OpenBazaar/env/build/pycountry/setup.py) egg_info for package pycountry
warning: no previously-included files matching 'src/pycountry' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Downloading/unpacking pyelliptic==1.5.5 (from -r requirements.txt (line 7))
Downloading pyelliptic-1.5.5.tar.gz
Running setup.py (path:/home/user/OpenBazaar/env/build/pyelliptic/setup.py) egg_info for package pyelliptic
Downloading/unpacking pysqlcipher==2.6.3-1 (from -r requirements.txt (line 8))
Downloading pysqlcipher-2.6.3-1.tar.gz (69kB): 69kB downloaded
Running setup.py (path:/home/user/OpenBazaar/env/build/pysqlcipher/setup.py) egg_info for package pysqlcipher
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/home/user/OpenBazaar/env/build/pysqlcipher/setup.py", line 65
print "CFLAGS", os.environ['CFLAGS']
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/home/user/OpenBazaar/env/build/pysqlcipher/setup.py", line 65
print "CFLAGS", os.environ['CFLAGS']
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/user/OpenBazaar/env/build/pysqlcipher
Storing debug log for failure in /home/user/.pip/pip.log
user@user-HP-14-Notebook-PC:~/OpenBazaar$ ./openbazaar start
user@user-HP-14-Notebook-PC:~/OpenBazaar$ File "node/openbazaar.py", line 222
print nat_status
^
SyntaxError: invalid syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment