我无法安装 bratreader (https://github.com/clips/bratreader)以各种方式:
giuliano@giuliano-VirtualBox:~/Documenti$ sudo -H pip install
bratreader-master
Collecting bratreader-master
Could not find a version that satisfies the requirement bratreader-
master (from versions: )
No matching distribution found for bratreader-master
giuliano@giuliano-VirtualBox:~/Documenti$ sudo -H pip install
bratreader-master.zip
Processing ./bratreader-master.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
IOError: [Errno 2] No such file or directory: '/tmp/pip-JfVutP-
build/setup.py'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
/tmp/pip-JfVutP-build/
giuliano@giuliano-VirtualBox:~/Documenti$ sudo -H pip3 install
bratreader-masterCollecting bratreader-master
Collecting bratreader-masterCollecting
Could not find a version that satisfies the requirement bratreader-
masterCollecting (from versions: )
No matching distribution found for bratreader-masterCollecting
giuliano@giuliano-VirtualBox:~/Documenti$ sudo -H pip3 install
bratreader-master.zip
Processing ./bratreader-master.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line
10, in <module>
from setuptools.extern.six.moves import filter, map
File "/usr/lib/python3/dist-packages/setuptools/extern/__init__.py",
line 1, in <module>
from pkg_resources.extern import VendorImporter
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 35, in <module>
import plistlib
File "/usr/lib/python3.5/plistlib.py", line 65, in <module>
from xml.parsers.expat import ParserCreate
ImportError: No module named 'xml.parsers'; 'xml' is not a package
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 15, in <module>
import xml.dom, xml.dom.minidom
ImportError: No module named 'xml.dom'; 'xml' is not a package
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 10, in <module>
from setuptools.extern.six.moves import filter, map
File "/usr/lib/python3/dist-packages/setuptools/extern/__init__.py", line 1, in <module>
from pkg_resources.extern import VendorImporter
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 35, in <module>
import plistlib
File "/usr/lib/python3.5/plistlib.py", line 65, in <module>
from xml.parsers.expat import ParserCreate
ImportError: No module named 'xml.parsers'; 'xml' is not a package
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
/tmp/pip-n_qu_f2a-build/
这似乎是一个更普遍的问题,与 bratreader 无关。有什么建议吗?
[详细信息:Oracle VM VirtualBox 5.1.22 中的 Ubuntu 17.04,安装在 Windows 10 64 位上,pip-9.0.1 setuptools-36.0.1]