-
Notifications
You must be signed in to change notification settings - Fork 29
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
Improve DVC Setup "DVC is Unavailable" step #3935
Comments
Looks like we do both of these things with help from the Python Extension! We can find out if a user is using a virtual environment with the extension's API (specifically their |
Looking at Jupyter, they are running commands, decided on args based off the environment information given by the Python Extension. With issue research done, I'll start testing some of these ideas and post some design possibilities next! |
Current Step
Going to start off with this task so that the "Install" button will be useable for users that aren't using Design Ideas For Next Steps
One idea I had was show a "Create Env" button if the user is in a global env. This "Create Env" would run the "Python: Create Environment..." then install DVC packages within that environment. Could also remove the "Install" button entirely if the user is in a global environment if there isn't a use case where you're going to want DVC installed in a global python environment.
Sounds like something we could put in the DVC CLI details. An example of adding an "Environment" row: Another option is adjusting our text content, but it felt verbose when I attempted that: What do we think? Any other ideas? cc @iterative/vs-code, @shcheklein UPDATE after the planning meeting discussion, these design ideas need another iteration. I think they're too complicated. |
After the discussion in the planning meeting, going to update the task list: Old task list
For now, we're going to just focus on using
New Task List
|
@julieg18 thanks! let me know if you need to review the text or iterate on it. |
Created some ideas for improving the step contents: Old DesignNew Design
I also thought of simplifying the "Create or Select Env" button, but wasn't sure if "Set Env" was clear enough: Another idea was putting more focus on the python extension actions and moving the "setup the workspace" command into the text: I'll get started on the first image for now. What do we think? cc @shcheklein |
I like |
Currently, vscode-dvc will see if the python extension has a python environment selected, then offer to install DVC and DVCLive inside said environment with
pip
. There are couple things to possibly improve with this:pip
to install their packages.Related comments: #3434 (comment), #3434 (comment), #3904 (comment)
Task List
Use different install commands based on user's environment(no longer needed for now)The text was updated successfully, but these errors were encountered: