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

Installation process #1

Open
chillum opened this issue Apr 29, 2015 · 4 comments
Open

Installation process #1

chillum opened this issue Apr 29, 2015 · 4 comments

Comments

@chillum
Copy link

chillum commented Apr 29, 2015

Hi,

Having a CLI interface to read logs is a very nice thing.

But I think, the installation process is a bit b0rked.

Now we have: I have to clone the repo and start the script from it.

What would I expect: a pip package, installable in venv or system-wide.

I hope, that makes sense.

@steve-scalyr
Copy link
Contributor

Thanks for the suggestion. We'll look into putting together a pip package
as well.

On Wed, Apr 29, 2015 at 1:36 AM, Vasily Korytov [email protected]
wrote:

Hi,

Having a CLI interface to read logs is a very nice thing.

But I think, the installation process is a bit b0rked.

Now we have: I have to clone the repo and start the script from it.

What would I expect: a pip package, installable in venv or system-wide.

I hope, that makes sense.


Reply to this email directly or view it on GitHub
#1.

steve-scalyr pushed a commit that referenced this issue Sep 8, 2015
Tweaks to comments and message text
@ArbiterOfBuffoonery
Copy link

Adding to this, on Ubuntu 22.04, it seems #!/usr/bin/env python doesn't work. If I run the script as is, I get the message

/usr/bin/env: ‘python’: No such file or directory

However, if I change the shebang to #!/usr/bin/env python3 it works. I think this would be resolved if it was installed via pip, but I'm not 100% sure since I don't do a ton of dev in python.

@JohnRoesler
Copy link

I second @ArbiterOfBuffoonery 's comment. The script should be able to handle different environments where env python may not be available.

@Integralist
Copy link

Integralist commented Sep 9, 2024

👋🏻

I have arrived from the future to say...

env: python: No such file or directory

I don't have python but I do have python3 😬

Tip

Replace <PATH_TO>...
sudo sed -i '' 's|#!/usr/bin/env python|#!/usr/bin/env python3|' <PATH_TO>/scalyr

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

5 participants