Error starting on Windows 10

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
LowHangingFruit
Posts: 1
Joined: Tue Mar 26, 2019 10:07 pm

Error starting on Windows 10

Post by LowHangingFruit »

Installed python-2.7.16.amd64 and set it as part of the path.
downloaded zip from https://github.com/evilhero/mylar yesterday 03/25/2018.

when i start (as admin) from within mylar directory I receive the following error:

C:\mylar-master>python Mylar.py
Traceback (most recent call last):
File "Mylar.py", line 26, in <module>
import mylar
File "C:\mylar-master\mylar\__init__.py", line 36, in <module>
from apscheduler.schedulers.background import BackgroundScheduler
File "lib\apscheduler\schedulers\background.py", line 5, in <module>
from apscheduler.schedulers.base import BaseScheduler
File "lib\apscheduler\schedulers\base.py", line 11, in <module>
from pkg_resources import iter_entry_points
ImportError: No module named pkg_resources

any suggestions as to where to start?
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Error starting on Windows 10

Post by evilhero »

Pkg_resources is a module that's required for the scheduler system that Mylar uses. It can't be bundled with Mylar, so it has to be installed at an OS level.

So you have to install it - the easiest method is if you have pip already installed (and most default installations of python have it installed already), then from the command line (assuming your python.exe is in your environment path) just do a

Code: Select all

pip install pkg_resources
Post Reply