user3665224
user3665224

Reputation: 1357

Django segmentation fault

When I try to start 'python manage.py runserver', I endup with 'Segmentation Fault'. But, on repetitive try, server gets up and running.

Please note, I get below error in newly installed Windows 10 machine. With all other same settings, I am able to run this project successfully in another machine running with older windows version.

May I know what could be issue in this and why it succeeds on repeated try.

EDIT: Here's the link for full log

Error log file

Upvotes: 0

Views: 3183

Answers (1)

dahrens
dahrens

Reputation: 3959

Looks like you have installed another (newer?) version of python in your new windows.

In this case you need to delete all __pycache__ folders within your source tree. The cached code is not compatible with your current interpreter.

I would also recommend to recreate your virtual environment if you use dependencies that rely on underlying C libraries.

Upvotes: 1

Related Questions