I try to install GPLearn to run in Python.
I have used pip to install GPLearn by the command:
pip install gplearn
Everything seems to work fine
When starting a new python project in VS2019 and running the code
import gplearn
print('ok')
This gives the error No module named 'gplearn'.
Tried the exact same approach with Scikit-learn and it worked just fine.
It's likely the version of pip used to install gplearn is not the same version of python you are using in VS2019.
Try the top answer found here: "ImportError: No module named httplib2" even after installation