You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
>>> from pyearth import Earth
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "....../py-earth/pyearth/__init__.py", line 6, in <module>
from .earth import Earth
File "....../py-earth/pyearth/earth.py", line 1, in <module>
from ._forward import ForwardPasser
ModuleNotFoundError: No module named 'pyearth._forward'
Any suggestions?
Pei
The text was updated successfully, but these errors were encountered:
@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?
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.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ERROR messages:
Any suggestions?
Pei
The text was updated successfully, but these errors were encountered: