Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ModuleNotFoundError: No module named 'requests' #33

Open
Bboy486 opened this issue Aug 17, 2020 · 0 comments
Open

ModuleNotFoundError: No module named 'requests' #33

Bboy486 opened this issue Aug 17, 2020 · 0 comments

Comments

@Bboy486
Copy link

Bboy486 commented Aug 17, 2020

When running
python ./plexcollector.py

I receive the following

Traceback (most recent call last):
File "./plexcollector.py", line 3, in
from plexcollector.PlexInfluxdbCollector import PlexInfluxdbCollector
File "/opt/plexcollector/plexcollector/PlexInfluxdbCollector.py", line 8, in
import requests
ModuleNotFoundError: No module named 'requests'

Tried Python3

python3 ./plexcollector.py
/usr/lib/python3/dist-packages/requests/init.py:91: RequestsDependencyWarning: urllib3 (1.25.10) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
Loading config: config.ini
Traceback (most recent call last):
File "./plexcollector.py", line 3, in
from plexcollector.PlexInfluxdbCollector import PlexInfluxdbCollector
File "/opt/plexcollector/plexcollector/PlexInfluxdbCollector.py", line 14, in
from plexcollector.common import log
File "/opt/plexcollector/plexcollector/common/init.py", line 1, in
from .utils import log
File "/opt/plexcollector/plexcollector/common/utils.py", line 5, in
from plexcollector.config import config
File "/opt/plexcollector/plexcollector/config/init.py", line 10, in
config = ConfigManager(config)
File "/opt/plexcollector/plexcollector/config/configmanager.py", line 17, in init
self.config.read(config_file)
File "/usr/lib/python3.7/configparser.py", line 696, in read
self._read(fp, filename)
File "/usr/lib/python3.7/configparser.py", line 1079, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: '/opt/plexcollector/config.ini', line: 1
' plex_data[GENERAL]\n'

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant