Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer not working, setup.py not found #4

Open
T1PRI opened this issue Feb 26, 2019 · 0 comments
Open

Installer not working, setup.py not found #4

T1PRI opened this issue Feb 26, 2019 · 0 comments

Comments

@T1PRI
Copy link

T1PRI commented Feb 26, 2019

I'm trying to install your application for use as a debugging tool, but the installation procedure is failing, unable to find setup.py. The installation was performed on Raspbian (Debian stretch-based), on a freshly updated system. See below.

Connect: 2019-02-25 21:06
Linux servpi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Feb 25 15:19:30 2019 from 192.168.0.244
pi@servpi:~$ sudo apt-get install virtualenv
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  lxkeymap python-cairo python-gobject python-gobject-2 python-gtk2 python-xklavier realpath
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  python3-virtualenv
The following NEW packages will be installed:
  python3-virtualenv virtualenv
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 77.4 kB of archives.
After this operation, 171 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.ocf.berkeley.edu/raspbian/raspbian stretch/main armhf python3-virtualenv all 15.1.0+ds-1 [57.7 kB]
Get:2 http://mirrors.ocf.berkeley.edu/raspbian/raspbian stretch/main armhf virtualenv all 15.1.0+ds-1 [19.7 kB]
Fetched 77.4 kB in 31s (2,441 B/s)   
Selecting previously unselected package python3-virtualenv.
(Reading database ... 128120 files and directories currently installed.)
Preparing to unpack .../python3-virtualenv_15.1.0+ds-1_all.deb ...
Unpacking python3-virtualenv (15.1.0+ds-1) ...
Selecting previously unselected package virtualenv.
Preparing to unpack .../virtualenv_15.1.0+ds-1_all.deb ...
Unpacking virtualenv (15.1.0+ds-1) ...
Setting up python3-virtualenv (15.1.0+ds-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up virtualenv (15.1.0+ds-1) ...
pi@servpi:~$ 
pi@servpi:~$ virtualenv env/astlog
Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/pi/env/astlog/bin/python2
Also creating executable in /home/pi/env/astlog/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
pi@servpi:~$ 
pi@servpi:~$ source env/astlog/bin/activate
(astlog) pi@servpi:~$ 
(astlog) pi@servpi:~$ python setup.py develop
python: can't open file 'setup.py': [Errno 2] No such file or directory
(astlog) pi@servpi:~$ 
(astlog) pi@servpi:~$ echo $PATH
/home/pi/env/astlog/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
(astlog) pi@servpi:~$ 
(astlog) pi@servpi:~$ find /home/pi/env/astlog/bin -name "setup.py"
(astlog) pi@servpi:~$ 
(astlog) pi@servpi:~$ ls /home/pi/env/astlog/bin -l
total 3140
-rw-r--r-- 1 pi pi    2078 Feb 25 21:17 activate
-rw-r--r-- 1 pi pi    1020 Feb 25 21:17 activate.csh
-rw-r--r-- 1 pi pi    2174 Feb 25 21:17 activate.fish
-rw-r--r-- 1 pi pi    1137 Feb 25 21:17 activate_this.py
-rwxr-xr-x 1 pi pi     249 Feb 25 21:17 easy_install
-rwxr-xr-x 1 pi pi     249 Feb 25 21:17 easy_install-2.7
-rwxr-xr-x 1 pi pi     231 Feb 25 21:17 pip
-rwxr-xr-x 1 pi pi     231 Feb 25 21:17 pip2
-rwxr-xr-x 1 pi pi     231 Feb 25 21:17 pip2.7
lrwxrwxrwx 1 pi pi       7 Feb 25 21:16 python -> python2
-rwxr-xr-x 1 pi pi 3166320 Feb 25 21:16 python2
lrwxrwxrwx 1 pi pi       7 Feb 25 21:16 python2.7 -> python2
-rwxr-xr-x 1 pi pi    2337 Feb 25 21:17 python-config
-rwxr-xr-x 1 pi pi     227 Feb 25 21:17 wheel
(astlog) pi@servpi:~$ 
(astlog) pi@servpi:~$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
(astlog) pi@servpi:~$ 
(astlog) pi@servpi:~$ uname -a
Linux servpi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
(astlog) pi@servpi:~$ 
(astlog) pi@servpi:~$ python --version
Python 2.7.13
(astlog) pi@servpi:~$

Please take a look and report back, as your screenshots look very promising.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant