MicroPyramid / opensource-job-portal

opensource jobportal in python django
https://peeljobs.com
MIT License
378 stars 211 forks source link

No module named "oauth2client", dependencies need to be update. #71

Open iColdPlayer opened 4 years ago

iColdPlayer commented 4 years ago

How did you manage this project up and running on your server? Currently, I'm using Ubuntu 18.04, and Python-3.8.

The error:

portal/peeldb/models.py", line 8, in <module>
from oauth2client.contrib.django_util.models import CredentialsField
ModuleNotFoundError: No module named 'oauth2client'

After installing the oauth2client, I got this error message:

from django.core import urlresolvers
ImportError: cannot import name 'urlresolvers' from 'django.core'

Cause I think this package is not updated anymore due to its repository deprecated and has been archived since the from django.urls import reverse is removed from django-2.0 version and replaced with from django.urls import reverse.

Answer from StackOverflow.

What do I miss here?