Plex-Data-Collector-For-InfluxDB icon indicating copy to clipboard operation
Plex-Data-Collector-For-InfluxDB copied to clipboard

No module named error

Open mkono87 opened this issue 6 years ago • 14 comments

Also getting this issue but the earlier issue posted I was unable to find a solution

mkono87 avatar Jan 22 '19 16:01 mkono87

Yep, me too.

Sorensiim avatar Nov 06 '19 13:11 Sorensiim

How are you trying to run this? in Docker or just as a normal python script?

RobinDadswell avatar Nov 06 '19 13:11 RobinDadswell

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 .

Sorensiim avatar Nov 06 '19 13:11 Sorensiim

python 3?

RobinDadswell avatar Nov 06 '19 13:11 RobinDadswell

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.

RobinDadswell avatar Nov 06 '19 13:11 RobinDadswell

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 .

Sorensiim avatar Nov 06 '19 13:11 Sorensiim

I just use varken instead of this now works great.

mkono87 avatar Nov 06 '19 14:11 mkono87

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 avatar Nov 06 '19 14:11 Sorensiim

@Sorensiim I posted this issue 11 months ago and its not "my" issue anymore. Can you not just make a new one?

mkono87 avatar Nov 06 '19 14:11 mkono87

try running pip3 instead of pip pip3 install -r requirements.txt

RobinDadswell avatar Nov 06 '19 14:11 RobinDadswell

@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.

barrycarey avatar Nov 06 '19 17:11 barrycarey

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

agneevX avatar Feb 21 '20 16:02 agneevX

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

StickyzzG avatar Mar 23 '20 19:03 StickyzzG