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

Cant install #81

Closed
ChrisWLeon opened this issue Sep 4, 2018 · 33 comments
Closed

Cant install #81

ChrisWLeon opened this issue Sep 4, 2018 · 33 comments

Comments

@ChrisWLeon
Copy link

I attempted to install Bed visualiser. Took a long time "hours" so i cancelled it. I later tried to reinstall and it progressed all the way through in a minutes of so to asking to restart octoprint. Then it would display the message to reconnect, but instead of progressing to the reload page it then would cancel. Restarting octotprint manually and Bed Visualiser is not installed?

@jneilliii
Copy link
Owner

Sounds like an incomplete install. You may have to go through the process to manually remove using pip. And try again.

@saikek
Copy link
Contributor

saikek commented Sep 9, 2018

Same here. Removed previous install & installed from scratch.
It hangs on bdist_wheel step:

09:28 orangepizero saikek /opt/octoprint/venv/bin ./pip install "https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/master.zip"
Collecting https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/master.zip
  Downloading https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/master.zip
     - 1.0MB 2.8MB/s
Requirement already satisfied: OctoPrint in /opt/octoprint/venv/lib/python2.7/site-packages (from Bed-Visualizer==0.1.6) (1.3.9)
Collecting numpy (from Bed-Visualizer==0.1.6)
  Downloading https://files.pythonhosted.org/packages/65/ab/4dfcc20234fae12ee40c714b98077d6e3a10652496bd1488fa4828529b22/numpy-1.15.1.zip (4.5MB)
    100% |████████████████████████████████| 4.5MB 472kB/s
