Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

No module named 'upwork.routers'

I have this simple imports that is failing with

    from upwork.routers.jobs import search
ModuleNotFoundError: No module named 'upwork.routers'

Ref: https://upwork.github.io/python-upwork-oauth2/routers/jobs/search.html
https://developers.upwork.com/?lang=python#jobs

Code:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

#!/usr/bin/env python

import upwork
from upwork.routers.jobs import search

I did

$ pip install upwork
$ pip list | grep upwork
upwork 1.0.22

What’s wrong?

>Solution :

The correct PyPI package for the upwork/python-upwork GitHub repo is python-upwork, so

pip uninstall upwork
pip install python-upwork

and give it another go.

The PyPI upwork package is someone else’s unrelated Upwork scraper.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading