Tagged: pip install path issue
- This topic has 3 replies, 2 voices, and was last updated Dec 31-7:23 am by sybok.
-
AuthorPosts
-
December 30, 2022 at 5:24 pm #96428Member
eyekay234
I am running the latest version of antix on my laptop and installed localstack with python3 -m pip install localstack==1.3.1
i got the following as an output:
Collecting localstack==1.3.1
Using cached localstack-1.3.1-py3-none-any.whl (1.2 MB)
Requirement already satisfied: python-dotenv>=0.19.1 in ./.local/lib/python3.9/site-packages (from localstack==1.3.1) (0.21.0)
Requirement already satisfied: localstack-ext==1.3.1 in ./.local/lib/python3.9/site-packages (from localstack==1.3.1) (1.3.1)
Requirement already satisfied: semver>=2.10 in ./.local/lib/python3.9/site-packages (from localstack==1.3.1) (2.13.0)
Requirement already satisfied: psutil<6.0.0,>=5.4.8 in /usr/lib/python3/dist-packages (from localstack==1.3.1) (5.8.0)
Requirement already satisfied: tailer>=0.4.1 in ./.local/lib/python3.9/site-packages (from localstack==1.3.1) (0.4.1)
Requirement already satisfied: apispec>=5.1.1 in ./.local/lib/python3.9/site-packages (from localstack==1.3.1) (6.0.2)
Requirement already satisfied: localstack-client>=1.37 in ./.local/lib/python3.9/site-packages (from localstack==1.3.1) (1.39)
Requirement already satisfied: pyyaml>=5.1 in /usr/lib/python3/dist-packages (from localstack==1.3.1) (5.3.1)
Requirement already satisfied: cachetools~=5.0.0 in ./.local/lib/python3.9/site-packages (from localstack==1.3.1) (5.0.0)
Requirement already satisfied: boto3<1.25.0,>=1.20 in ./.local/lib/python3.9/site-packages (from localstack==1.3.1) (1.24.96)
Requirement already satisfied: stevedore>=3.4.0 in ./.local/lib/python3.9/site-packages (from localstack==1.3.1) (4.1.1)
Requirement already satisfied: plux>=1.3.1 in ./.local/lib/python3.9/site-packages (from localstack==1.3.1) (1.3.1)
Requirement already satisfied: rich>=12.3.0 in ./.local/lib/python3.9/site-packages (from localstack==1.3.1) (12.6.0)
Requirement already satisfied: requests>=2.20.0 in /usr/lib/python3/dist-packages (from localstack==1.3.1) (2.25.1)
Requirement already satisfied: click>=7.0 in /usr/lib/python3/dist-packages (from localstack==1.3.1) (7.1.2)
Requirement already satisfied: pyaes>=1.6.0 in ./.local/lib/python3.9/site-packages (from localstack-ext==1.3.1->localstack==1.3.1) (1.6.1)
Requirement already satisfied: python-jose[cryptography]<4.0.0,>=3.1.0 in ./.local/lib/python3.9/site-packages (from localstack-ext==1.3.1->localstack==1.3.1) (3.3.0)
Requirement already satisfied: tabulate in ./.local/lib/python3.9/site-packages (from localstack-ext==1.3.1->localstack==1.3.1) (0.9.0)
Requirement already satisfied: dill==0.3.2 in ./.local/lib/python3.9/site-packages (from localstack-ext==1.3.1->localstack==1.3.1) (0.3.2)
Requirement already satisfied: dnslib>=0.9.10 in ./.local/lib/python3.9/site-packages (from localstack-ext==1.3.1->localstack==1.3.1) (0.9.23)
Requirement already satisfied: dnspython>=1.16.0 in /usr/lib/python3/dist-packages (from localstack-ext==1.3.1->localstack==1.3.1) (2.0.0)
Requirement already satisfied: packaging>=21.3 in ./.local/lib/python3.9/site-packages (from apispec>=5.1.1->localstack==1.3.1) (22.0)
Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in ./.local/lib/python3.9/site-packages (from boto3<1.25.0,>=1.20->localstack==1.3.1) (1.0.1)
Requirement already satisfied: botocore<1.28.0,>=1.27.96 in ./.local/lib/python3.9/site-packages (from boto3<1.25.0,>=1.20->localstack==1.3.1) (1.27.96)
Requirement already satisfied: s3transfer<0.7.0,>=0.6.0 in ./.local/lib/python3.9/site-packages (from boto3<1.25.0,>=1.20->localstack==1.3.1) (0.6.0)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in ./.local/lib/python3.9/site-packages (from botocore<1.28.0,>=1.27.96->boto3<1.25.0,>=1.20->localstack==1.3.1) (2.8.2)
Requirement already satisfied: urllib3<1.27,>=1.25.4 in /usr/lib/python3/dist-packages (from botocore<1.28.0,>=1.27.96->boto3<1.25.0,>=1.20->localstack==1.3.1) (1.26.5)
Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil<3.0.0,>=2.1->botocore<1.28.0,>=1.27.96->boto3<1.25.0,>=1.20->localstack==1.3.1) (1.16.0)
Requirement already satisfied: ecdsa!=0.15 in ./.local/lib/python3.9/site-packages (from python-jose[cryptography]<4.0.0,>=3.1.0->localstack-ext==1.3.1->localstack==1.3.1) (0.18.0)
Requirement already satisfied: pyasn1 in ./.local/lib/python3.9/site-packages (from python-jose[cryptography]<4.0.0,>=3.1.0->localstack-ext==1.3.1->localstack==1.3.1) (0.4.8)
Requirement already satisfied: rsa in ./.local/lib/python3.9/site-packages (from python-jose[cryptography]<4.0.0,>=3.1.0->localstack-ext==1.3.1->localstack==1.3.1) (4.9)
Requirement already satisfied: cryptography>=3.4.0 in ./.local/lib/python3.9/site-packages (from python-jose[cryptography]<4.0.0,>=3.1.0->localstack-ext==1.3.1->localstack==1.3.1) (38.0.4)
Requirement already satisfied: cffi>=1.12 in ./.local/lib/python3.9/site-packages (from cryptography>=3.4.0->python-jose[cryptography]<4.0.0,>=3.1.0->localstack-ext==1.3.1->localstack==1.3.1) (1.15.1)
Requirement already satisfied: pycparser in ./.local/lib/python3.9/site-packages (from cffi>=1.12->cryptography>=3.4.0->python-jose[cryptography]<4.0.0,>=3.1.0->localstack-ext==1.3.1->localstack==1.3.1) (2.21)
Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in ./.local/lib/python3.9/site-packages (from rich>=12.3.0->localstack==1.3.1) (0.9.1)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in ./.local/lib/python3.9/site-packages (from rich>=12.3.0->localstack==1.3.1) (2.13.0)
Requirement already satisfied: pbr!=2.1.0,>=2.0.0 in ./.local/lib/python3.9/site-packages (from stevedore>=3.4.0->localstack==1.3.1) (5.11.0)
Installing collected packages: localstack
Successfully installed localstack-1.3.1but when i try to run localstack by entering localstack –help
i get the following
bash: localstack: command not foundAnyone know how to resolve this?
- This topic was modified 4 months, 1 week ago by eyekay234.
- This topic was modified 4 months, 1 week ago by eyekay234.
December 30, 2022 at 6:04 pm #96441Member
sybok
::Hi, please the next time post link to website of the program/project such as https://pypi.org/project/localstack/ or other appropriate.
This will help people who wish to help to familiarize with the issue.This could be problem with PATH.
pip run as non-root typically installs into ‘~/.local/lib/python<version>/site-packages/’, is this included in PATH?I would try testing via:
1) open terminal
2) Add to path using the following
PATH="$PATH:<full-path to ~/.local/lib>"
3) Test the localstack command.
If it works, then permanently add the path to PATH.Anyway, is calling ‘localstack’ from shell appropriate?
December 31, 2022 at 5:59 am #96476Member
eyekay234
::@sybok thanks.. it was a path issue and its been resolved now. and yes, calling from the shell is the only way i know how to do it now as i am just trying to get a grip on the service. if you know any other method i can do so do let me know.
Thanks
December 31, 2022 at 7:23 am #96481Member
sybok
::My expectation is that pip-install makes it a Python package, i.e. one can test it in scripts when appropriately imported (‘import localstack’).
Since the issue was resolved, please, edit your original post and prepend ‘[SOLVED]’ to the title. If no longer possible, please send a private message to a moderator.
-
AuthorPosts
- You must be logged in to reply to this topic.