After I made a new virtual environment in python python3 -m venv venv
, I did pip install gtts
and by doing pip freeze
I can verify that it was successfully installed. Also, I did activate the virtual environment before installing. On the pip freeze, the only thing that showed up is gtts, six, certifi, and other packages used by gtts.
Sometime later, after closing my cmd, I started the virtual environment again via cd venv/Scripts
then activate.bat
, and when I pip freez
-ed it shows the libraries I have installed on the main system. I can say that because Pillow, pynput, pygame, etc. is there and gtts is not.
I tried reactivating it, and the same thing happened. When I pip freeze
-ed on the main system, it works perfectly, and still no gtts can be found, meaning I didn't mix the two up. When I clicked the python.exe on the venv, and did import gtts
, no error showed up, meaning that gtts did get installed on the venv.