My virtual environment was on version 3.11 (I didn't reinstall it after I've upgraded my python), that's why it didn't work properly.