I have installed pip install docxtpl with no errors. Previously I have ran programs with no erros. But I am getting this weird error of no module found. Don't know what to do?
1 Answer
Try to do
pip3 install docxtpl
You can also use pip list or pip3 list to see all installed modules
3 Comments
Mainland
Yes! I did that but did not work. Help me one thing here. I am installing on anaconda prompt and running the program on CMD as
python file_name.py. Am I doing correct?T0w0T
try launching the program with
python3 file_name.pyMainland
Did not work. Guess! what, I opened my Spyder IDE and ran the same. It ran like cham. I am surprised but happy.


pipandpythoncommands don't agree on which version to use. Sopipmight have installed the module for, say, Python 3.8, but yourpythoncommand is using Python 3.9.pip3but I don't know if I am calling right one when I say justpython file_name.pyin the CMD. Guess! what, I opened my Spyder IDE and ran the same. It ran like cham. I am surprised but happy.