Title: Pip install fails with type error · Issue #86 · xmlsec/python-xmlsec · GitHub
Open Graph Title: Pip install fails with type error · Issue #86 · xmlsec/python-xmlsec
X Title: Pip install fails with type error · Issue #86 · xmlsec/python-xmlsec
Description: Platform: CentOS Linux release 7.5.1804 Python: Python 2.7.5 When installing with pip install xmlsec the setup.py fails. Below is the output: `# pip install xmlsec Collecting xmlsec Using cached https://files.pythonhosted.org/packages/35...
Open Graph Description: Platform: CentOS Linux release 7.5.1804 Python: Python 2.7.5 When installing with pip install xmlsec the setup.py fails. Below is the output: `# pip install xmlsec Collecting xmlsec Using cached ht...
X Description: Platform: CentOS Linux release 7.5.1804 Python: Python 2.7.5 When installing with pip install xmlsec the setup.py fails. Below is the output: `# pip install xmlsec Collecting xmlsec Using cached ht...
Opengraph URL: https://github.com/xmlsec/python-xmlsec/issues/86
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pip install fails with type error","articleBody":"Platform: CentOS Linux release 7.5.1804\r\nPython: Python 2.7.5\r\n\r\nWhen installing with **pip install xmlsec** the setup.py fails. Below is the output:\r\n`# pip install xmlsec\r\nCollecting xmlsec\r\n Using cached https://files.pythonhosted.org/packages/35/42/d7cd323c91d4706f3cc32ffe7d5f851ab8ef9898ccb350f6ba593dd8b89a/xmlsec-1.3.3.tar.gz\r\nRequirement already satisfied: pkgconfig in /usr/lib/python2.7/site-packages (from xmlsec) (1.1.0)\r\nRequirement already satisfied: lxml\u003e=3.0 in /usr/lib64/python2.7/site-packages (from xmlsec) (4.2.4)\r\nInstalling collected packages: xmlsec\r\n Running setup.py install for xmlsec ... error\r\n Complete output from command /usr/bin/python2 -u -c \"import setuptools, tokenize;__file__='/tmp/pip-install-_uAooh/xmlsec/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /tmp/pip-record-Sj4ENM/install-record.txt --single-version-externally-managed --compile:\r\n running install\r\n running build\r\n running build_ext\r\n Traceback (most recent call last):\r\n File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\r\n File \"/tmp/pip-install-_uAooh/xmlsec/setup.py\", line 60, in \u003cmodule\u003e\r\n 'Topic :: Text Processing :: Markup :: XML'\r\n File \"/usr/lib/python2.7/site-packages/setuptools/__init__.py\", line 140, in setup\r\n return distutils.core.setup(**attrs)\r\n File \"/usr/lib64/python2.7/distutils/core.py\", line 152, in setup\r\n dist.run_commands()\r\n File \"/usr/lib64/python2.7/distutils/dist.py\", line 953, in run_commands\r\n self.run_command(cmd)\r\n File \"/usr/lib64/python2.7/distutils/dist.py\", line 972, in run_command\r\n cmd_obj.run()\r\n File \"/usr/lib/python2.7/site-packages/setuptools/command/install.py\", line 61, in run\r\n return orig.install.run(self)\r\n File \"/usr/lib64/python2.7/distutils/command/install.py\", line 563, in run\r\n self.run_command('build')\r\n File \"/usr/lib64/python2.7/distutils/cmd.py\", line 326, in run_command\r\n self.distribution.run_command(command)\r\n File \"/usr/lib64/python2.7/distutils/dist.py\", line 972, in run_command\r\n cmd_obj.run()\r\n File \"/usr/lib64/python2.7/distutils/command/build.py\", line 127, in run\r\n self.run_command(cmd_name)\r\n File \"/usr/lib64/python2.7/distutils/cmd.py\", line 326, in run_command\r\n self.distribution.run_command(command)\r\n File \"/usr/lib64/python2.7/distutils/dist.py\", line 972, in run_command\r\n cmd_obj.run()\r\n File \"/tmp/pip-install-_uAooh/xmlsec/setup.py\", line 11, in run\r\n self.patch_options()\r\n File \"/tmp/pip-install-_uAooh/xmlsec/setup.py\", line 16, in patch_options\r\n ext.define_macros.extend(xmlsec_setupinfo.define_macros())\r\n File \"xmlsec_setupinfo.py\", line 48, in define_macros\r\n macros.extend(xmlsec_config()['define_macros'])\r\n File \"xmlsec_setupinfo.py\", line 111, in xmlsec_config\r\n __XMLSEC_CONFIG = load_xmlsec1_config()\r\n File \"xmlsec_setupinfo.py\", line 178, in load_xmlsec1_config\r\n macros[i] = ('XMLSEC_CRYPTO', '\"{0}\"'.format(v[1]))\r\n TypeError: 'set' object does not support item assignment\r\n\r\n ----------------------------------------\r\nCommand \"/usr/bin/python2 -u -c \"import setuptools, tokenize;__file__='/tmp/pip-install-_uAooh/xmlsec/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /tmp/pip-record-Sj4ENM/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /tmp/pip-install-_uAooh/xmlsec/`\r\n\r\nAll dependancies are installed as per documentation. Please advise.","author":{"url":"https://github.com/alternativc","@type":"Person","name":"alternativc"},"datePublished":"2018-08-22T11:26:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/86/python-xmlsec/issues/86"}
| 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:b614f3cd-9199-296f-be02-f9ff75470eae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9696:139CD4:7057C3:94F420:696B4812 |
| html-safe-nonce | 798d08a81aa98d9472e8e9e9c30606e6e65af37f579e700c5efa78acffed9122 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Njk2OjEzOUNENDo3MDU3QzM6OTRGNDIwOjY5NkI0ODEyIiwidmlzaXRvcl9pZCI6IjM3Mjg3NDgzNDU5NTQwOTMwNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 580cf888bdb9adac71c839e0bed454a1e61440ec6258feda156ff3760bf7eddd |
| hovercard-subject-tag | issue:352911242 |
| 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/xmlsec/python-xmlsec/86/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5dc187d61e77d0bb75ee1cb2364769e343bf1a02e13b48389b888f66f39160c2/xmlsec/python-xmlsec/issues/86 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5dc187d61e77d0bb75ee1cb2364769e343bf1a02e13b48389b888f66f39160c2/xmlsec/python-xmlsec/issues/86 |
| og:image:alt | Platform: CentOS Linux release 7.5.1804 Python: Python 2.7.5 When installing with pip install xmlsec the setup.py fails. Below is the output: `# pip install xmlsec Collecting xmlsec Using cached ht... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alternativc |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/xmlsec/python-xmlsec git https://github.com/xmlsec/python-xmlsec.git |
| octolytics-dimension-user_id | 111647685 |
| octolytics-dimension-user_login | xmlsec |
| octolytics-dimension-repository_id | 27934955 |
| octolytics-dimension-repository_nwo | xmlsec/python-xmlsec |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27934955 |
| octolytics-dimension-repository_network_root_nwo | xmlsec/python-xmlsec |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width