[SOLVED] Python lib install broken

grovepi
pip

#1
pi@TelePi:~/projects/python $ sudo pip3 install grovepi
Collecting grovepi
  Downloading grovepi-1.0.0.tar.gz
    Complete output from command python setup.py egg_info:
    <class 'OSError'>
    make sure you have [package_description.rst] file in the same directory as [setup.py]
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-jt3h92sr/grovepi/setup.py", line 51, in <module>
        long_description = description,
    NameError: name 'description' is not defined

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-jt3h92sr/grovepi/

#2

Should mention, I used the git version instead and that was fine.


#3

Hi @ghidera2000,

That’s a really good catch. Kudos!

I’ve created a PR and by tomorrow this should be fixed:
https://github.com/DexterInd/GrovePi/pull/378

Thank you!


#4

Hi @ghidera2000,

It’s now fixed. Please update the package with pip and it should now work.

Thank you!


#5

This topic was automatically closed after 44 hours. New replies are no longer allowed.