Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

case mismatch in package name causes RuntimeError #92

Open
kumar303 opened this issue Apr 24, 2015 · 0 comments
Open

case mismatch in package name causes RuntimeError #92

kumar303 opened this issue Apr 24, 2015 · 0 comments

Comments

@kumar303
Copy link

Ran into this with a requirement of markupsafe==0.23. Changing it to MarkupSafe==0.23 made the error go away. It was running on docker (CentOS) from a Mac host.

Traceback (most recent call last):
  File "/opt/rh/python27/root/usr/bin/peep", line 9, in <module>
    load_entry_point('peep==2.4', 'console_scripts', 'peep')()
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/peep.py", line 874, in main
    return commands[argv[1]](argv[2:])
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/peep.py", line 846, in peep_install
    first_every_last(buckets[c], *printers)
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/peep.py", line 782, in first_every_last
    every(item)
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/peep.py", line 843, in <lambda>
    lambda r: out(r.error() + '\n'),
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/peep.py", line 712, in error
    line = '%s==%s' % (self._name(), self._version())
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/peep.py", line 417, in _version
    return get_version(self._downloaded_filename(), self._project_name())
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/peep.py", line 405, in version_of_wheel
    give_up(filename, whl_package_name)
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/peep.py", line 412, in give_up
    (filename, package_name))
RuntimeError: The archive 'MarkupSafe-0.23-cp27-none-linux_x86_64.whl' didn't start with the package name 'MarkupSafe', so I couldn't figure out the version number. My bad; improve me.

🍻

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant