Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

No module named 'Schedule' #85

Closed
LabodiDavid opened this issue Feb 22, 2020 · 2 comments
Closed

No module named 'Schedule' #85

LabodiDavid opened this issue Feb 22, 2020 · 2 comments

Comments

@LabodiDavid
Copy link

I followed the installation instructions.

Finished processing dependencies for cachet-url-monitor==0.6.7
(cachet-url-monitor) root@S1-Linux-VM:/home/servers/cachet-url-monitor# python3 cachet_url_monitor/scheduler.py config.yml
Traceback (most recent call last):
  File "cachet_url_monitor/scheduler.py", line 8, in <module>
    import schedule
ModuleNotFoundError: No module named 'schedule'

When i trying to install 'Schedule'

(cachet-url-monitor) root@S1-Linux-VM:/home/servers/cachet-url-monitor# pip install schedule
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already satisfied: schedule in ./lib/python2.7/site-packages (0.6.0)
@mtakaki
Copy link
Owner

mtakaki commented Feb 25, 2020

Did you create a virtualenv with python3? Based on your last error, you're using python2.
Can you try this (you can replace cachet-url-monitor for the name of the folder where you cloned it)?

$ python3 -m venv cachet-url-monitor
$ cd cachet-url-monitor
$ source bin/activate
$ pip install -r requirements.txt

If you already have a virtualenv setup in that folder, you need to remove the existing folders.

@mtakaki
Copy link
Owner

mtakaki commented Apr 29, 2020

I'm closing this issue as I haven't gotten any answer. Please, feel free to re-open it if it happens again.

@mtakaki mtakaki closed this as completed Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants