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
ImportError #108
Comments
Hi @davidguo-7, Are you able to run this notebook from the tutorials? It has an example using |
Hi @jeffhandl Yes, I am taking reference from this tutorials. But the error message came out in the first step which imported the function. So, I can't follow the remaining tutorials! |
Hi @davidguo-7, We are trying to understand how you are getting this error. Can you give us the sequence of steps that led to this error so we can reproduce it and try to solve it? |
@jeffhandl Hi, Please the attached screenshot for the error. It's quite strange. When I import TimeSeriesData, it works. But for importing any other functionalities, always failed. |
Same error. Request an answer to this error. |
@YachaoDong @davidguo-7 Can you give me the steps that you used to install Kats? |
OS: Ubuntu20.04(WSL2 installed on WIN10) `Building wheels for collected packages: kats, fbprophet, pymeeus
|
@jeffhandl Hi, I installed the Kats via Anaconda Pip (base) C:\Users\49683>pip uninstall kats (base) C:\Users\49683>pip install kats |
Then I re-created a conda virtual environment, and then ran the following steps: |
update Then I copied other kats packages into it, but the error still appeared
|
update I found that when using "pip install kats”, do not use the mirror source. If you use the mirror source, there are no files in the installed kats package. It may be because kats is a new library. |
@YachaoDong @jeffhandl Aha, great man! It works! If i install kats from the original source, thing goes well! Thank you! |
Awesome, @YachaoDong @davidguo-7 is this issue resolved then? |
How did you install it from the original source? I still can't seem to get it to work. |
|
Hello!
When I was trying to import some kats functionalities on my Jupyter Notebook, it came back with a error message as below:
ImportError Traceback (most recent call last)
in
----> 1 from kats.detectors.outlier import OutlierDetector
~\Anaconda3\lib\site-packages\kats_init_.py in
1 from . import consts # noqa
----> 2 from . import utils # noqa
3 from . import detectors # noqa
4 from . import models # noqa
5 from . import tsfeatures # noqa
ImportError: cannot import name 'utils' from partially initialized module 'kats' (most likely due to a circular import) (C:\Users\49683\Anaconda3\lib\site-packages\kats_init_.py)
Anyone knows how to resolve this issue? Thanks in advance!
The text was updated successfully, but these errors were encountered: