Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
upgrading python package
#3
Hi,

Thanks a lot for reply but...

root@debian:/home/mojolicious# pip -V
pip 1.5.6 from /usr/lib/python2.7/dist-packages (python 2.7)
root@debian:/home/mojolicious# pip install -U pip
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 1097, in prepare_files
req_to_install, self.upgrade)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 292, in find_requirement
elif is_prerelease(version) and not (self.allow_all_prereleases or req.prereleases):
File "/usr/lib/python2.7/dist-packages/pip/util.py", line 739, in is_prerelease
return any([any([y in set(["a", "b", "c", "rc", "dev"]) for y in x]) for x in parsed])
TypeError: 'int' object is not iterable

Storing debug log for failure in /root/.pip/pip.log
root@debian:/home/mojolicious# pip -V
pip 1.5.6 from /usr/lib/python2.7/dist-packages (python 2.7)
Reply


Messages In This Thread
upgrading python package - by amka - Nov-18-2017, 09:19 AM
RE: upgrading python package - by snippsat - Nov-18-2017, 09:47 AM
RE: upgrading python package - by amka - Nov-18-2017, 10:16 AM
RE: upgrading python package - by snippsat - Nov-18-2017, 01:16 PM
RE: upgrading python package - by amka - Nov-18-2017, 02:31 PM
RE: upgrading python package - by snippsat - Nov-18-2017, 02:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to run utilities from a Python package? LugosisGhost 1 450 Dec-27-2023, 12:00 PM
Last Post: Larz60+
  Python package not seen in VSCode fmccabe80 6 3,247 Mar-06-2023, 10:01 PM
Last Post: fmccabe80
  Upgrading from 2 to 3 and having file write problems KenHorse 2 1,501 May-08-2022, 09:47 PM
Last Post: KenHorse
  Math Package in python Uma 1 1,501 Dec-12-2021, 02:01 PM
Last Post: jefsummers
  Virtual environment and upgrading python 3.5 to 3.9 NeilUK 4 12,178 Jan-24-2021, 01:02 PM
Last Post: snippsat
  Python IDE doesn't see opencv-python package on my Jetson Nano sadhaonnisa 1 3,358 Oct-11-2020, 01:04 AM
Last Post: Larz60+
  Error in Mysql Client when upgrading Django Abi 0 1,889 Sep-21-2020, 06:11 AM
Last Post: Abi
  Help needed for a python package keysson 1 2,230 Sep-02-2020, 03:37 AM
Last Post: Larz60+
  Installing a python package using pip anthonymoss78 0 1,823 Jul-14-2020, 01:52 PM
Last Post: anthonymoss78
  Python package as installable Prabakaran141 0 1,511 Mar-10-2020, 10:07 AM
Last Post: Prabakaran141

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020