有人有在编辑文档时使用该trackchanges
包python3
接受更改的经验吗?我能够查看来自不同编辑器的所有更改,但我不知道如何接受这些更改。以下是参考: https://sourceforge.net/projects/trackchanges/。使用的 python 脚本是用 python2 编写的。我无法让 python2 处理该文件。我无法安装标准模块,因为我一直收到错误消息。
# import standard Python 2.4 modules
from optparse import OptionParser
from copy import deepcopy
import sys
import tempfile
import readline
import os
import re
这是我收到的错误消息:
C:\Python27\Scripts>python2 -m pip install optparse
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. 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 optparse
ERROR: Could not find a version that satisfies the requirement optparse (from versions: none)
ERROR: No matching distribution found for optparse
WARNING: You are using pip version 19.2.3, however version 20.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
对于我尝试安装的每个模块来说,都是如此。
有一个更好的方法吗?