Title: ImportError: cannot import name 'ModelChain' from 'windpowerlib · Issue #128 · wind-python/windpowerlib · GitHub
Open Graph Title: ImportError: cannot import name 'ModelChain' from 'windpowerlib · Issue #128 · wind-python/windpowerlib
X Title: ImportError: cannot import name 'ModelChain' from 'windpowerlib · Issue #128 · wind-python/windpowerlib
Description: 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: ca...
Open Graph Description: 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 windpo...
X Description: 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 win...
Opengraph URL: https://github.com/wind-python/windpowerlib/issues/128
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ImportError: cannot import name 'ModelChain' from 'windpowerlib","articleBody":"I got following error\r\nImportError Traceback (most recent call last)\r\n\u003cipython-input-7-893282c1f465\u003e in \u003cmodule\u003e\r\n 1 import pandas as pd\r\n 2 import matplotlib.pyplot as plt\r\n----\u003e 3 from windpowerlib import ModelChain, WindTurbine\r\n 4 from windpowerlib import data as wt\r\n\r\nImportError: cannot import name 'ModelChain' from 'windpowerlib' (C:\\Users\\tugce\\anaconda3\\lib\\site-packages\\windpowerlib\\__init__.py)\r\n\r\nCollecting windpowerlib==0.1.1\r\n Downloading windpowerlib-0.1.1.tar.gz (33 kB)\r\nCollecting pandas\u003c0.25,\u003e=0.19.1\r\n Downloading pandas-0.24.2.tar.gz (11.8 MB)\r\nRequirement already satisfied: requests\u003c3.0 in c:\\users\\tugce\\anaconda3\\lib\\site-packages (from windpowerlib==0.1.1) (2.30.0)\r\nRequirement already satisfied: python-dateutil\u003e=2.5.0 in c:\\users\\tugce\\anaconda3\\lib\\site-packages (from pandas\u003c0.25,\u003e=0.19.1-\u003ewindpowerlib==0.1.1) (2.8.2)\r\nRequirement already satisfied: pytz\u003e=2011k in c:\\users\\tugce\\anaconda3\\lib\\site-packages (from pandas\u003c0.25,\u003e=0.19.1-\u003ewindpowerlib==0.1.1) (2023.3)\r\nRequirement already satisfied: numpy\u003e=1.12.0 in c:\\users\\tugce\\anaconda3\\lib\\site-packages (from pandas\u003c0.25,\u003e=0.19.1-\u003ewindpowerlib==0.1.1) (1.24.3)\r\nRequirement already satisfied: certifi\u003e=2017.4.17 in c:\\users\\tugce\\anaconda3\\lib\\site-packages (from requests\u003c3.0-\u003ewindpowerlib==0.1.1) (2020.6.20)\r\nRequirement already satisfied: idna\u003c4,\u003e=2.5 in c:\\users\\tugce\\anaconda3\\lib\\site-packages (from requests\u003c3.0-\u003ewindpowerlib==0.1.1) (2.10)\r\nRequirement already satisfied: urllib3\u003c3,\u003e=1.21.1 in c:\\users\\tugce\\anaconda3\\lib\\site-packages (from requests\u003c3.0-\u003ewindpowerlib==0.1.1) (1.25.11)\r\nRequirement already satisfied: charset-normalizer\u003c4,\u003e=2 in c:\\users\\tugce\\anaconda3\\lib\\site-packages (from requests\u003c3.0-\u003ewindpowerlib==0.1.1) (3.1.0)\r\nRequirement already satisfied: six\u003e=1.5 in c:\\users\\tugce\\anaconda3\\lib\\site-packages (from python-dateutil\u003e=2.5.0-\u003epandas\u003c0.25,\u003e=0.19.1-\u003ewindpowerlib==0.1.1) (1.15.0)\r\nBuilding wheels for collected packages: windpowerlib, pandas\r\n Building wheel for windpowerlib (setup.py): started\r\n Building wheel for windpowerlib (setup.py): finished with status 'done'\r\n Created wheel for windpowerlib: filename=windpowerlib-0.1.1-py3-none-any.whl size=39334 sha256=a91efb2783c46b445c74d6bd5f12e160ee3ede1931421e3f68417c6d87997f54\r\n Stored in directory: c:\\users\\tugce\\appdata\\local\\pip\\cache\\wheels\\ff\\6a\\86\\bab4c285dce0d2f20d85cfb91bd40730bfe6b62a25dcb5fd4b\r\n Building wheel for pandas (setup.py): started\r\n Building wheel for pandas (setup.py): finished with status 'error'\r\n Running setup.py clean for pandas\r\nSuccessfully built windpowerlib\r\nFailed to build pandas\r\nInstalling collected packages: pandas, windpowerlib\r\n Attempting uninstall: pandas\r\n Found existing installation: pandas 2.0.1\r\n Uninstalling pandas-2.0.1:\r\n Successfully uninstalled pandas-2.0.1\r\n Running setup.py install for pandas: started\r\n Running setup.py install for pandas: still running...\r\n Running setup.py install for pandas: finished with status 'error'\r\n Rolling back uninstall of pandas\r\n Moving to c:\\users\\tugce\\anaconda3\\lib\\site-packages\\pandas-2.0.1.dist-info\\\r\n from C:\\Users\\tugce\\anaconda3\\Lib\\site-packages\\~andas-2.0.1.dist-info\r\n Moving to c:\\users\\tugce\\anaconda3\\lib\\site-packages\\pandas\\\r\n from C:\\Users\\tugce\\anaconda3\\Lib\\site-packages\\~andas","author":{"url":"https://github.com/tulucay","@type":"Person","name":"tulucay"},"datePublished":"2023-05-10T07:21:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/128/windpowerlib/issues/128"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e0594ed5-848b-0764-f0ad-55ca98143950 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E810:EBD3A:476AAC:5C9A52:698D13B7 |
| html-safe-nonce | 8531ee70dd3099b3d27462e322807006f0369b94603cb5fd6c82387fad6c2f65 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODEwOkVCRDNBOjQ3NkFBQzo1QzlBNTI6Njk4RDEzQjciLCJ2aXNpdG9yX2lkIjoiNjk0MjgzNjQ3OTk1ODUyMDc1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ed1993221bac36600be2c1201bad450472a10a2f79bfbf0ba7c19d80fb18651f |
| hovercard-subject-tag | issue:1703284743 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/wind-python/windpowerlib/128/issue_layout |
| twitter:image | https://opengraph.githubassets.com/98aaa86e346513cf645c01a9c4e77032a5bf917dab730329839876ba38b411b4/wind-python/windpowerlib/issues/128 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/98aaa86e346513cf645c01a9c4e77032a5bf917dab730329839876ba38b411b4/wind-python/windpowerlib/issues/128 |
| og:image:alt | 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 windpo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tulucay |
| hostname | github.com |
| expected-hostname | github.com |
| None | c25395580e1e3bf82d705e0982a1b24255366088720fef945f1493d5e3e67954 |
| turbo-cache-control | no-preview |
| go-import | github.com/wind-python/windpowerlib git https://github.com/wind-python/windpowerlib.git |
| octolytics-dimension-user_id | 21263042 |
| octolytics-dimension-user_login | wind-python |
| octolytics-dimension-repository_id | 66651306 |
| octolytics-dimension-repository_nwo | wind-python/windpowerlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 66651306 |
| octolytics-dimension-repository_network_root_nwo | wind-python/windpowerlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 94219dcb9c044792ec271fd5b23c73419858bef7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width