The package that should have been installed in Anaconda could not be used, and the following error occurred.
ModuleNotFoundError: No module named 'selenium'
I should have installed selenium this time, but I got the above error.
I was using py.exe when running a python program (****. Py) at the anaconda prompt.
When starting, it was described as follows.
I learned that pyrhon.exe and py.exe are different (I thought they were the same until now) A new question arose as to what exactly py.exe is It's a very simple problem to solve, but it took a long time It was a simple mistake, and I couldn't find it even if I searched on the net. I hope this article helps someone.
It is a memo for myself
import sys,pprint
pprint.pprint(sys.path)
Recommended Posts