Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing sklearn module dependency #45

Closed
kcgen opened this issue Feb 18, 2019 · 3 comments
Closed

Missing sklearn module dependency #45

kcgen opened this issue Feb 18, 2019 · 3 comments

Comments

@kcgen
Copy link

kcgen commented Feb 18, 2019

pip3 install ta succeeds.

>>> import pandas as pd
>>> from ta import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/dist-packages/ta/__init__.py", line 11, in <module>
    from .pipeline_wrapper import *
  File "/usr/local/lib/python3.6/dist-packages/ta/pipeline_wrapper.py", line 2, in <module>
    from sklearn.base import TransformerMixin, BaseEstimator
ModuleNotFoundError: No module named 'sklearn'

So it looks like the 'ta' package is missing sklearn as a dependency.

pip3 install sklearn

Python 3.6.7 (default, Oct 22 2018, 11:32:17) 
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ta import *
>>> 
bukosabino added a commit that referenced this issue Apr 9, 2019
@bukosabino
Copy link
Owner

Hi @krcroft ,

I will fix in a new ta library version.

Thank you for your message.

@bukosabino
Copy link
Owner

bukosabino commented Apr 10, 2019

Fixed on the last release, v0.4.1

@kcgen
Copy link
Author

kcgen commented May 6, 2019

Thank you @bukosabino !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants