markwal / OctoPrint-PolarCloud

OctoPrint plugin that connects OctoPrint to the Polar3D cloud. You easily monitor your printer from outside your LAN without arcane setup of port forwarding, etc. Plus, take advantage of the rapidly evolving Polar Cloud capabilities and UI.
GNU Affero General Public License v3.0
15 stars 8 forks source link

Error in cryptography setup command #26

Closed jordanwjolly closed 6 years ago

jordanwjolly commented 6 years ago

Hi there,

Am running a fresh install of octoprint (1.3.5) on a pi3, and am getting this error. Have tried installing pip3 but no luck yet, would be v thankful of any assistance!

Collecting cryptography>=1.9 (from pyopenssl->OctoPrint-PolarCloud==1.3)
  Using cached cryptography-2.1.3.tar.gz
    Complete 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-2TMWrs/cryptography/

Cheers

jordanwjolly commented 6 years ago

SOLVED Had to update setup tools, and allow the cryptography library to be installed.

ssh'd into pi@octopi.local

$ ~/oprint/bin/pip install --upgrade setuptools $ ~/oprint/bin/pip install cffi $ ~/oprint/bin/pip install ansible $ ~/oprint/bin/pip install --process-dependency-links "https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip"