OctoPi plugin

142 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Jeff Hennigar

ungelesen,
13.11.2017, 20:21:1213.11.17
an Halifax Makerspace
Hello! I'm an elementary school teacher here in Halifax, and I'm in over my head with OctoPrint. 

I recently received a grant for some Polar3D printers and access to Polar Cloud. I'd love to get my SeeMeCNC Orion Delta also working through the Polar Cloud for my students. I'm having some trouble installing the Polar Cloud Plugin for OctoPrint. I'm using a RPi 2, and I have OctoPrint installed and working correctly. I get the error on installation: "Could not parse the output from pip". I followed all the options that I could find on this thread without any luck. https://github.com/markwal/OctoPrint-PolarCloud/issues/10

Do you have any advice for me? I'm new to Raspberry Pi and python... Any help is appreciated!

Patrick McGuire

ungelesen,
13.11.2017, 20:29:0413.11.17
an halifaxm...@googlegroups.com
Can you start by running "'pip -V" in the terminal?

Thanks

--

---
You received this message because you are subscribed to the Google Groups "Halifax Makerspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to halifaxmakersp...@googlegroups.com.
To post to this group, send email to halifaxm...@googlegroups.com.
Visit this group at https://groups.google.com/group/halifaxmakerspace.
For more options, visit https://groups.google.com/d/optout.

Jeff Hennigar

ungelesen,
13.11.2017, 20:33:0513.11.17
an Halifax Makerspace
Just tried, It asks for a password, and my password for the Pi doesn't work...

Patrick McGuire

ungelesen,
13.11.2017, 20:36:0913.11.17
an halifaxm...@googlegroups.com
Maybe try as root? "sudo -i" first

Patrick McGuire

ungelesen,
13.11.2017, 20:38:2813.11.17
an halifaxm...@googlegroups.com
if pip is not responding with a version maybe  "sudo apt install python-pip"

Jeff Hennigar

ungelesen,
13.11.2017, 20:50:0513.11.17
an Halifax Makerspace
got it

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

Patrick McGuire

ungelesen,
13.11.2017, 20:51:5813.11.17
an halifaxm...@googlegroups.com
Awesome, how about the output right before the error, maybe 10 to 20 lines of output?

Jeff Hennigar

