Klipper: Instal Klipper

Created on 28 Mar 2018  Â·  16Comments  Â·  Source: KevinOConnor/klipper

I can not install the Clipper completely. Because of this, the Clipper service does not start

`octoprint@orangepizero:~$ ./klipper/scripts/install-octopi.sh

Running apt-get update...

Hit:1 http://security.debian.org stretch/updates InRelease
Hit:2 http://apt.armbian.com stretch InRelease
Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:5 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:6 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists... Done

Installing packages...

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libncurses5-dev' instead of 'libncurses-dev'
avr-libc is already the newest version (1:1.8.0+Atmel3.5.0-1).
avrdude is already the newest version (6.3-2).
binutils-avr is already the newest version (2.26.20160125+Atmel3.5.3-1).
bossa-cli is already the newest version (1.3~20120408-5+b3).
gcc-avr is already the newest version (1:4.9.2+Atmel3.5.3-1).
libffi-dev is already the newest version (3.2.1-6).
libusb-dev is already the newest version (2:0.1.12-30).
libncurses5-dev is already the newest version (6.0+20161126-1+deb9u2).
libnewlib-arm-none-eabi is already the newest version (2.4.0.20160527-2).
python-virtualenv is already the newest version (15.1.0+ds-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Updating python virtual environment...

./klipper/scripts/install-octopi.sh: line 39: /home/octoprint/klippy-env/bin/pip: No such file or directory

octoprint@orangepizero:~$ sudo service klipper start
Failed to start klipper.service: Unit klipper.service not found.
`

Most helpful comment

I ran into this today. Solved it by running

virtualenv /home/octoprint/klippy-env

then
./klipper/scripts/install-octopi.sh

All 16 comments

apt-get update && apt-get install python-pip

