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

[BUG] #258

Closed
hassanbaablaki opened this issue Jan 21, 2021 · 2 comments
Closed

[BUG] #258

hassanbaablaki opened this issue Jan 21, 2021 · 2 comments
Labels
bug Something isn't working triage Issue waiting for triaging

Comments

@hassanbaablaki
Copy link

hassanbaablaki commented Jan 21, 2021

Describe the bug
A clear and concise description of what the bug is.
I have installed darts on a dedicated conda enviroment
However it seems that package darts.dataprocessing is not installed even thought used the pip install u8darts[all]

To Reproduce
Steps to reproduce the behavior, preferably code snippet.
conda create drt-env python=3.7
conda install -c conda-forge -c pytorch pip fbprophet pytorch cpuonly

python -c "import darts; import darts.models;print(dir(darts.models)); import darts.dataprocessing.transformers; print(dir(darts))"
['ARIMA', 'AutoARIMA', 'ExponentialSmoothing', 'FFT', 'NaiveDrift', 'NaiveMean', 'NaiveSeasonal', 'Prophet', 'RNNModel', 'StandardRegressionModel', 'TCNModel', 'Theta', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec', 'arima', 'baselines', 'exponential_smoothing', 'fft', 'forecasting_model', 'prophet', 'regression_model', 'rnn_model', 'standard_regression_model', 'tcn_model', 'theta', 'torch_forecasting_model']
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'darts.dataprocessing'

Expected behavior
To be able to used the tansformers packager

System :

  • Python version: 3.7.9
  • darts version propably 0.2.2 I got a warning when tried to reinstall darts using pip install u8darts[all]
  • WARNING: u8darts 0.2.2 does not provide the extra 'all'
@hassanbaablaki hassanbaablaki added bug Something isn't working triage Issue waiting for triaging labels Jan 21, 2021
@hassanbaablaki
Copy link
Author

After further research it seems that if the latest version of pythorch is installed (1.7.1) then the version 0.2.2 of darts is installed
when using pip install u8darts[all] instead of the latest

When I tried to force install the version 0.5
pip install u8darts[all]=0.5.0
I go and error as it required the version 1.5.1 of pythorch instead of the latest 1.7.1

And as suggested by #235

conda install -c conda-forge -c pytorch pip fbprophet pytorch==1.5.1 cpuonly
then I was able to install the latest version of
pip install u8darts[all]=0.5.0

@hrzn hrzn closed this as completed Apr 8, 2021
@initeam
Copy link

initeam commented Nov 28, 2021

After further research it seems that if the latest version of pythorch is installed (1.7.1) then the version 0.2.2 of darts is installed when using pip install u8darts[all] instead of the latest

When I tried to force install the version 0.5 pip install u8darts[all]=0.5.0 I go and error as it required the version 1.5.1 of pythorch instead of the latest 1.7.1

And as suggested by #235

conda install -c conda-forge -c pytorch pip fbprophet pytorch==1.5.1 cpuonly then I was able to install the latest version of pip install u8darts[all]=0.5.0

A small correction Hassan ie pip install u8darts[all]==0.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Issue waiting for triaging
Projects
None yet
Development

No branches or pull requests

3 participants