我正在尝试在使用Python 3.3.6
(2012 年 9 月 29 日)的 Windows XP 计算机上安装 pygmentize 模块
当我这样做时pip install pygmentize
,它返回了windows XP Fatal error in launcher: Unable to create process
,所以我已经应用了这个解决方案,这是怎么回事:
$ python -m pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/8a/d7/f505e91e2cdea53cfcf51f4ac478a8cd64fb0629cedde20d9a6a9b/pip-21.2.2-py3-none-any.whl (1.6MB)
100% |################################| 1.6MB 87kB/s
Installing collected packages: pip
Found existing installation: pip 7.1.2
Uninstalling pip-7.1.2:
Successfully uninstalled pip-7.1.2
Successfully installed pip-21.2.2
当我尝试再次安装时:
$ pip install pygmentize
Traceback (most recent call last):
File "c:\programs\python-3.3\lib\runpy.py", line 160, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\programs\python-3.3\lib\runpy.py", line 73, in _run_code
exec(code, run_globals)
File "C:\Programs\python-3.3\Scripts\pip.exe\__main__.py", line 5, in <module>
File "c:\programs\python-3.3\lib\site-packages\pip\__init__.py", line 1, in <module>
from typing import List, Optional
ImportError: No module named 'typing'
假设pip-21.2.2
完全兼容,pyrhon-3.3.6
我认为这是由于我python-3.3.6
与当前版本不兼容pygmentize
如果是这种情况,我如何检查哪个版本pygmentize
兼容python-3.3.6
以及如何安装它的兼容版本python-3.3.6
?