-
Notifications
You must be signed in to change notification settings - Fork 533
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
Error while downloading bCNC via pip (pillow 6.0.0) -> Killed #1219
Comments
@MantaRayDeeJay it's like so that did not work the command "clear" ????
But then in my opinion just a problem with the download ... |
@MantaRayDeeJay But why do you have a new pillow 6.0.0 and absolutely all the other packages are old? Ie, your system is not evenly updated. |
@sfinexer "Clear" cmd is OK and there is only one snapshot. I'm using Putty under Windows 10, so even after a clear cmd, I can scroll a bit ! |
@sfinexer I have tried the "python2 -m pip install --upgrade bCNC" cmd. |
@sfinexer My linux distro seems to be OK. |
@MantaRayDeeJay I do not think that the error in bCNC, the problem you have. |
I don't know why, my system seems to be updated. |
|
@sfinexer I'm a bit newbie with Linux ARM devices, so I don't know where begin investigate, would you have some advices ? |
I repeat that there is probably somewhere you have a problem. Try installing python-pil (pillow) yourself |
Just download the archive and that's it. https://screenshots.firefox.com/59DqdzXmrnxwoKwu/github.com |
@sfinexer I have checked that I have well downloaded the last stable armbian stretch version (v5.75) for my device (opi zero) but I will have to try with an older stable version (3.4 kernel) to see if it works better. Thanks for the tips. |
@MantaRayDeeJay Download the archive as shown by the link and run bCNC. You obviously have a bug in the peripheral software and not in the bCNC target program. |
What happens if you try to install pillow separately?
You can also try to uninstall the debian package, so there's no conflict with package installed by pip.
@sfinexer But have you tried on ARM system? It seems ARM packages have issues with compatibility, eg. #1063 |
Also check pip version by Please make sure there's enough free space at your raspi |
If none of this helps, you should ask Pillow developers to help you with installing on the ARM (raspi): https://github.com/python-pillow/Pillow |
@Harvie Debian and its package versions are independent of the processor architecture. With some exceptions. The current package base does not match any version of debian. Thus, there may be packet conflicts. |
I am not talking about Debian packages. I am talking about PyPI. I've attached link to similar issue we had in past to my previous comment. |
I must admit that if there is a mistake, it is clearly not with us. Many of the errors that were in my own software, it was possible to reveal after years! The end user does not understand the specifics of the program, may accept the error as a certain functional feature, and not report it. |
@sfinexer I have clone the git projet and tried to launch bCNC. I have always some errors. |
@Harvie pip2 are checked and up to date. I have also enough space on the SD card. |
@Harvie Trying |
In the last screenshot you have the problem described. It needs zlib header files. Debian will probably call the package zlib-dev or something similar... There is no binary package of pillow for ARM, so Pip is going to automaticaly build the pillow from sources for you. See the section "building from source" to get list of prerequisites for that: https://pillow.readthedocs.io/en/latest/installation.html#building-from-source |
@Harvie I have checked and I can find a zlib1g package in the list, is it different from zlib-dev ? |
@Harvie I have found this French tutoriel for Raspberry PI which using the Raspbian OS. This device is based on an ARM SoC as my Orange Pi Zero (Allwinner H2+). I know there are some differences between Raspbian and Armbian but these two distro are based on Debian for ARM architecture, so I think if it works well with the Raspberry, I would be able to use it with an Orange Pi !!! |
zlib1g, zlib1g-dev zlib1g:i386 |
@sfinexer zlib1g-dev installed. I don't think needed having zlib1g:i386 because I have an armhf architecture. |
@sfinexer The result below in the text file. OPi Zero - Debian Stretch - Pillow 4.0.0 install manually - Error.txt |
@sfinexer I have opened an issue with Pillow. Thanks for your tips. |
and zlib1g ? zlib1g-dev and zlib1g are two different packages. I have a repository like this. |
@sfinexer zlib1g was already loaded in my linux distro by default, I think. |
@sfinexer So now I have the 2 versions :
|
@sfinexer I have solved the pb. with Pillow :
|
@sfinexer Now I'm trying to install bCNC but the process seems to be crached during the packages installation. I'm connected via SSH and the process animation seems to be stopped as a "freeze" for more than 20mn. |
Numpy installation is very very slow... |
It seems, I have some problems to install numpy.
|
Oh yes !
|
It seems that sometimes I mustn't use the "--no--cache-dir" pip option to install a package. A progress bar should be a useful help to avoid waiting a long time without to know if the process is crashed or not during a pip package install. |
bCNC seems to be installed good !
Next Step -> Testing it !!! |
@MantaRayDeeJay Do you start everything? |
@sfinexer Summary :
Rem. 1 : installing numpy is particulary slow.
|
I am really glad that you've managed to install this in the end. |
@Harvie I have tried to summarize it in my last message but I think it would be usefull to test it again on a new fresh armbian install as you suggest me ! |
@MantaRayDeeJay After you do the apt instal, in my opinion all of these commands:
can be replaced by single:
There's probably some bug in pip, if this is not working, because it should install exactly these 3 packages before installing bCNC. I've added the note about apt-get packages here: |
@Harvie The problem is that pip seems not be very reliable with "low hardware setup". If I use the "--no-cache-dir" option, numpy installation "freeze". I will have to test it again later. |
Can you please figure this out with pip developers? https://github.com/pypa/pip |
Please let me some time, I'm working on other issues with my devices. (OPi WiFi cnx and CNC device usb cnx) I will be back later, thanks. |
I have an error while trying download bCNC via pip.
Hardware : Orange Pi Zero 512Mo with Armbian v5.75 Debian Stretch v4.19.25
The text was updated successfully, but these errors were encountered: