Open jiapei100 opened 6 years ago
@jiapei100 This seems to happen when people try to run python from within the py-earth source directory after installing. Could that be the problem in your case?
@jcrudy hi,I met the same problem
Using d:\program files\anaconda3\lib\site-packages Searching for scikit-learn==0.18.2 Best match: scikit-learn 0.18.2 Adding scikit-learn 0.18.2 to easy-install.pth file
Using d:\program files\anaconda3\lib\site-packages Searching for scipy==1.1.0 Best match: scipy 1.1.0 Adding scipy 1.1.0 to easy-install.pth file
Using d:\program files\anaconda3\lib\site-packages Finished processing dependencies for sklearn-contrib-py-earth==0.1.0
d:\research\py-earth>python Python 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 11:27:44) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
from pyearth import Earth Traceback (most recent call last): File "
", line 1, in File "d:\research\py-earth\pyearth__init__.py", line 6, in from .earth import Earth File "d:\research\py-earth\pyearth\earth.py", line 1, in from ._forward import ForwardPasser ModuleNotFoundError: No module named 'pyearth._forward'
@mk123qwe Sorry for the delay. I believe you are dealing with the same problem as @jiapei100. If you run Python from a different directory it should solve your problem.
ERROR messages:
Any suggestions? Pei