Requirement already satisfied: pyserial<3.5,>=3.4 in /opt/octoprint/venv/lib/python2.7/site-packages/pyserial-3.4-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (3.4)
Requirement already satisfied: pylru<1.1,>=1.0.9 in /opt/octoprint/venv/lib/python2.7/site-packages/pylru-1.0.9-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (1.0.9)
Requirement already satisfied: semantic-version<2.5,>=2.4.2 in /opt/octoprint/venv/lib/python2.7/site-packages/semantic_version-2.4.2-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (2.4.2)
Requirement already satisfied: future<0.16,>=0.15.2 in /opt/octoprint/venv/lib/python2.7/site-packages/future-0.15.2-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (0.15.2)
Requirement already satisfied: scandir<1.4,>=1.3 in /opt/octoprint/venv/lib/python2.7/site-packages/scandir-1.3-py2.7-linux-armv7l.egg (from OctoPrint->Bed-Visualizer==0.1.6) (1.3)
Requirement already satisfied: sarge==0.1.4 in /opt/octoprint/venv/lib/python2.7/site-packages/sarge-0.1.4-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (0.1.4)
Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in /opt/octoprint/venv/lib/python2.7/site-packages/awesome_slugify-1.6.5-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (1.6.5)
Requirement already satisfied: futures<3.2,>=3.1.1 in /opt/octoprint/venv/lib/python2.7/site-packages/futures-3.1.1-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (3.1.1)
Requirement already satisfied: rsa<3.3,>=3.2.3 in /opt/octoprint/venv/lib/python2.7/site-packages/rsa-3.2.3-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (3.2.3)
Requirement already satisfied: Flask-Assets<0.11,>=0.10 in /opt/octoprint/venv/lib/python2.7/site-packages/Flask_Assets-0.10-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (0.10)
Requirement already satisfied: netaddr<0.8,>=0.7.19 in /opt/octoprint/venv/lib/python2.7/site-packages/netaddr-0.7.19-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (0.7.19)
Requirement already satisfied: tornado==4.5.3 in /opt/octoprint/venv/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6) (4.5.3)
Requirement already satisfied: flask<0.11,>=0.10.1 in /opt/octoprint/venv/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (0.10.1)
Requirement already satisfied: Click<6.3,>=6.2 in /opt/octoprint/venv/lib/python2.7/site-packages/click-6.2-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (6.2)
Requirement already satisfied: chainmap<1.1,>=1.0.2 in /opt/octoprint/venv/lib/python2.7/site-packages/chainmap-1.0.2-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (1.0.2)
Requirement already satisfied: wrapt<1.11,>=1.10.11 in /opt/octoprint/venv/lib/python2.7/site-packages/wrapt-1.10.11-py2.7-linux-armv7l.egg (from OctoPrint->Bed-Visualizer==0.1.6) (1.10.11)
Requirement already satisfied: PyYAML<3.11,>=3.10 in /opt/octoprint/venv/lib/python2.7/site-packages/PyYAML-3.10-py2.7-linux-armv7l.egg (from OctoPrint->Bed-Visualizer==0.1.6) (3.10)
Requirement already satisfied: monotonic<1.4,>=1.3 in /opt/octoprint/venv/lib/python2.7/site-packages/monotonic-1.3-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (1.3)
Requirement already satisfied: frozendict<1.3,>=1.2 in /opt/octoprint/venv/lib/python2.7/site-packages/frozendict-1.2-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (1.2)
Requirement already satisfied: netifaces<0.11,>=0.10.6 in /opt/octoprint/venv/lib/python2.7/site-packages/netifaces-0.10.7-py2.7-linux-armv7l.egg (from OctoPrint->Bed-Visualizer==0.1.6) (0.10.7)
Requirement already satisfied: pkginfo<1.5,>=1.4.2 in /opt/octoprint/venv/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6) (1.4.2)
Requirement already satisfied: watchdog<0.9,>=0.8.3 in /opt/octoprint/venv/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (0.8.3)
Requirement already satisfied: python-dateutil<2.7,>=2.6.1 in /opt/octoprint/venv/lib/python2.7/site-packages/python_dateutil-2.6.1-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (2.6.1)
Requirement already satisfied: feedparser<5.3,>=5.2.1 in /opt/octoprint/venv/lib/python2.7/site-packages/feedparser-5.2.1-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (5.2.1)
Requirement already satisfied: requests<3,>=2.18.4 in /opt/octoprint/venv/lib/python2.7/site-packages/requests-2.19.1-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (2.19.1)
Requirement already satisfied: websocket-client<0.41,>=0.40.0 in /opt/octoprint/venv/lib/python2.7/site-packages/websocket_client-0.40.0-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (0.40.0)
Requirement already satisfied: werkzeug<0.9,>=0.8.3 in /opt/octoprint/venv/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (0.8.3)
Requirement already satisfied: psutil<5.5,>=5.4.6 in /opt/octoprint/venv/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6) (5.4.7)
Requirement already satisfied: Jinja2<2.9,>=2.8.1 in /opt/octoprint/venv/lib/python2.7/site-packages/Jinja2-2.8.1-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (2.8.1)
Requirement already satisfied: emoji<0.5,>=0.4.5 in /opt/octoprint/venv/lib/python2.7/site-packages/emoji-0.4.5-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (0.4.5)
Requirement already satisfied: Flask-Babel<0.10,>=0.9 in /opt/octoprint/venv/lib/python2.7/site-packages/Flask_Babel-0.9-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (0.9)
Requirement already satisfied: Flask-Login<0.3,>=0.2.11 in /opt/octoprint/venv/lib/python2.7/site-packages/Flask_Login-0.2.11-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (0.2.11)
Requirement already satisfied: Flask-Principal<0.4,>=0.3.5 in /opt/octoprint/venv/lib/python2.7/site-packages/Flask_Principal-0.3.5-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (0.3.5)
Requirement already satisfied: markdown<2.7,>=2.6.9 in /opt/octoprint/venv/lib/python2.7/site-packages/Markdown-2.6.11-py2.7.egg (from OctoPrint->Bed-Visualizer==0.1.6) (2.6.11)
Requirement already satisfied: regex in /opt/octoprint/venv/lib/python2.7/site-packages/regex-2018.6.21-py2.7-linux-armv7l.egg (from awesome-slugify<1.7,>=1.6.5->OctoPrint->Bed-Visualizer==0.1.6) (2018.6.21)
Requirement already satisfied: Unidecode<0.05,>=0.04.14 in /opt/octoprint/venv/lib/python2.7/site-packages/Unidecode-0.4.21-py2.7.egg (from awesome-slugify<1.7,>=1.6.5->OctoPrint->Bed-Visualizer==0.1.6) (0.4.21)
Requirement already satisfied: pyasn1>=0.1.3 in /opt/octoprint/venv/lib/python2.7/site-packages/pyasn1-0.4.3-py2.7.egg (from rsa<3.3,>=3.2.3->OctoPrint->Bed-Visualizer==0.1.6) (0.4.3)
Requirement already satisfied: webassets>=0.10 in /opt/octoprint/venv/lib/python2.7/site-packages/webassets-0.12.1-py2.7.egg (from Flask-Assets<0.11,>=0.10->OctoPrint->Bed-Visualizer==0.1.6) (0.12.1)
Requirement already satisfied: singledispatch in /opt/octoprint/venv/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->Bed-Visualizer==0.1.6) (3.4.0.3)
Requirement already satisfied: certifi in /opt/octoprint/venv/lib/python2.7/site-packages/certifi-2018.4.16-py2.7.egg (from tornado==4.5.3->OctoPrint->Bed-Visualizer==0.1.6) (2018.4.16)
Requirement already satisfied: backports-abc>=0.4 in /opt/octoprint/venv/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->Bed-Visualizer==0.1.6) (0.5)
Requirement already satisfied: itsdangerous>=0.21 in /opt/octoprint/venv/lib/python2.7/site-packages/itsdangerous-0.24-py2.7.egg (from flask<0.11,>=0.10.1->OctoPrint->Bed-Visualizer==0.1.6) (0.24)
Requirement already satisfied: argh>=0.24.1 in /opt/octoprint/venv/lib/python2.7/site-packages/argh-0.26.2-py2.7.egg (from watchdog<0.9,>=0.8.3->OctoPrint->Bed-Visualizer==0.1.6) (0.26.2)
Requirement already satisfied: pathtools>=0.1.1 in /opt/octoprint/venv/lib/python2.7/site-packages/pathtools-0.1.2-py2.7.egg (from watchdog<0.9,>=0.8.3->OctoPrint->Bed-Visualizer==0.1.6) (0.1.2)
Requirement already satisfied: six>=1.5 in /opt/octoprint/venv/lib/python2.7/site-packages/six-1.11.0-py2.7.egg (from python-dateutil<2.7,>=2.6.1->OctoPrint->Bed-Visualizer==0.1.6) (1.11.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /opt/octoprint/venv/lib/python2.7/site-packages/chardet-3.0.4-py2.7.egg (from requests<3,>=2.18.4->OctoPrint->Bed-Visualizer==0.1.6) (3.0.4)
Requirement already satisfied: idna<2.8,>=2.5 in /opt/octoprint/venv/lib/python2.7/site-packages/idna-2.7-py2.7.egg (from requests<3,>=2.18.4->OctoPrint->Bed-Visualizer==0.1.6) (2.7)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in /opt/octoprint/venv/lib/python2.7/site-packages/urllib3-1.23-py2.7.egg (from requests<3,>=2.18.4->OctoPrint->Bed-Visualizer==0.1.6) (1.23)
Requirement already satisfied: backports.ssl_match_hostname in /opt/octoprint/venv/lib/python2.7/site-packages/backports.ssl_match_hostname-3.5.0.1-py2.7.egg (from websocket-client<0.41,>=0.40.0->OctoPrint->Bed-Visualizer==0.1.6) (3.5.0.1)
Requirement already satisfied: MarkupSafe in /opt/octoprint/venv/lib/python2.7/site-packages/MarkupSafe-1.0-py2.7-linux-armv7l.egg (from Jinja2<2.9,>=2.8.1->OctoPrint->Bed-Visualizer==0.1.6) (1.0)
Requirement already satisfied: Babel>=1.0 in /opt/octoprint/venv/lib/python2.7/site-packages/Babel-2.6.0-py2.7.egg (from Flask-Babel<0.10,>=0.9->OctoPrint->Bed-Visualizer==0.1.6) (2.6.0)
Requirement already satisfied: speaklater>=1.2 in /opt/octoprint/venv/lib/python2.7/site-packages/speaklater-1.3-py2.7.egg (from Flask-Babel<0.10,>=0.9->OctoPrint->Bed-Visualizer==0.1.6) (1.3)
Requirement already satisfied: blinker in /opt/octoprint/venv/lib/python2.7/site-packages/blinker-1.4-py2.7.egg (from Flask-Principal<0.4,>=0.3.5->OctoPrint->Bed-Visualizer==0.1.6) (1.4)
Requirement already satisfied: pytz>=0a in /opt/octoprint/venv/lib/python2.7/site-packages/pytz-2018.5-py2.7.egg (from Babel>=1.0->Flask-Babel<0.10,>=0.9->OctoPrint->Bed-Visualizer==0.1.6) (2018.5)
Building wheels for collected packages: Bed-Visualizer, numpy
  Running setup.py bdist_wheel for Bed-Visualizer ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-ettyCf/wheels/77/77/fd/91c6afc2643e95d43d1fcf7ab4af9cd240dc9c42f72fe246f5
  Running setup.py bdist_wheel for numpy ... -

@saikek
Copy link
Contributor

saikek commented Sep 9, 2018

pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)

