Models dependency
See original GitHub issueHello, I have installed spark-ts 0.4.0 in an anaconda environment and when I try to perform the import of any model I get this error
from sparkts.models import ARIMA
ImportError Traceback (most recent call last) <ipython-input-6-eb475815fe98> in <module>() ----> 1 from sparkts.models import ARIMA
/home/user/anaconda3/envs/anacondaEnv/lib/python3.4/site-packages/sparkts-0.4.0-py3.4.egg/sparkts/models/ARIMA.py in <module>() 1 from . import _py2java_double_array ----> 2 from _model import PyModel 3 4 from pyspark.mllib.common import _py2java, _java2py 5 from pyspark.mllib.linalg import Vectors
ImportError: No module named ‘_model’
I have solved it just adding a dot
from ._model import PyModel
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
An introduction to dependency modelling - Riskenomics
A thorough dependency model takes into account systems and people, as well as infrastructure, in other words soft systems as well as hard....
Read more >Model dependencies and project references - IBM
References and dependencies can be defined at different levels in your workspace. Projects, transformation configurations, and models can all define ...
Read more >Dependency Models | CECAN
Dependency modelling is a large family of different approaches used to explore, ... Dependency models tend to share a number of generic characteristics, ......
Read more >Model dependencies - MATLAB & Simulink - MathWorks
Model dependencies are files and data that potentially impact simulation results. Simulink ® does not automatically identify user-created dependencies.
Read more >How do I create dependencies between models?
How do I create dependencies between models? When you use the ref function, dbt automatically infers the dependencies between models.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks so much, I made it.
Installing it with the
python setup.py install
with the environment activated