I don't think the other questions on stack overflow that sound like this are actually this question. (I did read several of them.)
I downloaded a module, thinkbayes.py. When I'm in IDLE, typing "from thinkbayes import pmf" gives the following.
Traceback (most recent call last): File "", line 1, in from thinkbayes import pmf ModuleNotFoundError: No module named 'thinkbayes'
I copied thinkbayes.py to many directories where python is installed, and that didn't help. So, I searched online for this and found recommendations like:
SET SAVE=%PYTHONPATH%
SET PYTHONPATH=.
python scripts/doit.py
SET PYTHONPATH=%SAVE%
(in stack overflow)
I tried that (and other recommendations) both in IDLE and in the Windows command-line interface. Neither one recognizes those commands. I changed directories to C: -- no improvement.
What am I missing here that everyone else knows? To repeat, I'm trying to get a Python 3 installation to recognize a .py file that I've copied into the 'Scripts' directory, the 'include' directory, etc.
Thanks,
Sakyataksis