Plex-Data-Collector-For-InfluxDB
Plex-Data-Collector-For-InfluxDB copied to clipboard
No module named error
Also getting this issue but the earlier issue posted I was unable to find a solution
Yep, me too.
How are you trying to run this? in Docker or just as a normal python script?
Python on a Debian VM.
On Wed, 6 Nov 2019, 14:05 Robin Dadswell, [email protected] wrote:
How are you trying to run this? in Docker or just as a normal python script?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/barrycarey/Plex-Data-Collector-For-InfluxDB/issues/29?email_source=notifications&email_token=AB6XIPEHTCXXY7FFXKZXKTDQSK6H3A5CNFSM4GRUGQU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGOT7A#issuecomment-550300156, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6XIPGTZNSUIZX4KO6JPSLQSK6H3ANCNFSM4GRUGQUQ .
python 3?
Yarp.
On Wed, 6 Nov 2019, 14:16 Robin Dadswell, [email protected] wrote:
python 3?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/barrycarey/Plex-Data-Collector-For-InfluxDB/issues/29?email_source=notifications&email_token=AB6XIPB7NLBKDTOHOXHB253QSK7R7A5CNFSM4GRUGQU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGPTCA#issuecomment-550304136, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6XIPE2NHFSSWJPNLWPVN3QSK7R7ANCNFSM4GRUGQUQ .
Have you run this to install all module requirements?
pip install -r requirements.txt
I just tested on my windows machine and this was all that was needed to resolve it.
Yes.
I'll give it a whirl on a Windows machine later.
On Wed, 6 Nov 2019, 14:22 Robin Dadswell, [email protected] wrote:
Have you run this to install all module requirements? pip install -r requirements.txt I just tested on my windows machine and this was all that was needed to resolve it.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/barrycarey/Plex-Data-Collector-For-InfluxDB/issues/29?email_source=notifications&email_token=AB6XIPFECWDDGRCJVYCPRLLQSLAK5A5CNFSM4GRUGQU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGQFFQ#issuecomment-550306454, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6XIPHKTNQL5AGGLRLOCXDQSLAK5ANCNFSM4GRUGQUQ .
I just use varken instead of this now works great.
Works just fine on Windows, still getting the same error on Linux .
@mkono87 why did you close this? The issue is still very much there.
@Sorensiim I posted this issue 11 months ago and its not "my" issue anymore. Can you not just make a new one?
try running pip3 instead of pip pip3 install -r requirements.txt
@Sorensiim Can you give me the whole trace?
I haven't look at this project in a long time. But last time I did I was developing on Ubuntu.
Still facing the same issue :(
pi@pi4:/opt/Plex-Data-Collector-For-InfluxDB $ python ./plexcollector.py
Traceback (most recent call last):
File "./plexcollector.py", line 3, in <module>
from plexcollector.PlexInfluxdbCollector import PlexInfluxdbCollector
File "/opt/Plex-Data-Collector-For-InfluxDB/plexcollector/PlexInfluxdbCollector.py", line 5, in <module>
from urllib.error import HTTPError
ImportError: No module named error
in my case i was using a pi 4 so it was defaulting to python 2.7 I needed to change the line ExecStart=/usr/bin/python to ExecStart=/usr/bin/python3.7 Then all worked fine