-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Installation Hangs with "Running setup.py install for numpy: started" #141
Comments
Check this post and see if this works for you for installing the numpy requirement. |
is there no other "official" solution? |
If you can't get numpy to install then the newer version won't work for you. The only other option would be to install the last version prior to the numpy integration which doesn't support all firmware. Once installed you can't upgrade otherwise you'll get the same error. To install the old version use the following url in plugin manager. https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/0.1.2.zip |
This issue has been automatically marked as stale because it has not had activity in 14 days. It will be closed if no further activity occurs in 7 days. |
Issue happens on low memory machines. Installation on machine with memory < 512 MB.If Your Octoprint is installed on machine with 256 MB of ram ( for example Quad Core Orange PI Zero with 256MB RAM ) - you installation could fail during Adding extra swap file:sudo fallocate -l 1G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile this would create 1GB temporary swap file that can be used during installation. You can remove it after reboot. Removing extra swap:sudo swapoff -v /swapfile
sudo rm /swapfile |
Can you include instructions on how to remove the swapfile prior to me accepting the pull request? |
Sure, updated comment above |
pi@octopi:~ $ swapoff -v /swapfile WHY ? |
Maybe you need to sudo those commands? I'm not sure because I've never used a low memory device.
|
to be more precise I use the Putty program to access Raspberry, then enter name (PI) and password (raspberry), then copy and paste these two command lines and I press enter, but writes that I am not a superuser. |
Yes, you need root permissions for that, use |
sorry but I don't understand, after logging in I copy and paste the command ( sudo swapoff -v /swapfile |
Depending on what you want to do - disable swap after installation ? (since this 2 commands are meant to disable extra swap only). You login to machine, paste command one by one and press enter after each one so it would be consumed by mighty ssh server. |
Shouldnt this use piwheels? |
It does in a python 3 environment, but piwheels doesn't have python2 version compiled. |
Hi, it stopped always at the same state. anyone a solution? i have a raspi 3B Stored in directory: /tmp/pip-ephem-wheel-cache-M7k4dA/wheels/42/13/55/6c52a13f5f081fda60bf4ef6dfb543143e9b07062badc41152 |
Are you installing on a pi 3b or pi 4? I recommend upgrading to python 3 using the script by @cp2004 then run |
installer is still broken. I am running octoprint o raspberry pi 3A. I updated to latest version of octoprint (1.5.2 stable) and instalation get stuck on "Building wheel for numpy (setup.py): still running...". I never touch swap settings etc. I am not much familiar with python and I have no idea what is piwheels, please consider to modify install script of your plugin to sort out this hasle and allow instalation without problem. |
How long has it been stuck for? The installation is not designed to not work... It can take over 1/2 an hour, maybe longer. On Python 3, the process is near instant since there is a precompiled wheel available. |
The 3A's memory footprint is the issue here. There are some users that have reported upping their memory block helped to get it installed, but I personally would upgrade your octoprint instance to python 3 and the install doesn't have to compile numpy then. Use the instructions here to upgrade. If you want to you can try increasing the swap memory with these steps. |
Tip: Don't use |
It works for me perfectly. I installed NumPy on an Allwinner A20. It takes about a half-hour but finally done! |
A possible solution could be to use piwheels pip3 install numpy -i https://www.piwheels.org/simple |
piwheels by default is already added to the available wheels, so it should find it, but that's a moot point since the numpy dependency was removed in newer versions. |
Hello together!
I want to install Bed Visualizer for the first time on my Octopi (latest Version), but the installation always hangs on "Running setup.py install for numpy: started"
What can i do?
Tried it 2-3, but every try the same error ... i must reboot Octopi via SSH so that was working again...
Sorry for my Bend English, i am a German User with terrible English Skills
The text was updated successfully, but these errors were encountered: