Title: error to install new package · Issue #65 · microsoft/sqlmlutils · GitHub
Open Graph Title: error to install new package · Issue #65 · microsoft/sqlmlutils
X Title: error to install new package · Issue #65 · microsoft/sqlmlutils
Description: I am using Azure Data Studio and when I run the command: sqlmlutils.SQLPackageManager(connection).install("text-tools") I got the error below. My python version is 3.8.2 RuntimeError Traceback (most recent call last) in 1 import sqlmluti...
Open Graph Description: I am using Azure Data Studio and when I run the command: sqlmlutils.SQLPackageManager(connection).install("text-tools") I got the error below. My python version is 3.8.2 RuntimeError Traceback (mos...
X Description: I am using Azure Data Studio and when I run the command: sqlmlutils.SQLPackageManager(connection).install("text-tools") I got the error below. My python version is 3.8.2 RuntimeError Trac...
Opengraph URL: https://github.com/microsoft/sqlmlutils/issues/65
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"error to install new package","articleBody":"I am using Azure Data Studio and when I run the command: sqlmlutils.SQLPackageManager(connection).install(\"text-tools\") I got the error below. \r\nMy python version is 3.8.2\r\n\r\nRuntimeError Traceback (most recent call last)\r\n\u003cipython-input-3-c21d1024ef26\u003e in \u003cmodule\u003e\r\n 1 import sqlmlutils\r\n 2 connection = sqlmlutils.ConnectionInfo(server=\"myserver\", database=\"mydatabase\", uid=\"myuser\", pwd=\"mypass\")\r\n----\u003e 3 sqlmlutils.SQLPackageManager(connection).install(\"text-tools\")\r\n\r\n~\\AppData\\Roaming\\Python\\Python36\\site-packages\\sqlmlutils\\packagemanagement\\sqlpackagemanager.py in install(self, package, upgrade, version, install_dependencies, scope, out_file)\r\n 70 self._install_from_file(package, scope, upgrade, out_file=out_file)\r\n 71 else:\r\n---\u003e 72 self._install_from_pypi(package, upgrade, version, install_dependencies, scope, out_file=out_file)\r\n 73 \r\n 74 def uninstall(self, \r\n\r\n~\\AppData\\Roaming\\Python\\Python36\\site-packages\\sqlmlutils\\packagemanagement\\sqlpackagemanager.py in _install_from_pypi(self, target_package, upgrade, version, install_dependencies, scope, out_file)\r\n 148 with tempfile.TemporaryDirectory() as temporary_directory:\r\n 149 pipdownloader = PipDownloader(self._connection_info, temporary_directory, target_package)\r\n--\u003e 150 target_package_file = pipdownloader.download_single()\r\n 151 self._install_from_file(target_package_file, scope, upgrade, out_file=out_file)\r\n 152 \r\n\r\n~\\AppData\\Roaming\\Python\\Python36\\site-packages\\sqlmlutils\\packagemanagement\\pipdownloader.py in download_single(self)\r\n 24 \r\n 25 def download_single(self) -\u003e str:\r\n---\u003e 26 _, pkgsdownloaded = self._download(False)\r\n 27 return pkgsdownloaded[0]\r\n 28 \r\n\r\n~\\AppData\\Roaming\\Python\\Python36\\site-packages\\sqlmlutils\\packagemanagement\\pipdownloader.py in _download(self, withdependencies)\r\n 42 \r\n 43 if len(packagesdownloaded) \u003c= 0:\r\n---\u003e 44 raise RuntimeError(\"Failed to download any packages, pip returned error: \" + error)\r\n 45 \r\n 46 return pkgreqs, packagesdownloaded\r\n\r\nRuntimeError: Failed to download any packages, pip returned error: ERROR: Exception:\r\nTraceback (most recent call last):\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\cli\\base_command.py\", line 153, in _main\r\n status = self.run(options, args)\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\commands\\download.py\", line 144, in run\r\n resolver.resolve(requirement_set)\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\legacy_resolve.py\", line 201, in resolve\r\n self._resolve_one(requirement_set, req)\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\legacy_resolve.py\", line 365, in _resolve_one\r\n abstract_dist = self._get_abstract_dist_for(req_to_install)\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\legacy_resolve.py\", line 311, in _get_abstract_dist_for\r\n req.populate_link(self.finder, upgrade_allowed, self.require_hashes)\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\req\\req_install.py\", line 225, in populate_link\r\n self.link = finder.find_requirement(self, upgrade)\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\index.py\", line 879, in find_requirement\r\n req.name, specifier=req.specifier, hashes=hashes,\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\index.py\", line 861, in find_best_candidate\r\n candidates = self.find_all_candidates(project_name)\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\index.py\", line 806, in find_all_candidates\r\n links=page_links,\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\index.py\", line 775, in evaluate_links\r\n candidate = self.get_install_candidate(link_evaluator, link)\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\index.py\", line 754, in get_install_candidate\r\n is_candidate, result = link_evaluator.evaluate_link(link)\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\index.py\", line 193, in evaluate_link\r\n supported_tags = self._target_python.get_tags()\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\models\\target_python.py\", line 102, in get_tags\r\n impl=self.implementation,\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\pep425tags.py\", line 406, in get_supported\r\n if is_manylinux2014_compatible():\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\pep425tags.py\", line 252, in is_manylinux2014_compatible\r\n return pip._internal.utils.glibc.have_compatible_glibc(2, 17)\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\utils\\glibc.py\", line 89, in have_compatible_glibc\r\n version_str = glibc_version_string()\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\utils\\glibc.py\", line 19, in glibc_version_string\r\n return glibc_version_string_confstr() or glibc_version_string_ctypes()\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\site-packages\\pip\\_internal\\utils\\glibc.py\", line 51, in glibc_version_string_ctypes\r\n process_namespace = ctypes.CDLL(None)\r\n File \"c:\\users\\user0123\\azuredatastudio-python\\0.0.1\\lib\\ctypes\\__init__.py\", line 348, in __init__\r\n self._handle = _dlopen(self._name, mode)\r\nTypeError: LoadLibrary() argument 1 must be str, not None","author":{"url":"https://github.com/tiagobalabuch","@type":"Person","name":"tiagobalabuch"},"datePublished":"2020-05-05T10:26:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/65/sqlmlutils/issues/65"}
| 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:ce494af1-7281-6a5b-2342-eb52f607be70 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85CA:9B720:3F739BA:52A8CB3:697DA54F |
| html-safe-nonce | fab735123888b698e3b1f765b014805c148f5bfc571bed04915745e4113ab1ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUNBOjlCNzIwOjNGNzM5QkE6NTJBOENCMzo2OTdEQTU0RiIsInZpc2l0b3JfaWQiOiI4MTA1NDI4NDg1NjgzMzg5Nzc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2347ffca5012d370ea0a8c60c01215260c383ad1c42949868b850f31abb4644e |
| hovercard-subject-tag | issue:612496547 |
| 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/microsoft/sqlmlutils/65/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c985a35e8549344400c1ed3da756f7112fd5b47c2334d32dffd112fa63d3e24/microsoft/sqlmlutils/issues/65 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c985a35e8549344400c1ed3da756f7112fd5b47c2334d32dffd112fa63d3e24/microsoft/sqlmlutils/issues/65 |
| og:image:alt | I am using Azure Data Studio and when I run the command: sqlmlutils.SQLPackageManager(connection).install("text-tools") I got the error below. My python version is 3.8.2 RuntimeError Traceback (mos... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tiagobalabuch |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/sqlmlutils git https://github.com/microsoft/sqlmlutils.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 150153358 |
| octolytics-dimension-repository_nwo | microsoft/sqlmlutils |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 150153358 |
| octolytics-dimension-repository_network_root_nwo | microsoft/sqlmlutils |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width