You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installed based on wiki on ubuntu 18.04
everything up2date
whenever i try to run any command
e.g. python3 plexlibrary -l
i get the following error:
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "plexlibrary/__main__.py", line 2, in <module>
from plexlibrary import main
File "plexlibrary/plexlibrary.py", line 21, in <module>
import recipes
File "plexlibrary/recipes.py", line 5, in <module>
from utils import YAMLBase
File "plexlibrary/utils.py", line 4, in <module>
import ruamel.yaml
ModuleNotFoundError: No module named 'ruamel'
I tried installing ruamel but it tells me its already installed
i also installed mock as it was recommended as a possible solution but i still get the same error
hi, did this resolve for OP as I am having the same issue. Tried the above, but still getting same error:
File "plexlibrary/utils.py", line 4, in
import ruamel.yaml
ModuleNotFoundError: No module named 'ruamel'
any help would be greatly appreciated, its frying my brain :-)
I've suddenly come up against this issue now after successfully running the script as a cron job for around 3 months. I've tried the suggestion above but only receive an error stating that ruamel.yml is already installed. Does anyone have any other suggestions for a fix?
Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/carrotsoup/pyplex/plexlibrary/__main__.py", line 2, in <module> from plexlibrary import main File "/home/carrotsoup/pyplex/plexlibrary/plexlibrary.py", line 21, in <module> import recipes File "/home/carrotsoup/pyplex/plexlibrary/recipes.py", line 7, in <module> from utils import YAMLBase File "/home/carrotsoup/pyplex/plexlibrary/utils.py", line 4, in <module> import ruamel.yaml ModuleNotFoundError: No module named 'ruamel'
When I try the above command:
pip3 install ruamel.yaml
Requirement already satisfied: ruamel.yaml in /home/carrotsoup/.local/lib/python3.8/site-packages (0.16.12) Requirement already satisfied: ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.9" in /home/carrotsoup/.local/lib/python3.8/site-packages (from ruamel.yaml) (0.2.2)
Activity
justinglock40 commentedon May 6, 2020
sudo apt-get install python3-devpip install ruamel.yamlpip3 install ruamel.yamlif using Python3chiggerz commentedon Sep 6, 2020
hi, did this resolve for OP as I am having the same issue. Tried the above, but still getting same error:
File "plexlibrary/utils.py", line 4, in
import ruamel.yaml
ModuleNotFoundError: No module named 'ruamel'
any help would be greatly appreciated, its frying my brain :-)
AndyLow91 commentedon Dec 13, 2020
I've suddenly come up against this issue now after successfully running the script as a cron job for around 3 months. I've tried the suggestion above but only receive an error stating that ruamel.yml is already installed. Does anyone have any other suggestions for a fix?
Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/carrotsoup/pyplex/plexlibrary/__main__.py", line 2, in <module> from plexlibrary import main File "/home/carrotsoup/pyplex/plexlibrary/plexlibrary.py", line 21, in <module> import recipes File "/home/carrotsoup/pyplex/plexlibrary/recipes.py", line 7, in <module> from utils import YAMLBase File "/home/carrotsoup/pyplex/plexlibrary/utils.py", line 4, in <module> import ruamel.yaml ModuleNotFoundError: No module named 'ruamel'When I try the above command:
pip3 install ruamel.yamlRequirement already satisfied: ruamel.yaml in /home/carrotsoup/.local/lib/python3.8/site-packages (0.16.12) Requirement already satisfied: ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.9" in /home/carrotsoup/.local/lib/python3.8/site-packages (from ruamel.yaml) (0.2.2)