@jneilliii
Copy link
Owner

Ok, so as others have posted, it looks like this is hanging on the numpy install. I would try manually installing numpy first and then the plugin, or choose a version of bed visualizer prior to 0.1.3 and install using that zip url in plugin manager and don't upgrade.

@shafr
Copy link

shafr commented Sep 10, 2018

Is there a way of Verbose install to see what's going on inside while it's inside numpy phase ?

@jneilliii
Copy link
Owner

Not that I know of in octoprint and I'm not really a python expert so don't know much about pip options.

@WarDrake
Copy link

/home/pi/oprint/bin/python2 -m pip install numpy
Runnig this in the console fixes the issue, bed leveling can be easily installed after that

@stale
Copy link

stale bot commented Sep 29, 2018

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.

@stale stale bot added the stale label Sep 29, 2018
@jangermann
Copy link

Hi. Also using a PI and have the same problem:

Installing plugin "Bed Level Visualizer" from https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/master.zip...
/home/pi/oprint/bin/python2 -m pip install https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/master.zip --no-cache-dir
Collecting https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/master.zip
Downloading https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/master.zip
Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages (from Bed-Visualizer==0.1.6)
Collecting numpy (from Bed-Visualizer==0.1.6)
Downloading https://files.pythonhosted.org/packages/45/ba/2a781ebbb0cd7962cc1d12a6b65bd4eff57ffda449fdbbae4726dc05fbc3/numpy-1.15.2.zip (4.5MB)
Requirement already satisfied: flask<0.11,>=0.10.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: Jinja2<2.9,>=2.8.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: werkzeug<0.9,>=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: tornado==4.5.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: PyYAML<3.11,>=3.10 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: Flask-Login<0.3,>=0.2.11 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: Flask-Principal<0.4,>=0.3.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: Flask-Babel<0.10,>=0.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: Flask-Assets<0.11,>=0.10 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: markdown<2.7,>=2.6.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: pyserial<3.5,>=3.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: netaddr<0.8,>=0.7.19 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: watchdog<0.9,>=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: sarge==0.1.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: netifaces<0.11,>=0.10.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: pylru<1.1,>=1.0.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: rsa<3.3,>=3.2.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: pkginfo<1.5,>=1.4.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: requests<3,>=2.18.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: semantic_version<2.5,>=2.4.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: psutil<5.5,>=5.4.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: Click<6.3,>=6.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: feedparser<5.3,>=5.2.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: chainmap<1.1,>=1.0.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: future<0.16,>=0.15.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: scandir<1.4,>=1.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: websocket-client<0.41,>=0.40.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: python-dateutil<2.7,>=2.6.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: wrapt<1.11,>=1.10.11 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: futures<3.2,>=3.1.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: emoji<0.5,>=0.4.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: monotonic<1.4,>=1.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: frozendict<1.3,>=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: itsdangerous>=0.21 in /home/pi/oprint/lib/python2.7/site-packages (from flask<0.11,>=0.10.1->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: MarkupSafe in /home/pi/oprint/lib/python2.7/site-packages (from Jinja2<2.9,>=2.8.1->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: singledispatch in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: certifi in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: backports-abc>=0.4 in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: blinker in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Principal<0.4,>=0.3.5->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: Babel>=1.0 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Babel<0.10,>=0.9->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: speaklater>=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Babel<0.10,>=0.9->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: webassets>=0.10 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Assets<0.11,>=0.10->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: argh>=0.24.1 in /home/pi/oprint/lib/python2.7/site-packages (from watchdog<0.9,>=0.8.3->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python2.7/site-packages (from watchdog<0.9,>=0.8.3->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: pyasn1>=0.1.3 in /home/pi/oprint/lib/python2.7/site-packages (from rsa<3.3,>=3.2.3->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.18.4->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: idna<2.7,>=2.5 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.18.4->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.18.4->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: Unidecode<0.05,>=0.04.14 in /home/pi/oprint/lib/python2.7/site-packages (from awesome-slugify<1.7,>=1.6.5->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: regex in /home/pi/oprint/lib/python2.7/site-packages (from awesome-slugify<1.7,>=1.6.5->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: six in /home/pi/oprint/lib/python2.7/site-packages (from websocket-client<0.41,>=0.40.0->OctoPrint->Bed-Visualizer==0.1.6)
Requirement already satisfied: pytz>=0a in /home/pi/oprint/lib/python2.7/site-packages (from Babel>=1.0->Flask-Babel<0.10,>=0.9->OctoPrint->Bed-Visualizer==0.1.6)
Installing collected packages: numpy, Bed-Visualizer
Running setup.py install for numpy: started
Running setup.py install for numpy: still running...
Running setup.py install for numpy: still running...

@stale stale bot removed the stale label Oct 4, 2018
@jneilliii
Copy link
Owner

You just have to wait, the numpy install takes forever. Some have reported up to an hour. Some have stated they had to manually install numpy first.

@jangermann
Copy link

You just have to wait, the numpy install takes forever. Some have reported up to an hour. Some have stated they had to manually install numpy first.

Thanks.
Actually octoprint did installed it. It was there 5 minutes AFTER an unknown error.
I got it installed. Thanks.

@ChrisWLeon
Copy link
Author

ChrisWLeon commented Oct 4, 2018 via email

@jneilliii
Copy link
Owner

@ChrisWLeon, did you try what @WarDrake suggested?

/home/pi/oprint/bin/python2 -m pip install numpy
Runnig this in the console fixes the issue, bed leveling can be easily installed after that

If you run the following command what is returned?

cd ~/oprint/bin/
./pip freeze

@shafr
Copy link

shafr commented Oct 5, 2018

Mine issue was fixed. Installing numpy manually fixes the issue. It takes 256mb ram from my Orange Pi Zero & 200mb cache, and runs for around 30 minutes. You can monitor progress over htop in another terminal window.
After that plugin installation is successful .

@ChrisWLeon
Copy link
Author

ChrisWLeon commented Oct 5, 2018 via email

@jneilliii
Copy link
Owner

And there's no errors in your octoprint.log or browser's console indicating an issue when running in normal mode?

@wardboumans
Copy link

Numpy seems to be compiling itself but fails hard. Even after stopping Octoprint for some extra free memory it doesn't want to compile.

Complete output: https://pastebin.com/ZsxVGDdz

@jneilliii
Copy link
Owner

Sorry @Prunar, but I can't do anything about that. Unless you need to support one of the firmwares added since 0.1.2, you can use the url below in plugin manager and make sure not to upgrade.

https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/0.1.2.zip

@wardboumans
Copy link

Yes thanks, 0.1.2 seems to work fine 👍

@Dutchy-79
Copy link

Just tried this on a Pi 0 and keeps failing on numpy error after several minutes.

@jneilliii
Copy link
Owner

@Dutchy-79, you mean the install fails? Yes read through this thread for possible options.

@mcc05
Copy link

mcc05 commented Oct 21, 2018

Im have the same issue, in the virtual env, I try a pip install numpy -v, and it freezes at arm-linux-gnueabihf-gcc: build/src.linux-armv7l-2.7/numpy/core/src/npysort/quicksort.c

This just maxes out the CPU and hangs

@jneilliii
Copy link
Owner

Have any of you tried plugging in your device to ethernet vs using wifi?

@stale
Copy link

stale bot commented Nov 4, 2018

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.

@stale stale bot added the stale label Nov 4, 2018
@wapowell
Copy link

wapowell commented Nov 4, 2018

Hi.

I'm having the exact same symptoms as ChrisWLeon. I made sure nampy is installed. I install bed visualizer via the octoprint web front end and all seems successful. I ssh to the pi and verify it's there using pip freeze. But in Octoprint the plugin is only listed as installed when in safe mode. In regular mode it doesn't show up.

Any ideas?

@stale stale bot removed the stale label Nov 4, 2018
@jneilliii
Copy link
Owner

What version is your octoprint? There was one version that blacklisted the plugin because it would kill the interface altogether. Are there any errors in your logs?

@wapowell
Copy link

wapowell commented Nov 5, 2018

What version is your octoprint? There was one version that blacklisted the plugin because it would kill the interface altogether. Are there any errors in your logs?

I'm on 1.3.9. I haven't checked error logs yet but I can do that when I get home. Was there ever a resolution for the other that posted in this thread?

@jneilliii
Copy link
Owner

I'm not 100% sure if they ever resolved the issue or not.

@ChrisWLeon
Copy link
Author

ChrisWLeon commented Nov 8, 2018 via email

@stale
Copy link

stale bot commented Nov 22, 2018

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.

@nordurljosahvida
Copy link

nordurljosahvida commented Aug 14, 2020

/home/pi/oprint/bin/python2 -m pip install numpy
Runnig this in the console fixes the issue, bed leveling can be easily installed after that

This took hours for me to complete even after setting up swap space but it ended up working. Thanks!

@jneilliii
Copy link
Owner

Once octoprint has migrated to python 3 completely this will get much better thanks to piwheels.

@locki-cz
Copy link

locki-cz commented Jan 31, 2021

CCompilerOpt._cache_write[796] : write cache to path -> /tmp/pip-install-eicidf7l/numpy/build/temp.linux-armv7l-3.8/ccompiler_opt_cache_clib.py
error: [Errno 28] No space left on device

ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly

env.os.id: linux
env.os.platform: linux
env.python.pip: 20.3.3
env.python.version: 3.8.5
env.python.virtualenv: true
octoprint.safe_mode: false
octoprint.version: 1.5.3

root@orangepione:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 188M 0 188M 0% /dev
tmpfs 50M 4.4M 45M 9% /run
/dev/mmcblk0p1 30G 2.5G 27G 9% /
tmpfs 246M 0 246M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 246M 0 246M 0% /sys/fs/cgroup
tmpfs 246M 524K 246M 1% /tmp
/dev/zram1 49M 20M 25M 45% /var/log
tmpfs 50M 0 50M 0% /run/user/0

I already added swap file:
sudo fallocate -l 1G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

Device: orange pi one

how much space it need?

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