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

asitop command wont work after installation Ventura #49

Open
natsukirei opened this issue Dec 9, 2022 · 5 comments
Open

asitop command wont work after installation Ventura #49

natsukirei opened this issue Dec 9, 2022 · 5 comments

Comments

@natsukirei
Copy link

hey guys

Ive been trying to get asitop to work but i get the following output, seems like some sort of PATH issue

natsukirei@Lukes-Mac-Studio ~ % pip3 install git+https://github.com/SuperKenVery/asitop.git Defaulting to user installation because normal site-packages is not writeable Collecting git+https://github.com/SuperKenVery/asitop.git Cloning https://github.com/SuperKenVery/asitop.git to /private/var/folders/fy/3cg2scgs4q7dvt18hvnrf_bw0000gn/T/pip-req-build-24bp443w Running command git clone --filter=blob:none --quiet https://github.com/SuperKenVery/asitop.git /private/var/folders/fy/3cg2scgs4q7dvt18hvnrf_bw0000gn/T/pip-req-build-24bp443w Resolved https://github.com/SuperKenVery/asitop.git to commit 9a67ed7eebd95370d6b97fd9821b4ef1628ff613 Preparing metadata (setup.py) ... done Requirement already satisfied: dashing in ./Library/Python/3.9/lib/python/site-packages (from asitop==0.0.21) (0.1.0) Requirement already satisfied: psutil in ./Library/Python/3.9/lib/python/site-packages (from asitop==0.0.21) (5.9.4) Requirement already satisfied: blessed in ./Library/Python/3.9/lib/python/site-packages (from dashing->asitop==0.0.21) (1.19.1) Requirement already satisfied: six>=1.9.0 in /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages (from blessed->dashing->asitop==0.0.21) (1.15.0) Requirement already satisfied: wcwidth>=0.1.4 in ./Library/Python/3.9/lib/python/site-packages (from blessed->dashing->asitop==0.0.21) (0.2.5) Building wheels for collected packages: asitop Building wheel for asitop (setup.py) ... done Created wheel for asitop: filename=asitop-0.0.21-py3-none-any.whl size=9180 sha256=4c74e00e58c4a58a940ed45e517e356aca90668d925ddb6fcfb869161f53accd Stored in directory: /private/var/folders/fy/3cg2scgs4q7dvt18hvnrf_bw0000gn/T/pip-ephem-wheel-cache-8cwteb4o/wheels/06/e0/2c/f097fa055ab84bb08a213e9e75f9ee496a4979ef98f897328a Successfully built asitop Installing collected packages: asitop WARNING: The script asitop is installed in '/Users/natsukirei/Library/Python/3.9/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed asitop-0.0.21 natsukirei@Lukes-Mac-Studio ~ % asitop zsh: command not found: asitop

@dehydratedpotato
Copy link

@natsukirei Adding /Users/natsukirei/Library/Python/3.9/bin to your PATH var (likely contained in either .zshrc or .bashrc) should resolve this problem.

@natsukirei
Copy link
Author

@natsukirei Adding /Users/natsukirei/Library/Python/3.9/bin to your PATH var (likely contained in either .zshrc or .bashrc) should resolve this problem.

thanks, but i have absolutely no idea how to do this, is their a guide somewhere

@dehydratedpotato
Copy link

@natsukirei

You could open ~/.zshrc in a text editor and append export PATH=/Users/natsukirei/Library/Python/3.9/bin:$PATH to the end of the file.

If you want to do it from the command line, it should be easy as...

printf "\nexport PATH=/Users/natsukirei/Library/Python/3.9/bin:\$PATH" >> ~/.zshrc

Note for either methods: use ~/.bashrc instead of ~/.zshrc if you don't use zsh nor the native MacOS terminal.

Hopefully that helps a bit 🙂

@nivaldin
Copy link

Same problem here, tried the @BitesPotatoBacks solution but still won't work.

@dehydratedpotato
Copy link

@nivaldin That's strange, that method should work (it's worked for me when applying to other tools).

I guess until this is fixed by the maintainer, we could all just move the asitop binary directly into usr/bin or usr/local/bin 😑

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

3 participants