Happened to me when I ran out of space on my /:C drive. Was running this
pip install tensorflow[and-cuda]