Closed xhao79 closed 6 years ago
ReText relies on PEP 508, which is implemented in setuptools 20.2 and newer. Ubuntu 14.04 has setuptools 3.3. Please upgrade your setuptools (e.g. python3 -m pip install --upgrade setuptools --user
).
Thanks mitya57!
Another error occurs with the command sudo python3 -m pip install ReText --user
or sudo pip3 install retext
:
error: option --single-version-externally-managed not recognized
The setuptools is now: setuptools-36.6.0-py2.py3-none-any.whl
The following is the output of command sudo pip3 install Retext
:
Downloading/unpacking Retext
Downloading ReText-7.0.1.tar.gz (266kB): 266kB downloaded Running setup.py (path:/tmp/pip_build_root/Retext/setup.py) egg_info for package Retext Requirement already satisfied (use --upgrade to upgrade): docutils in /usr/lib/python3/dist-packages (from Retext) Requirement already satisfied (use --upgrade to upgrade): Markdown in /usr/lib/python3/dist-packages (from Retext) Downloading/unpacking Markups>=2.0 (from Retext) Downloading Markups-2.0.1.tar.gz Running setup.py (path:/tmp/pip_build_root/Markups/setup.py) egg_info for package Markups Requirement already satisfied (use --upgrade to upgrade): pyenchant in /usr/lib/python3/dist-packages (from Retext) Requirement already satisfied (use --upgrade to upgrade): Pygments in /usr/lib/python3/dist-packages (from Retext) Downloading/unpacking chardet>=2.3 (from Retext) Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB): 133kB downloaded Installing collected packages: Retext, Markups, chardet Running setup.py install for Retext usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help
error: option --single-version-externally-managed not recognized Complete output from command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/Retext/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-r9b1v9n_-record/install-record.txt --single-version-externally-managed --compile: usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: option --single-version-externally-managed not recognized
Cleaning up... Command /usr/bin/python3 -c "import setuptools, tokenize;file='/tmp/pip_buildroot/Retext/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-r9b1v9n-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/Retext Storing debug log for failure in /home/xxx/.pip/pip.log
error: option --single-version-externally-managed not recognized
That one is already fixed in master, will be in the next release.
Ok, I will try the master version.
Thank you
All the remaining problems should be fixed in ReText 7.0.3 release, so closing this.
Ubuntu 14.04 + Python 3.5 command: python3 -m pip install ReText --user or sudo ./setup.py install or sudo pip3 install retext