jorgebastida / jorgebastida/awslogs

How to run a awslogs installed by pip on windows?

Open
#375 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5k
Forks
342
PR merge metrics
No merged PRs in 30d

Description

I installed awslogs https://github.com/jorgebastida/awslogs

When I try to run it I get awslogs : The term 'awslogs' is not recognized as the name of a cmdlet, function, script file, or operable program.

I couldn't find any info on how to actually run a cmd that was installed by pip on windows,

When searching the web i could only find info about how to install a pip cmd but not how to run a cmd install by pip

More info:

> pip show --files awslogs
Name: awslogs
Version: 0.14.0
Summary: awslogs is a simple command line tool to read aws cloudwatch logs.
Home-page: https://github.com/jorgebastida/awslogs
Author: Jorge Bastida
Author-email: me@jorgebastida.com
License: BSD
Location: c:\python310\lib\site-packages
Requires: boto3, jmespath, python-dateutil, termcolor
Required-by:
Files:
awslogs-0.14.0.dist-info\AUTHORS
awslogs-0.14.0.dist-info\COPYING
awslogs-0.14.0.dist-info\METADATA
awslogs-0.14.0.dist-info\RECORD
awslogs-0.14.0.dist-info\WHEEL
awslogs-0.14.0.dist-info\entry_points.txt
awslogs-0.14.0.dist-info\top_level.txt
awslogs\__init__.py
awslogs\_version.py
awslogs\bin.py
awslogs\core.py
awslogs\exceptions.py
tests\__init__.py
tests\test_it.py
tests\test_versions.py

> pip awslogs
ERROR: unknown command "awslogs"

py.exe C:\Python310\Lib\site-packages\awslogs\
C:\Python310\python.exe: can't find '__main__' module in 'C:\\Python310\\Lib\\site-packages\\awslogs\\'

> py.exe C:\Python310\Lib\site-packages\awslogs\bin.py
Traceback (most recent call last):
File "C:\Python310\Lib\site-packages\awslogs\bin.py", line 9, in
from . import exceptions
ImportError: attempted relative import with no known parent package

see https://stackoverflow.com/questions/73149088/how-to-run-a-cmd-installed-by-pip-on-windows?noredirect=1#comment129197513_73149088

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.