I met this problem too. You should check your fastapi version and then find it's Starlette version, now you could find python-multipart package version at Starlette's requirements. Install the correct version of python-multipart and problem solved.