SalesforceAIResearch / uni2ts

Unified Training of Universal Time Series Forecasting Transformers
Apache License 2.0
868 stars 94 forks source link

Installing uni2ts from PyPI gives a ModuleNotFoundError #117

Closed ConstantinaNicolaou closed 2 months ago

ConstantinaNicolaou commented 2 months ago

Describe the bug I am experiencing a ModuleNotFoundError when attempting to import the package after installation from PyPI. The package appears to install (without error), but it cannot be imported. Other packages in the same environment are working fine.

To Reproduce Install with PyPI, then do

import uni2ts

Expected behavior The package should import without errors after installation.

Error message or code output

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'uni2ts'

Environment

Additional comments Installing uni2ts from source works fine. I am installing uni2ts using poetry by specifying it as a dependency in the pyproject.toml file. I am able to import dependencies required by uni2ts but not uni2ts itself.

Thank you in advance for your help.

liu-jc commented 2 months ago

Hi @ConstantinaNicolaou,

Could you try again? We found an issue in our previous package on pypi. I just test it and now it should be fine.

ConstantinaNicolaou commented 2 months ago

Thank you @liu-jc for fixing this so quickly. I can confirm it now works as expected.