Comments (10)
Thanks for mentioning this.
If you have time to send a PR I would be more than happy to merge it.
Thank you!
from asdf-python.
@brennanfee in this particular might I suggest preferring brew install youtube-dl
for such CLI tools so they are not affected by the changing versions of python. If a homebrew package doesn't exist, pipx is also a great alternative for globally available CLI tools.
Otherwise, π on automatically installing packages by default globally. rbenv and pyenv do the same:
https://github.com/rbenv/rbenv-default-gems
https://github.com/jawshooah/pyenv-default-packages
EDIT: oh my I just assumed you have a mac! apologies if you don't. the pipx suggestion still works.
from asdf-python.
brew install youtube-dl
I don't use Mac. π
from asdf-python.
Haha yup- see my edit above.
pipx install youtube-dl
is a good alternative. Itβs the successor to pipsi if youβve used that before.
from asdf-python.
@AlJohri Thanks for the suggestion on pipx... I was a pipsi fan but have since started switching to pipx. Problem is that, at present, pipx doesn't play nice with asdf which I need to dig into and figure out.
As for what should happen with this suggestion... I think perhaps the only thing is the documentation should be updated to direct people to things like brew or pipx which are better for "tool installations" anyway. I thought of it only because ruby gems has a thing like that and I thought python parity would be a good idea.
from asdf-python.
pipx doesn't play nice with asdf
I never had any trouble with asdf and pipx. Could you please open an issue describing the problem you are getting?
Thanks.
from asdf-python.
It is a very specific issue with asdf inside a Windows Subsystem For Linux shell and I belief it is an asdf symlink issue not an issue with pipx. I'm close to tracking it down and will likely submit a PR to asdf or to the WSL team (depending on where the problem lies).
Just FYI... it seems to have an issue if the symlink crosses the linux\windows divide.
from asdf-python.
FYI an attempt to support this seems to have landed in #39. It is however not documented and doesn't seem to work correctly.
I have opened a PR (#59) that resolves these issues.
from asdf-python.
Excellent. I think it is good to offer as a feature regardless. Some will use it, some won't. I'll leave it up to you and the other moderators as to what happens to this ticket.
from asdf-python.
Thanks to @essh I think this can now be closed.
from asdf-python.
Related Issues (20)
- Cannot install Python 3.8.2 on macOS ARM HOT 3
- Provide an option to install standalone binary HOT 1
- Expand the build documentation HOT 1
- Exclude pip modules from reshim?
- preferred way to export `libpython3.so` to ldd?
- In termux isn't work
- Dependency Dashboard
- Python 2.7.8 install fails whilst trying to install pipx
- Unable to install miniconda3 HOT 1
- Debian dependencies HOT 1
- Readme tip to use environment variable to patch causes all Python installation for all versions to fail on MacOS Sonoma 14.0 HOT 1
- [BUG] if .default-python-packages package installation fails python version isn't installed. HOT 1
- asdf doesn't link python install to my path mac studio M2 Max
- Building packages from AUR using python provided by asdf-vm fails HOT 1
- Error during python installation with python 3.11.6 Macbook Pro Core i5 Sonoma 14.3 HOT 2
- Fail to execute python after upgrading asdf by Homebrew
- Error to install some version of python HOT 1
- Cannot install python 3.12 HOT 1
- `python -V` loads indefinitely after setting `python system` in `~/.tool-versions` globally HOT 2
- "No preset version installed for command clear" after installing python 3.12.3 and anaconda3-2024.02-1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asdf-python.