Skip to content

Instantly share code, notes, and snippets.

@theblacksquid
Created November 9, 2014 09:32
Show Gist options
  • Save theblacksquid/c9b7fdaaafab95d15c6f to your computer and use it in GitHub Desktop.
Save theblacksquid/c9b7fdaaafab95d15c6f to your computer and use it in GitHub Desktop.
PermissionError: [Errno 13] Permission denied: 'env'
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
Ign http://archive.canonical.com precise InRelease
Hit http://dl.google.com stable/main amd64 Packages
Hit http://archive.canonical.com precise Release.gpg
Hit http://dl.google.com stable/main i386 Packages
Hit http://archive.canonical.com precise Release
Hit http://archive.canonical.com precise/partner Sources
Hit http://archive.canonical.com precise/partner amd64 Packages
Ign http://extras.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://extras.ubuntu.com trusty Release.gpg
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com precise/partner Translation-en
Hit http://extras.ubuntu.com trusty Release
Ign http://dl.google.com stable/main Translation-en_US
Ign http://ppa.launchpad.net trusty InRelease
Ign http://dl.google.com stable/main Translation-en
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Ign http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://archive.ubuntu.com trusty InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://archive.ubuntu.com trusty-updates InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://archive.ubuntu.com trusty-backports InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release
Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-backports Release.gpg
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty-security Release.gpg
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:2 http://archive.ubuntu.com trusty-updates Release [62.0 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
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-backports Release
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty-security Release
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Sources
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://ppa.launchpad.net trusty/main Translation-en
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:3 http://archive.ubuntu.com trusty-updates/universe Sources [89.3 kB]
Get:4 http://archive.ubuntu.com trusty-updates/multiverse Sources [3,517 B]
Get:5 http://archive.ubuntu.com trusty-updates/main Sources [136 kB]
Get:6 http://archive.ubuntu.com trusty-updates/restricted Sources [1,408 B]
Get:7 http://archive.ubuntu.com trusty-updates/main amd64 Packages [356 kB]
Get:8 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [5,820 B]
Get:9 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [217 kB]
Get:10 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [9,365 B]
Get:11 http://archive.ubuntu.com trusty-updates/main i386 Packages [349 kB]
Get:12 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [5,820 B]
Get:13 http://archive.ubuntu.com trusty-updates/universe i386 Packages [217 kB]
Get:14 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
Hit http://archive.ubuntu.com trusty-backports/main Sources
Hit http://archive.ubuntu.com trusty-backports/restricted Sources
Hit http://archive.ubuntu.com trusty-backports/universe Sources
Hit http://archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
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
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
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,463 kB in 2min 23s (10.2 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
libjs-jquery is already the newest version.
libjs-jquery set to manually installed.
lintian is already the newest version.
lintian set to manually installed.
python-virtualenv is already the newest version.
python-virtualenv set to manually installed.
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.
The following extra packages will be installed:
debhelper debugedit dh-apparmor libmail-sendmail-perl librpm3 librpmbuild3
librpmio3 librpmsign1 po-debconf rpm rpm-common rpm2cpio
Suggested packages:
lsb-rpm dh-make rpm-i18n libmail-box-perl elfutils
The following NEW packages will be installed:
alien debhelper debugedit dh-apparmor libmail-sendmail-perl librpm3
librpmbuild3 librpmio3 librpmsign1 po-debconf rpm rpm-common rpm2cpio
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,430 kB of archives.
After this operation, 3,872 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main po-debconf all 1.0.16+nmu2ubuntu1 [210 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main dh-apparmor all 2.8.95~2430-0ubuntu5 [11.3 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main debhelper all 9.20131227ubuntu1 [604 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main librpmio3 amd64 4.11.1-3 [80.9 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main librpm3 amd64 4.11.1-3 [184 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main librpmbuild3 amd64 4.11.1-3 [66.2 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty/main librpmsign1 amd64 4.11.1-3 [9,082 B]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main rpm-common amd64 4.11.1-3 [25.0 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty/main rpm2cpio amd64 4.11.1-3 [5,752 B]
Get:10 http://archive.ubuntu.com/ubuntu/ trusty/main debugedit amd64 4.11.1-3 [17.7 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main rpm amd64 4.11.1-3 [135 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ trusty/main alien all 8.90 [54.1 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ trusty/main libmail-sendmail-perl all 0.79.16-1 [26.5 kB]
Fetched 1,430 kB in 1min 9s (20.5 kB/s)
Selecting previously unselected package po-debconf.
(Reading database ... 417358 files and directories currently installed.)
Preparing to unpack .../po-debconf_1.0.16+nmu2ubuntu1_all.deb ...
Unpacking po-debconf (1.0.16+nmu2ubuntu1) ...
Selecting previously unselected package dh-apparmor.
Preparing to unpack .../dh-apparmor_2.8.95~2430-0ubuntu5_all.deb ...
Unpacking dh-apparmor (2.8.95~2430-0ubuntu5) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20131227ubuntu1_all.deb ...
Unpacking debhelper (9.20131227ubuntu1) ...
Selecting previously unselected package librpmio3.
Preparing to unpack .../librpmio3_4.11.1-3_amd64.deb ...
Unpacking librpmio3 (4.11.1-3) ...
Selecting previously unselected package librpm3.
Preparing to unpack .../librpm3_4.11.1-3_amd64.deb ...
Unpacking librpm3 (4.11.1-3) ...
Selecting previously unselected package librpmbuild3.
Preparing to unpack .../librpmbuild3_4.11.1-3_amd64.deb ...
Unpacking librpmbuild3 (4.11.1-3) ...
Selecting previously unselected package librpmsign1.
Preparing to unpack .../librpmsign1_4.11.1-3_amd64.deb ...
Unpacking librpmsign1 (4.11.1-3) ...
Selecting previously unselected package rpm-common.
Preparing to unpack .../rpm-common_4.11.1-3_amd64.deb ...
Unpacking rpm-common (4.11.1-3) ...
Selecting previously unselected package rpm2cpio.
Preparing to unpack .../rpm2cpio_4.11.1-3_amd64.deb ...
Unpacking rpm2cpio (4.11.1-3) ...
Selecting previously unselected package debugedit.
Preparing to unpack .../debugedit_4.11.1-3_amd64.deb ...
Unpacking debugedit (4.11.1-3) ...
Selecting previously unselected package rpm.
Preparing to unpack .../rpm_4.11.1-3_amd64.deb ...
Unpacking rpm (4.11.1-3) ...
Selecting previously unselected package alien.
Preparing to unpack .../archives/alien_8.90_all.deb ...
Unpacking alien (8.90) ...
Selecting previously unselected package libmail-sendmail-perl.
Preparing to unpack .../libmail-sendmail-perl_0.79.16-1_all.deb ...
Unpacking libmail-sendmail-perl (0.79.16-1) ...
Processing triggers for doc-base (0.10.5) ...
Processing 1 added doc-base file...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up po-debconf (1.0.16+nmu2ubuntu1) ...
Setting up dh-apparmor (2.8.95~2430-0ubuntu5) ...
Setting up debhelper (9.20131227ubuntu1) ...
Setting up librpmio3 (4.11.1-3) ...
Setting up librpm3 (4.11.1-3) ...
Setting up librpmbuild3 (4.11.1-3) ...
Setting up librpmsign1 (4.11.1-3) ...
Setting up rpm-common (4.11.1-3) ...
Setting up rpm2cpio (4.11.1-3) ...
Setting up debugedit (4.11.1-3) ...
Setting up rpm (4.11.1-3) ...
Setting up alien (8.90) ...
Setting up libmail-sendmail-perl (0.79.16-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
+ '[' '!' -d ./env ']'
+ virtualenv env
Using base prefix '/usr'
Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 9, in <module>
load_entry_point('virtualenv==1.11.6', 'console_scripts', 'virtualenv')()
File "/usr/local/lib/python3.4/dist-packages/virtualenv.py", line 824, in main
symlink=options.symlink)
File "/usr/local/lib/python3.4/dist-packages/virtualenv.py", line 984, in create_environment
site_packages=site_packages, clear=clear, symlink=symlink))
File "/usr/local/lib/python3.4/dist-packages/virtualenv.py", line 1158, in install_python
mkdir(lib_dir)
File "/usr/local/lib/python3.4/dist-packages/virtualenv.py", line 447, in mkdir
os.makedirs(path)
File "/usr/lib/python3.4/os.py", line 227, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.4/os.py", line 227, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.4/os.py", line 237, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: 'env'
user@user-HP-14-Notebook-PC:~/OpenBazaar$ ./openbazaar start
user@user-HP-14-Notebook-PC:~/OpenBazaar$ ./openbazaar: line 14: ./env/bin/python: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment