Skip to content

Install failure #431

@tthatche

Description

@tthatche

I'm having issues using PyPi (pip) to install python-can with both python 2.7.9 and with 3.4.2. It appears that the issue in both cases is the "install_requires" line. I don't have enough experience in python to be able to pull request and fix though.

Debian GNU/Linux 8 ts-imx6ul ttymxc0

ts-imx6ul login: root
Last login: Tue Sep 25 18:03:32 UTC 2018 on ttymxc0
Linux ts-imx6ul 4.1.15-g7aa498a #16 SMP PREEMPT Fri Dec 15 13:19:46 PST 2017 arm v7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

root@ts-imx6ul:/usr/lib/python3.4# pip3 list
atomicwrites (1.2.1)
attrs (18.2.0)
chardet (2.3.0)
colorama (0.3.2)
html5lib (0.999)
mock (2.0.0)
more-itertools (4.3.0)
nose (1.3.7)
pathlib2 (2.3.2)
pbr (4.2.0)
pip (1.5.6)
pluggy (0.7.1)
py (1.6.0)
pyserial (3.4)
pytest (3.8.1)
pytest-timeout (1.3.2)
requests (2.4.3)
scandir (1.9.0)
setuptools (5.5.1)
six (1.11.0)
urllib3 (1.9.1)
wheel (0.24.0)
root@ts-imx6ul:/usr/lib/python3.4# uname -r
4.1.15-g7aa498a
root@ts-imx6ul:/usr/lib/python3.4# pip3 install python-can
Downloading/unpacking python-can
Downloading python_can-2.2.1-py2.py3-none-any.whl (136kB): 136kB downloaded
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2595, in _dep_map
return self.__dep_map
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2457, in getattr
raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 290, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python3/dist-packages/pip/req.py", line 1266, in prepare_files
req_to_install.extras):
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2401, in requires
dm = self._dep_map
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2597, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2621, in _compute_dependencies
parsed = next(parse_requirements(distvers))
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2721, in parse_requirements
"version spec")
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2686, in scan_list
raise ValueError(msg, line, "at", line[p:])
ValueError: ('Expected version spec in', 'wrapt ~=1.10', 'at', ' ~=1.10')

Storing debug log for failure in /root/.pip/pip.log
root@ts-imx6ul:/usr/lib/python3.4# python3 --version
Python 3.4.2
root@ts-imx6ul:/usr/lib/python3.4#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions