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:
#!/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?
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.