Article review: rtx + direnv + python #235
Replies: 2 comments 16 replies
-
Oh I just noticed my setup doesn't work as intended >.< The virtualenv isn't properly activated, rtx's python version takes precedence in the PATH. |
Beta Was this translation helpful? Give feedback.
-
Hey I like the article, I'd say if anything it could go into more detail. As a noob, right now I'm scratching my head wondering how exactly everything plugs and plays together. Intend to use nodejs/pnpm/python/poetry I'm unsure if I should add or install these globally. If I do so globally, it (Poetry specifically) seems to do what you explicitly looked to avoid – being in a virtualenv everywhere. I think it may just be a convolution but is this an issue because I used "rtx install python/poetry -g"? I'm thinking the -g causes them to be quote-en-quote "activated" and thus creating the virenv issue. Imagining "rtx install poetry" just does exactly that – install it systemically, in rtx, to be readily "activated" wherever I need it to be in a more local manner. |
Beta Was this translation helpful? Give feedback.
-
Hello there!
I wrote a draft article for my blog which I'd like to share with you in the hope that somebody could review it before I hit publish. It's fairly short (2-3 min max), I just want to avoid publishing anything obviously wrong.
Here's the link: https://gabnotes.org/setup-rtx-with-direnv-for-python/?draft_key=ac6f7ada-cec3-4aa0-90b2-21207c951a2b
I'd be thankful to get feedback from the maintainers, I intend to publish it this week if possible.
Also, the license for the post is very permissive so if by any chance you want to reuse anything, please do!
Finally: thanks for this cool piece of software! 😁
Thanks a lot 🙏🏻
Beta Was this translation helpful? Give feedback.
All reactions