Coder Social home page Coder Social logo

Comments (10)

danhper avatar danhper commented on June 12, 2024

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.

AlJohri avatar AlJohri commented on June 12, 2024

@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.

brennanfee avatar brennanfee commented on June 12, 2024

brew install youtube-dl

I don't use Mac. πŸ˜‰

from asdf-python.

AlJohri avatar AlJohri commented on June 12, 2024

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.

brennanfee avatar brennanfee commented on June 12, 2024

@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.

danhper avatar danhper commented on June 12, 2024

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.

brennanfee avatar brennanfee commented on June 12, 2024

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.

essh avatar essh commented on June 12, 2024

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.

brennanfee avatar brennanfee commented on June 12, 2024

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.

danhper avatar danhper commented on June 12, 2024

Thanks to @essh I think this can now be closed.

from asdf-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.