@Jason_Shelton wrote:
Trying to upgrade flexget to latest.
did: pip install --upgrade flexget
and get this:
Downloading FlexGet-2.10.67-py2.py3-none-any.whl (2.9MB): 2.9MB downloaded Cleaning up... Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/usr/lib/python2.7/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/python2.7/dist-packages/pip/req.py", line 1266, in prepare_files req_to_install.extras): File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2401, in requires dm = self._dep_map File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2597, in _dep_map self.__dep_map = self._compute_dependencies() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2621, in _compute_dependencies parsed = next(parse_requirements(distvers)) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 49, in <lambda> next = lambda o: o.next() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2721, in parse_requirements "version spec") File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2686, in scan_list raise ValueError(msg, line, "at", line[p:]) ValueError: ('Expected version spec in', 'requests ~=2.16.3', 'at', ' ~=2.16.3') Storing debug log for failure in /root/.pip/pip.log
I tried pip install --upgrade setuptools
and gotDownloading/unpacking setuptools from https://pypi.python.org/packages/e2/79/a865e78ab721a6dda2dea171526e6f8db51ba50814766429477e87c6ba8a/setuptools-36.2.0-py2.py3-none-any.whl#md5=6bff1e89b809a1efdb96929920e0bc12 Downloading setuptools-36.2.0-py2.py3-none-any.whl (477kB): 477kB downloaded Installing collected packages: setuptools Found existing installation: setuptools 5.5.1 Not uninstalling setuptools at /usr/lib/python2.7/dist-packages, owned by OS Successfully installed setuptools Cleaning up...
So it looks like setuptools is ok. Anyone know why upgrade is failing?
Posts: 4
Participants: 2