Title: AttributeError: module 'mkl_random' has no attribute 'RandomState' · Issue #44 · IntelPython/mkl_random · GitHub
Open Graph Title: AttributeError: module 'mkl_random' has no attribute 'RandomState' · Issue #44 · IntelPython/mkl_random
X Title: AttributeError: module 'mkl_random' has no attribute 'RandomState' · Issue #44 · IntelPython/mkl_random
Description: The examples you give: import mkl_random rs = mkl_random.RandomState(seed=777, brng="MT19937") The following error pops up after I run it: AttributeError: module 'mkl_random' has no attribute 'RandomState' I changed one of the import met...
Open Graph Description: The examples you give: import mkl_random rs = mkl_random.RandomState(seed=777, brng="MT19937") The following error pops up after I run it: AttributeError: module 'mkl_random' has no attribute 'Rand...
X Description: The examples you give: import mkl_random rs = mkl_random.RandomState(seed=777, brng="MT19937") The following error pops up after I run it: AttributeError: module 'mkl_random' has ...
Opengraph URL: https://github.com/IntelPython/mkl_random/issues/44
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AttributeError: module 'mkl_random' has no attribute 'RandomState'","articleBody":"The examples you give:\r\n\r\n\u003e import mkl_random\r\n\u003e rs = mkl_random.RandomState(seed=777, brng=\"MT19937\")\r\n\r\n\r\nThe following error pops up after I run it:\r\n_**AttributeError: module 'mkl_random' has no attribute 'RandomState'**_\r\n\r\nI changed one of the import methods after I tried it and it worked:\r\n\r\n\u003e from mkl_random import mklrand\r\n\u003e rs = mklrand.RandomState(seed=777, brng=\"MT19937\")\r\n\u003e random_integers = rs.randint(0, 10, size=10)\r\n\r\n\r\nI don't know if that's right. Maybe you should update the documentation?","author":{"url":"https://github.com/sky-y11","@type":"Person","name":"sky-y11"},"datePublished":"2024-07-10T10:29:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/44/mkl_random/issues/44"}
| 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:6fa5eb32-4583-4229-3c42-5b7828f0f4c2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8DAE:3A8D90:6453EED:8205E5D:69756832 |
| html-safe-nonce | 1aab76846b85e460a42d244387a804c1fcb55a2d5a77450a8c74e20f254229d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REFFOjNBOEQ5MDo2NDUzRUVEOjgyMDVFNUQ6Njk3NTY4MzIiLCJ2aXNpdG9yX2lkIjoiMzE4MTkwMzE1NDA5Mzg0NDUzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 45e668a87301d07e0e61f476b1b7d5a5191f8d9e370cd70d613efdf32a5d7d49 |
| hovercard-subject-tag | issue:2400365197 |
| 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/IntelPython/mkl_random/44/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f0a12433db8530438a229c188452491410fab054eaf7f4e969a15022254ab2e5/IntelPython/mkl_random/issues/44 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f0a12433db8530438a229c188452491410fab054eaf7f4e969a15022254ab2e5/IntelPython/mkl_random/issues/44 |
| og:image:alt | The examples you give: import mkl_random rs = mkl_random.RandomState(seed=777, brng="MT19937") The following error pops up after I run it: AttributeError: module 'mkl_random' has no attribute 'Rand... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sky-y11 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/IntelPython/mkl_random git https://github.com/IntelPython/mkl_random.git |
| octolytics-dimension-user_id | 20491374 |
| octolytics-dimension-user_login | IntelPython |
| octolytics-dimension-repository_id | 105945723 |
| octolytics-dimension-repository_nwo | IntelPython/mkl_random |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 105945723 |
| octolytics-dimension-repository_network_root_nwo | IntelPython/mkl_random |
| 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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width