I had the same issue. Even had an issue when recreating the same environment using a requirements.txt file. Ended up having to recreate the environment from scratch to resolve the error unfortunately.