Open typo2014 opened 4 years ago
sudo apt-get install python3-dev
pip install ruamel.yaml
pip3 install ruamel.yaml
if using Python3
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
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)
Hi
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:
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
Any idea how to solve it?
all the best Typo