Nov-18-2017, 09:19 AM
Hi,
I am new in python and I need please help. I use the python ezdxf package (ezdxf.readthedocs.io), I have installed the 0.8.1 version on my debian oldstable but the ezdxf 0.8.3 already exists, I have to upgrade.
So I did :
root@debian:/home/mojolicious# pip show ezdxf
---
Name: ezdxf
Version: 0.8.1
Location: /usr/local/lib/python2.7/dist-packages
Requires: pyparsing
root@debian:/home/mojolicious# pip install ezdxf --upgrade
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#
Can please someone help me ? I don't know what to do....
Best regards,
Amka
I am new in python and I need please help. I use the python ezdxf package (ezdxf.readthedocs.io), I have installed the 0.8.1 version on my debian oldstable but the ezdxf 0.8.3 already exists, I have to upgrade.
So I did :
root@debian:/home/mojolicious# pip show ezdxf
---
Name: ezdxf
Version: 0.8.1
Location: /usr/local/lib/python2.7/dist-packages
Requires: pyparsing
root@debian:/home/mojolicious# pip install ezdxf --upgrade
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#
Can please someone help me ? I don't know what to do....
Best regards,
Amka