ungelesen,
13.11.2017, 20:56:5613.11.17
an Halifax Makerspace
Installing plugin "Polar Cloud" from https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip...Installation needs to process external dependencies, that might make it take a bit longer than usual depending on the pip version/home/pi/oprint/bin/python -m pip install https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zipCollecting https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zipDownloading https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip (41kB)Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.5-py2.7.egg (from OctoPrint-PolarCloud==1.3)Collecting SocketIO-client (from OctoPrint-PolarCloud==1.3)Using cached socketIO-client-0.7.2.tar.gzCollecting pyopenssl (from OctoPrint-PolarCloud==1.3)Using cached pyOpenSSL-17.3.0-py2.py3-none-any.whlCollecting Pillow (from OctoPrint-PolarCloud==1.3)Using cached Pillow-4.3.0.tar.gzRequirement already satisfied: flask<0.11,>=0.9 in /home/pi/oprint/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: Jinja2<2.9,>=2.8 in /home/pi/oprint/lib/python2.7/site-packages/Jinja2-2.8.1-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: werkzeug<0.9,>=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: tornado==4.0.2 in /home/pi/oprint/lib/python2.7/site-packages/tornado-4.0.2-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: sockjs-tornado<1.1,>=1.0.3 in /home/pi/oprint/lib/python2.7/site-packages/sockjs_tornado-1.0.3-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: PyYAML<3.11,>=3.10 in /home/pi/oprint/lib/python2.7/site-packages/PyYAML-3.10-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: Flask-Login<0.3,>=0.2.2 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Login-0.2.11-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: Flask-Principal<0.4,>=0.3.5 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Principal-0.3.5-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: Flask-Babel<0.10,>=0.9 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Babel-0.9-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: Flask-Assets<0.11,>=0.10 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Assets-0.10-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: markdown<2.7,>=2.6.4 in /home/pi/oprint/lib/python2.7/site-packages/Markdown-2.6.8-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: pyserial<2.8,>=2.7 in /home/pi/oprint/lib/python2.7/site-packages/pyserial-2.7-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: netaddr<0.8,>=0.7.17 in /home/pi/oprint/lib/python2.7/site-packages/netaddr-0.7.19-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: watchdog<0.9,>=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: sarge<0.2,>=0.1.4 in /home/pi/oprint/lib/python2.7/site-packages/sarge-0.1.4-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: netifaces<0.11,>=0.10 in /home/pi/oprint/lib/python2.7/site-packages/netifaces-0.10.6-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: pylru<1.1,>=1.0.9 in /home/pi/oprint/lib/python2.7/site-packages/pylru-1.0.9-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: rsa<3.3,>=3.2 in /home/pi/oprint/lib/python2.7/site-packages/rsa-3.2.3-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: pkginfo<1.3,>=1.2.1 in /home/pi/oprint/lib/python2.7/site-packages/pkginfo-1.2.1-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: requests<2.8,>=2.7 in /home/pi/oprint/lib/python2.7/site-packages/requests-2.7.0-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: semantic_version<2.5,>=2.4.2 in /home/pi/oprint/lib/python2.7/site-packages/semantic_version-2.4.2-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: psutil<3.3,>=3.2.1 in /home/pi/oprint/lib/python2.7/site-packages/psutil-3.2.2-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: Click<6.3,>=6.2 in /home/pi/oprint/lib/python2.7/site-packages/click-6.2-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in /home/pi/oprint/lib/python2.7/site-packages/awesome_slugify-1.6.5-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: feedparser<5.3,>=5.2.1 in /home/pi/oprint/lib/python2.7/site-packages/feedparser-5.2.1-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: chainmap<1.1,>=1.0.2 in /home/pi/oprint/lib/python2.7/site-packages/chainmap-1.0.2-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: future<0.16,>=0.15 in /home/pi/oprint/lib/python2.7/site-packages/future-0.15.2-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: scandir<1.4,>=1.3 in /home/pi/oprint/lib/python2.7/site-packages/scandir-1.3-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: websocket-client<0.41,>=0.40 in /home/pi/oprint/lib/python2.7/site-packages/websocket_client-0.40.0-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: python-dateutil<2.7,>=2.6 in /home/pi/oprint/lib/python2.7/site-packages/python_dateutil-2.6.0-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: wrapt<1.11,>=1.10.10 in /home/pi/oprint/lib/python2.7/site-packages/wrapt-1.10.11-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: futures<3.2,>=3.1.1 in /home/pi/oprint/lib/python2.7/site-packages/futures-3.1.1-py2.7.egg (from OctoPrint->OctoPrint-PolarCloud==1.3)Requirement already satisfied: six in /home/pi/oprint/lib/python2.7/site-packages/six-1.10.0-py2.7.egg (from SocketIO-client->OctoPrint-PolarCloud==1.3)Collecting cryptography>=1.9 (from pyopenssl->OctoPrint-PolarCloud==1.3)Using cached cryptography-2.1.3.tar.gzComplete output from command python setup.py egg_info:error in cryptography setup command: Invalid environment marker: python_version < '3'----------------------------------------Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-RMjuWM/cryptography/Error!Could not parse output from pip, see plugin_pluginmanager_console.log for generated output

Patrick McGuire

ungelesen,
13.11.2017, 21:05:4513.11.17
an halifaxm...@googlegroups.com
I think it wants Python 3 not 2, both can be installed at the same time so it is confusing.


based on  "Invalid environment marker: python_version < '3'"

Patrick McGuire

ungelesen,
13.11.2017, 21:18:1813.11.17
an halifaxm...@googlegroups.com
Interesting.. maybe try 

" pip install pyopenssl"

Jeff Hennigar

ungelesen,
13.11.2017, 21:18:3913.11.17
an Halifax Makerspace
Ok, So it does have both installed. 3.2.4 and 2.7.9
I'm not sure what to try from that doc. Does OctoPrint use Ubuntu?

Patrick McGuire

ungelesen,
13.11.2017, 21:22:0213.11.17
an halifaxm...@googlegroups.com
Python and Javascript


Jeff Hennigar

ungelesen,
13.11.2017, 21:34:4513.11.17
an Halifax Makerspace
"Requirement already satisfied: pyopenssl in /usr/lib/python2.7/dist-packages"

Patrick McGuire

ungelesen,
13.11.2017, 21:47:4813.11.17
an halifaxm...@googlegroups.com

Patrick McGuire

ungelesen,
13.11.2017, 21:49:0713.11.17
an halifaxm...@googlegroups.com
sudo pip install --upgrade setuptools
sudo apt-get install libffi-dev libssl-dev

Patrick McGuire

ungelesen,
13.11.2017, 21:52:1413.11.17
an halifaxm...@googlegroups.com
If that doesn't help what is the output from

sudo pip install pillow


Jeff Hennigar

ungelesen,
15.11.2017, 19:02:1415.11.17
an halifaxm...@googlegroups.com
The setuptools update did it! Thank you!

You received this message because you are subscribed to a topic in the Google Groups "Halifax Makerspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/halifaxmakerspace/VgIKXH-WXdk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to halifaxmakersp...@googlegroups.com.

Patrick McGuire

ungelesen,
15.11.2017, 19:27:1915.11.17
an halifaxm...@googlegroups.com
That’s awesome, do you want to post the solution on the thread you started on?
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten