You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got following error
ImportError Traceback (most recent call last)
in
1 import pandas as pd
2 import matplotlib.pyplot as plt
----> 3 from windpowerlib import ModelChain, WindTurbine
4 from windpowerlib import data as wt
ImportError: cannot import name 'ModelChain' from 'windpowerlib' (C:\Users\tugce\anaconda3\lib\site-packages\windpowerlib_init_.py)
Collecting windpowerlib==0.1.1
Downloading windpowerlib-0.1.1.tar.gz (33 kB)
Collecting pandas<0.25,>=0.19.1
Downloading pandas-0.24.2.tar.gz (11.8 MB)
Requirement already satisfied: requests<3.0 in c:\users\tugce\anaconda3\lib\site-packages (from windpowerlib==0.1.1) (2.30.0)
Requirement already satisfied: python-dateutil>=2.5.0 in c:\users\tugce\anaconda3\lib\site-packages (from pandas<0.25,>=0.19.1->windpowerlib==0.1.1) (2.8.2)
Requirement already satisfied: pytz>=2011k in c:\users\tugce\anaconda3\lib\site-packages (from pandas<0.25,>=0.19.1->windpowerlib==0.1.1) (2023.3)
Requirement already satisfied: numpy>=1.12.0 in c:\users\tugce\anaconda3\lib\site-packages (from pandas<0.25,>=0.19.1->windpowerlib==0.1.1) (1.24.3)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\tugce\anaconda3\lib\site-packages (from requests<3.0->windpowerlib==0.1.1) (2020.6.20)
Requirement already satisfied: idna<4,>=2.5 in c:\users\tugce\anaconda3\lib\site-packages (from requests<3.0->windpowerlib==0.1.1) (2.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\tugce\anaconda3\lib\site-packages (from requests<3.0->windpowerlib==0.1.1) (1.25.11)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\tugce\anaconda3\lib\site-packages (from requests<3.0->windpowerlib==0.1.1) (3.1.0)
Requirement already satisfied: six>=1.5 in c:\users\tugce\anaconda3\lib\site-packages (from python-dateutil>=2.5.0->pandas<0.25,>=0.19.1->windpowerlib==0.1.1) (1.15.0)
Building wheels for collected packages: windpowerlib, pandas
Building wheel for windpowerlib (setup.py): started
Building wheel for windpowerlib (setup.py): finished with status 'done'
Created wheel for windpowerlib: filename=windpowerlib-0.1.1-py3-none-any.whl size=39334 sha256=a91efb2783c46b445c74d6bd5f12e160ee3ede1931421e3f68417c6d87997f54
Stored in directory: c:\users\tugce\appdata\local\pip\cache\wheels\ff\6a\86\bab4c285dce0d2f20d85cfb91bd40730bfe6b62a25dcb5fd4b
Building wheel for pandas (setup.py): started
Building wheel for pandas (setup.py): finished with status 'error'
Running setup.py clean for pandas
Successfully built windpowerlib
Failed to build pandas
Installing collected packages: pandas, windpowerlib
Attempting uninstall: pandas
Found existing installation: pandas 2.0.1
Uninstalling pandas-2.0.1:
Successfully uninstalled pandas-2.0.1
Running setup.py install for pandas: started
Running setup.py install for pandas: still running...
Running setup.py install for pandas: finished with status 'error'
Rolling back uninstall of pandas
Moving to c:\users\tugce\anaconda3\lib\site-packages\pandas-2.0.1.dist-info
from C:\Users\tugce\anaconda3\Lib\site-packages~andas-2.0.1.dist-info
Moving to c:\users\tugce\anaconda3\lib\site-packages\pandas
from C:\Users\tugce\anaconda3\Lib\site-packages~andas
The text was updated successfully, but these errors were encountered:
I got following error
ImportError Traceback (most recent call last)
in
1 import pandas as pd
2 import matplotlib.pyplot as plt
----> 3 from windpowerlib import ModelChain, WindTurbine
4 from windpowerlib import data as wt
ImportError: cannot import name 'ModelChain' from 'windpowerlib' (C:\Users\tugce\anaconda3\lib\site-packages\windpowerlib_init_.py)
Collecting windpowerlib==0.1.1
Downloading windpowerlib-0.1.1.tar.gz (33 kB)
Collecting pandas<0.25,>=0.19.1
Downloading pandas-0.24.2.tar.gz (11.8 MB)
Requirement already satisfied: requests<3.0 in c:\users\tugce\anaconda3\lib\site-packages (from windpowerlib==0.1.1) (2.30.0)
Requirement already satisfied: python-dateutil>=2.5.0 in c:\users\tugce\anaconda3\lib\site-packages (from pandas<0.25,>=0.19.1->windpowerlib==0.1.1) (2.8.2)
Requirement already satisfied: pytz>=2011k in c:\users\tugce\anaconda3\lib\site-packages (from pandas<0.25,>=0.19.1->windpowerlib==0.1.1) (2023.3)
Requirement already satisfied: numpy>=1.12.0 in c:\users\tugce\anaconda3\lib\site-packages (from pandas<0.25,>=0.19.1->windpowerlib==0.1.1) (1.24.3)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\tugce\anaconda3\lib\site-packages (from requests<3.0->windpowerlib==0.1.1) (2020.6.20)
Requirement already satisfied: idna<4,>=2.5 in c:\users\tugce\anaconda3\lib\site-packages (from requests<3.0->windpowerlib==0.1.1) (2.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\tugce\anaconda3\lib\site-packages (from requests<3.0->windpowerlib==0.1.1) (1.25.11)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\tugce\anaconda3\lib\site-packages (from requests<3.0->windpowerlib==0.1.1) (3.1.0)
Requirement already satisfied: six>=1.5 in c:\users\tugce\anaconda3\lib\site-packages (from python-dateutil>=2.5.0->pandas<0.25,>=0.19.1->windpowerlib==0.1.1) (1.15.0)
Building wheels for collected packages: windpowerlib, pandas
Building wheel for windpowerlib (setup.py): started
Building wheel for windpowerlib (setup.py): finished with status 'done'
Created wheel for windpowerlib: filename=windpowerlib-0.1.1-py3-none-any.whl size=39334 sha256=a91efb2783c46b445c74d6bd5f12e160ee3ede1931421e3f68417c6d87997f54
Stored in directory: c:\users\tugce\appdata\local\pip\cache\wheels\ff\6a\86\bab4c285dce0d2f20d85cfb91bd40730bfe6b62a25dcb5fd4b
Building wheel for pandas (setup.py): started
Building wheel for pandas (setup.py): finished with status 'error'
Running setup.py clean for pandas
Successfully built windpowerlib
Failed to build pandas
Installing collected packages: pandas, windpowerlib
Attempting uninstall: pandas
Found existing installation: pandas 2.0.1
Uninstalling pandas-2.0.1:
Successfully uninstalled pandas-2.0.1
Running setup.py install for pandas: started
Running setup.py install for pandas: still running...
Running setup.py install for pandas: finished with status 'error'
Rolling back uninstall of pandas
Moving to c:\users\tugce\anaconda3\lib\site-packages\pandas-2.0.1.dist-info
from C:\Users\tugce\anaconda3\Lib\site-packages~andas-2.0.1.dist-info
Moving to c:\users\tugce\anaconda3\lib\site-packages\pandas
from C:\Users\tugce\anaconda3\Lib\site-packages~andas
The text was updated successfully, but these errors were encountered: