Searches to both of your error messages suggested a mismatch in .so objects. I would uninstall and reinstall Django and see if that helps.
-Jorge
On Sun, Oct 20, 2019 at 7:59 AM 'Abhishek Sharma' via Django users <django-users@googlegroups.com> wrote:
During handling of the above exception, another exception occurred:Traceback (most recent call last):File "manage.py", line 21, in <module>main()File "manage.py", line 17, in mainexecute_from_command_line(sys.argv)File "C:\Python35\lib\site-packages\django\core\management\__init__.py", line 381, in execute_from_command_lineutility.execute()File "C:\Python35\lib\site-packages\django\core\management\__init__.py", line 375, in executeself.fetch_command(subcommand).run_from_argv(self.argv)File "C:\Python35\lib\site-packages\django\core\management\base.py", line 323, in run_from_argvself.execute(*args, **cmd_options)File "C:\Python35\lib\site-packages\django\core\management\commands\runserver.py", line 60, in executesuper().execute(*args, **options)File "C:\Python35\lib\site-packages\django\core\management\base.py", line 364, in executeoutput = self.handle(*args, **options)File "C:\Python35\lib\site-packages\django\core\management\commands\runserver.py", line 95, in handleself.run(**options)File "C:\Python35\lib\site-packages\django\core\management\commands\runserver.py", line 102, in runautoreload.run_with_reloader(self.inner_run, **options)File "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 598, in run_with_reloaderstart_django(reloader, main_func, *args, **kwargs)File "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 583, in start_djangoreloader.run(django_main_thread)File "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 301, in runself.run_loop()File "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 307, in run_loopnext(ticker)File "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 347, in tickfor filepath, mtime in self.snapshot_files():File "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 363, in snapshot_filesfor file in self.watched_files():File "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 262, in watched_filesyield from iter_all_python_module_files()File "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 103, in iter_all_python_module_filesreturn iter_modules_and_files(modules, frozenset(_error_files))File "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 124, in iter_modules_and_filesif getattr(module, '__spec__', None) is None:SystemError: <built-in function getattr> returned a result with an error set
On Sunday, October 20, 2019 at 8:27:48 PM UTC+5:30, Abhishek Sharma wrote:I'm using Django and while run code getting below error, please help out on itAttributeError: cffi library '_constant_time' has no function, constant or global variable named '__spec__'
The information in this e-mail and any attachments is confidential and may be legally privileged. It is intended solely for the addressee or addressee's. If you are not an intended recipient, please delete the message and any attachments and notify the sender of nondelivery. Any use or disclosure of the contents of either is unauthorised and may be unlawful. All liability for viruses is excluded to the fullest extent permitted by law. Any views expressed in this message are those of the individual sender, except where the sender states them, with requisite authority, to be those of the organisation.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e98263bd-05b9-4d7c-bbc7-bd1ebf9a4a83%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANfN%3DK-%2BD8R9pDc23RXYGJoE4wVpzx23BGK48qy8rw-RFD8EtQ%40mail.gmail.com.
No comments:
Post a Comment