alorence / django-modern-rpc

Simple XML-RPC and JSON-RPC server for modern Django
http://django-modern-rpc.rtfd.io
MIT License
98 stars 17 forks source link

ImportError: cannot import django.utils.inspect in Python 2.7, Django 1.8 #21

Closed melvinkcx closed 6 years ago

melvinkcx commented 6 years ago

ImportError: cannot import django.utils.inspect in Python 2.7, Django 1.8.

The console shows an ImportError when trying to runserver.

alorence commented 6 years ago

django.utils.inspect is a python module part of Django 1.8. If it can't be imported in your environment, maybe Django is corrupted ?

Python 2.7 / Django 1.8 combination is fully tested on Travis CI. This errror has never been reported.

Can you double check your environment is correctly setup ? If you still have this error, can you try to provide more information ?

melvinkcx commented 6 years ago

I tried to upgrade to 1.8.19, and it works.