rm-hull / luma.examples

Companion repo for running examples against the luma.oled, luma.lcd, luma.led_matrix and luma.emulator display drivers.
MIT License
370 stars 144 forks source link

install #81

Closed viktor6 closed 6 years ago

viktor6 commented 6 years ago
pi@raspberrypi:~ $ sudo apt purge python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-glib-2.0 libdbus-glib-1-2 libgirepository-1.0-1 libpython-all-dev
  python-all python-all-dev python-cffi-backend python-crypto
  python-cryptography python-dbus python-enum34 python-gi python-idna
  python-ipaddress python-keyring python-keyrings.alt python-pip-whl
  python-pkg-resources python-pyasn1 python-secretstorage python-setuptools
  python-six python-wheel python-xdg
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  python-pip*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 671 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 40766 files and directories currently installed.)
Removing python-pip (9.0.1-2+rpt1) ...
Processing triggers for man-db (2.7.6.1-2) ...
pi@raspberrypi:~ $ git clone https://github.com/rm-hull/luma.examples.git
Cloning into 'luma.examples'...
remote: Counting objects: 692, done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 692 (delta 3), reused 3 (delta 2), pack-reused 678
Receiving objects: 100% (692/692), 5.30 MiB | 1.40 MiB/s, done.
Resolving deltas: 100% (424/424), done.
pi@raspberrypi:~ $ cd luma.examples
pi@raspberrypi:~/luma.examples $ sudo -H pip install -e .
sudo: pip: command not found
pi@raspberrypi:~/luma.examples $ ls
conf              examples     README.rst  setup.py  tox.ini
CONTRIBUTING.rst  LICENSE.rst  setup.cfg   tests
pi@raspberrypi:~/luma.examples $ sudo python setup.py
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied
pi@raspberrypi:~/luma.examples $ sudo python setup.py setup.cfg
invalid command name 'setup.cfg'
pi@raspberrypi:~/luma.examples $
thijstriemstra commented 6 years ago

@viktor6 please include a ticket description. Closing ticket, let us know if you still have issues.