opensource-job-portal icon indicating copy to clipboard operation
opensource-job-portal copied to clipboard

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

Open iColdPlayer opened this issue 5 years ago • 0 comments

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?

iColdPlayer avatar Apr 18 '20 08:04 iColdPlayer