root@orangepizero:~# apt-get update && apt-get install python-pip
Hit:1 http://apt.armbian.com stretch InRelease
Hit:2 http://security.debian.org stretch/updates InRelease
Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:5 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:6 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-pip is already the newest version (9.0.1-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I tried again, but the same thing. In addition, it swears that Klipper already exists

octoprint@orangepizero:~$ git clone https://github.com/KevinOConnor/klipper
fatal: destination path 'klipper' already exists and is not an empty directory.
octoprint@orangepizero:~$ ./klipper/scripts/install-octopi.sh

Running apt-get update...

[sudo] password for octoprint:
Hit:1 http://apt.armbian.com stretch InRelease
Hit:2 http://security.debian.org stretch/updates InRelease
Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:5 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:6 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists... Done

Installing packages...

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libncurses5-dev' instead of 'libncurses-dev'
avr-libc is already the newest version (1:1.8.0+Atmel3.5.0-1).
avrdude is already the newest version (6.3-2).
binutils-avr is already the newest version (2.26.20160125+Atmel3.5.3-1).
bossa-cli is already the newest version (1.3~20120408-5+b3).
gcc-avr is already the newest version (1:4.9.2+Atmel3.5.3-1).
libffi-dev is already the newest version (3.2.1-6).
libusb-dev is already the newest version (2:0.1.12-30).
libncurses5-dev is already the newest version (6.0+20161126-1+deb9u2).
libnewlib-arm-none-eabi is already the newest version (2.4.0.20160527-2).
python-virtualenv is already the newest version (15.1.0+ds-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Updating python virtual environment...

./klipper/scripts/install-octopi.sh: line 39: /home/octoprint/klippy-env/bin/pip: No such file or directory
octoprint@orangepizero:~$

I deleted the Klipper folder and put it on again, but the last error still remains

Updating python virtual environment...

./klipper/scripts/install-octopi.sh: line 39: /home/octoprint/klippy-env/bin/pip: No such file or directory

On Wed, Mar 28, 2018 at 10:01:31AM -0700, set4up wrote:

I deleted the Klipper folder and put it on again, but the last error still remains

Updating python virtual environment...

./klipper/scripts/install-octopi.sh: line 39: /home/octoprint/klippy-env/bin/pip: No such file or directory

Try removing the klippy-env directory:

rm -r /home/octoprint/klippy-env/

And then retry.

-Kevin

A little better, but other errors in the end. I apply completely

octoprint@orangepizero:~$ rm -rf /home/octoprint/klipper/
octoprint@orangepizero:~$ rm -rf /home/octoprint/klippy-env/
octoprint@orangepizero:~$ git clone https://github.com/KevinOConnor/klipper
Cloning into 'klipper'...
remote: Counting objects: 5709, done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 5709 (delta 5), reused 11 (delta 4), pack-reused 5692
Receiving objects: 100% (5709/5709), 2.07 MiB | 1.91 MiB/s, done.
Resolving deltas: 100% (4234/4234), done.
octoprint@orangepizero:~$ ./klipper/scripts/install-octopi.sh

.....

OSError: Command /home/octoprint/klippy-env/bin/python2 - setuptools pkg_resources pip wheel failed with error code 2

On Wed, Mar 28, 2018 at 05:48:01PM +0000, set4up wrote:

Updating python virtual environment...

Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/octoprint/klippy-env/bin/python2
Also creating executable in /home/octoprint/klippy-env/bin/python
Installing setuptools, pkg_resources, pip, wheel...
Complete output from command /home/octoprint/klippy-env/bin/python2 - setuptools pkg_resources pip wheel:
Collecting setuptools
Exception:

Not sure what's going on, but it's definitely not a klipper issue.
The command being run is:

virtualenv /home/octoprint/klippy-env

And that's a standard python setup command. You might want to try a
complete OS reinstall.

-Kevin

I today already reinstalled the OS

Среда, 28 марта 2018, 21:24 +03:00 от KevinOConnor notifications@github.com:

On Wed, Mar 28, 2018 at 05:48:01PM +0000, set4up wrote:

Updating python virtual environment...

Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/octoprint/klippy-env/bin/python2
Also creating executable in /home/octoprint/klippy-env/bin/python
Installing setuptools, pkg_resources, pip, wheel...
Complete output from command /home/octoprint/klippy-env/bin/python2 - setuptools pkg_resources pip wheel:
Collecting setuptools
Exception:

Not sure what's going on, but it's definitely not a klipper issue.
The command being run is:

virtualenv /home/octoprint/klippy-env

And that's a standard python setup command. You might want to try a
complete OS reinstall.

-Kevin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub , or mute the thread .

С уважением, Евгений

I already reinstalled the OS today
Thank you for your patience

https://github.com/interbrite/letsencrypt-vesta/issues/46#issuecomment-273014451
after I googled your error msg, I got this one,
so try pip install --upgrade pip

Completely reinstalled the wasps and the rest. It seems it helped. service Clipper now starts

Was this resolved? The issue was with a "pip" parameter outside of the Klipper installation?

Yes. Just reinstalled the OS again. The Klipper was started. But the Klipper-printer connection did not seem to exist. I have repeatedly tried the printer, I even got the firmware from a working printer under Klipper control, it did not help. The printer does not respond.
I was told that the problem in the printer's configuration is most likely, namely the problem in MCU. I tried different options:
Serial: usb-1a86_USB2.0-Serial-if00-port0
Serial: /dev/ttyusb-1a86_USB2.0-Serial-if00-port0
Serial: /dev/usb-1a86_USB2.0-Serial-if00-port0
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
serial: /dev/ttyUSB0

Board Orange PI Zero.

I spent 6 days, so I left it for now. More people will be put, and there will be someone to put on the Orange PI Zero.
Thank you.

I ran into this today. Solved it by running

virtualenv /home/octoprint/klippy-env

then
./klipper/scripts/install-octopi.sh

I ran into this today. Solved it by running virtualenv /home/octoprint/klippy-env then ./klipper/scripts/install-octopi.sh

Totally worked for me after...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

krpepe picture krpepe  Â·  5Comments

jannoke picture jannoke  Â·  3Comments

KevinOConnor picture KevinOConnor  Â·  6Comments

Michael-Bell picture Michael-Bell  Â·  5Comments

amaximchuk picture amaximchuk  Â·  6Comments