Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on stomp.py install #132

Closed
donaghhorgan opened this issue Oct 28, 2016 · 2 comments
Closed

Error on stomp.py install #132

donaghhorgan opened this issue Oct 28, 2016 · 2 comments

Comments

@donaghhorgan
Copy link

Hi, I just installed stomp.py on Ubuntu 16.04 using pip:

sudo pip install stomp.py

When I run stomp from a terminal, I get this error:

$ stomp --help
bash: /usr/local/bin/stomp: /Users/jasonbriggs/.python/python3.5.2/bin/python: bad interpreter: No such file or directory
@donaghhorgan
Copy link
Author

It seems that the shebang line in /usr/local/bin/stomp is bad:

#!/Users/jasonbriggs/.python/python3.5.2/bin/python

Changing it to this fixes the problem:

#!/usr/bin/env python

@jasonrbriggs
Copy link
Owner

jasonrbriggs commented Nov 11, 2016

@donaghhorgan Can you see if version 4.1.15 is any better? While the egg and wheel files look like they don't have a local reference to the py version any more it looks like something (distutils or setup tools) is still replacing:

#! /usr/bin/env python

with...

#!python

...in the script. But that seems to work for me.

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

No branches or pull requests

2 participants