Try to use a docker container and and rerun the code there. If the error is still raised, there might be some issue in your system directly. If the docker container is working, try to reinstall “more” packages on your bare metal, such as the drivers etc.