Illegal Hardware Instruction

20 views
Skip to first unread message

Mesfin Haftu

unread,
Apr 11, 2023, 4:21:14 PM4/11/23
to Django users
Hello There,

This is Mesfin, I am working on a project of deep learning to classify images. I design the model, train, fit, evaluate and predict with my model. After that I save the model and try to do some users interface with Django to make things easier for users, however when  I try to "python manage.py runserver" It says Illegal Hardware Instruction. 
Is there any one who faces this thing before and have solution. 

Thankyou for your positive answers
Mesfin

Julio Cojom

unread,
Apr 11, 2023, 4:26:10 PM4/11/23
to django...@googlegroups.com
Is your computer an apple silicon mac? 






--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/cc06c8fc-6cda-436a-bac7-75b7bbe6c920n%40googlegroups.com.

jeanmarc prudham

unread,
Apr 13, 2023, 9:47:17 AM4/13/23
to Django users

It may be caused by Django dependencies that were installed from different repositories (mixing conda and  pip  f.e. ?) if you use the same env for your ML programs and django  the most uncomplicated way may be to add another one for running the server  and reinstall all the ML dependencies properly for this env (which should be painless)
Reply all
Reply to author
Forward
0 new messages