I had a similar problem when opening a virtual environment on my PC. The solution for me was to ensure that only one Python variable exists in the PC's path. PS: make sure it's the newest one (: Hope it'll help, good luck!