Replies: 1 comment
-
| 
         Hi! I think at this point if you're starting new you should check out uv instead of Rye, which is much more actively maintained and is explicitly the successor to Rye. Rye is mostly still around for people who are using specific features that aren't yet in uv, a list that has gotten pretty small. Here's how I'd answer these questions for uv: 1- If you're inside a project directory,  Also, a fun trick is that if your Streamlit app happens to be one file, you can do  2- No, largely because, what should it do if you have a project that uses a different version of pandas, or has a conflict with pandas? How do you make sure you don't accidentally put an  However, with uv, you can do   | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all,
I've mainly been using conda to handle my python environments but rye seemed interesting so I started playing around with it. There are a few things that I do with python that I can't seem to manage with rye though, as much as I tried to troubleshoot it I'm not getting anywhere. So I decided to turn to the community for help. Here I describe the two situations where I am having trouble with rye;
1- I have a project in which I use streamlit for a simple GUI. Usually, I just would have
streamlitinstalled in the conda environment that is active and I would runstreamlit run app.pyand be done with it. With rye, even when streamlit is installed and can be imported in a python console, I don't have access to the command line tool that comes with the installation. How would one solve this? If instead I install streamlit as a tool withrye install streamlitand have access to the command line tool, since this tool runs separately from the project it does not have access to the other libraries installed in the project.2- I work with multiple different projects but there are certain libraries that I install in every python environment I use (for instance, pandas). When I installed rye, it asked if I wanted to use a python managed by rye as the system python and I chose yes. Is there a way to install certain packages into this "base" python environment so I have access to them all the time, even outside rye-managed python projects?
I hope my questions are clear and I appreciate anyone who can help me with these. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions