I was doing a project in python and saw that import IPy
was not working in 32-bit python IDLE. When I tried to do it in 64-bit python IDLE it worked. I installed IPy using pip install IPy
in cmd. This was my python 32-bit IDLE console input and output:
>>> from IPy import IP Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'IPy'
I am using Windows 7 and Python 3.8 in both 32-bit and 64-bit.
Advertisement
Answer
We must install a new virtual environment. Give huge credits to @Kris.