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
Trying to install the "Axiom" package through pip.
Issuing command in (an administrative-priviligied) PowerShell prompt: ipy -m pip install axiom
which returns:
DEPRECATION: A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting axiom
ERROR: Exception:
Traceback (most recent call last):
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\cli\base_command.py", line 188, in main
status = self.run(options, args)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\commands\install.py", line 345, in run
resolver.resolve(requirement_set)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\legacy_resolve.py", line 195, in resolve
discovered_reqs.extend(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\legacy_resolve.py", line 359, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\legacy_resolve.py", line 305, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\operations\prepare.py", line 134, in prepare_linked_requirement
req.populate_link(finder, upgrade_allowed, require_hashes)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\req\req_install.py", line 211, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1200, in find_requirement
candidates = self.find_candidates(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1183, in find_candidates
candidates = self.find_all_candidates(project_name)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1131, in find_all_candidates
page_versions.extend(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1339, in _package_versions
for link in self._sort_links(links):
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1296, in _sort_links
for link in links:
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1494, in iter_links
document = html5lib.parse(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\html5parser.py", line 47, in parse
return p.parse(doc, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\html5parser.py", line 289, in parse
self._parse(stream, False, None, *args, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\html5parser.py", line 130, in _parse
self.tokenizer = _tokenizer.HTMLTokenizer(stream, parser=self, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_tokenizer.py", line 36, in __init__
self.stream = HTMLInputStream(stream, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 151, in HTMLInputStream
return HTMLBinaryInputStream(source, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 428, in __init__
self.charEncoding = self.determineEncoding(useChardet)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 475, in determineEncoding
charEncoding = self.detectEncodingMeta(), "tentative"
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 576, in detectEncodingMeta
encoding = parser.getEncoding()
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 707, in getEncoding
if self.data.matchBytes(key):
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 668, in matchBytes
data = self[p:p + len(bytes)]
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
also tried: ipy -X:Frames -m pip install axiom
which returns:
DEPRECATION: A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting axiom
ERROR: Exception:
Traceback (most recent call last):
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\cli\base_command.py", line 188, in main
status = self.run(options, args)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\commands\install.py", line 345, in run
resolver.resolve(requirement_set)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\legacy_resolve.py", line 195, in resolve
discovered_reqs.extend(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\legacy_resolve.py", line 359, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\legacy_resolve.py", line 305, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\operations\prepare.py", line 134, in prepare_linked_requirement
req.populate_link(finder, upgrade_allowed, require_hashes)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\req\req_install.py", line 211, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1200, in find_requirement
candidates = self.find_candidates(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1183, in find_candidates
candidates = self.find_all_candidates(project_name)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1131, in find_all_candidates
page_versions.extend(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1339, in _package_versions
for link in self._sort_links(links):
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1296, in _sort_links
for link in links:
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1494, in iter_links
document = html5lib.parse(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\html5parser.py", line 47, in parse
return p.parse(doc, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\html5parser.py", line 289, in parse
self._parse(stream, False, None, *args, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\html5parser.py", line 130, in _parse
self.tokenizer = _tokenizer.HTMLTokenizer(stream, parser=self, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_tokenizer.py", line 36, in __init__
self.stream = HTMLInputStream(stream, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 151, in HTMLInputStream
return HTMLBinaryInputStream(source, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 428, in __init__
self.charEncoding = self.determineEncoding(useChardet)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 475, in determineEncoding
charEncoding = self.detectEncodingMeta(), "tentative"
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 576, in detectEncodingMeta
encoding = parser.getEncoding()
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 707, in getEncoding
if self.data.matchBytes(key):
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 668, in matchBytes
data = self[p:p + len(bytes)]
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
This is not limited to "axiom" since: ipy -m pip install urllib3
returns the same issue:
DEPRECATION: A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting urllib3
ERROR: Exception:
Traceback (most recent call last):
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\cli\base_command.py", line 188, in main
status = self.run(options, args)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\commands\install.py", line 345, in run
resolver.resolve(requirement_set)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\legacy_resolve.py", line 195, in resolve
discovered_reqs.extend(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\legacy_resolve.py", line 359, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\legacy_resolve.py", line 305, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\operations\prepare.py", line 134, in prepare_linked_requirement
req.populate_link(finder, upgrade_allowed, require_hashes)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\req\req_install.py", line 211, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1200, in find_requirement
candidates = self.find_candidates(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1183, in find_candidates
candidates = self.find_all_candidates(project_name)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1131, in find_all_candidates
page_versions.extend(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1339, in _package_versions
for link in self._sort_links(links):
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1296, in _sort_links
for link in links:
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_internal\index.py", line 1494, in iter_links
document = html5lib.parse(
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\html5parser.py", line 47, in parse
return p.parse(doc, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\html5parser.py", line 289, in parse
self._parse(stream, False, None, *args, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\html5parser.py", line 130, in _parse
self.tokenizer = _tokenizer.HTMLTokenizer(stream, parser=self, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_tokenizer.py", line 36, in __init__
self.stream = HTMLInputStream(stream, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 151, in HTMLInputStream
return HTMLBinaryInputStream(source, **kwargs)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 428, in __init__
self.charEncoding = self.determineEncoding(useChardet)
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 475, in determineEncoding
charEncoding = self.detectEncodingMeta(), "tentative"
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 576, in detectEncodingMeta
encoding = parser.getEncoding()
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 707, in getEncoding
if self.data.matchBytes(key):
File "C:\Program Files\IronPython 2.7\Lib\site-packages\pip\_vendor\html5lib\_inputstream.py", line 668, in matchBytes
data = self[p:p + len(bytes)]
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
Steps to Reproduce
Try to install any package through 'pip' using IronPython 2.6.12 on Windows 11 in an administrative PowerShell-prompt: ipy -m pip install <package>
Expected behavior:
Package installs
Actual behavior:
Package fails to install
Versions
IronPython 2.7.12 2.7.12.0 on .NET 4.0.30319.42000
The text was updated successfully, but these errors were encountered:
Prerequisites
The issue tracker is used to report bugs and request new features, NOT to ask questions.
Questions should be posted to the users mailing list which can be accessed at
https://ironpython.groups.io/g/users.
Description
Windows 11 Pro Ver 22H2 (OS Build: 22621.143)
ipy -m pip --version
returns:
pip 19.2.3 from C:\Program Files\IronPython 2.7\Lib\site-packages\pip (python 2.7)
Trying to install the "Axiom" package through pip.
ipy -m pip install axiom
which returns:
also tried:
ipy -X:Frames -m pip install axiom
which returns:
This is not limited to "axiom" since:
ipy -m pip install urllib3
returns the same issue:
Steps to Reproduce
ipy -m pip install <package>
Expected behavior:
Package installs
Actual behavior:
Package fails to install
Versions
IronPython 2.7.12 2.7.12.0 on .NET 4.0.30319.42000
The text was updated successfully, but these errors were encountered: