I am using VS Code, Anaconda, Git and GitHub desktop (my stack). I have a couple of…
- User
I am using VS Code, Anaconda, Git and GitHub desktop (my stack). I have a couple of questions.
- Virtual environments:
If I create VE in Anaconda and install some packages (e.g. Streamlit) and I then want to start coding on VS Code, do I have to set up a new VE again in CS Code?
- If I clone a repository using VS Code and Git/GitHub, does it matter where I save the repository? What are the best practices for saving this clones repository?
- Assistant
-
No, you don't have to set up a new virtual environment (VE) in VS Code if you have already created one in Anaconda. You can use the same VE for coding in VS Code by activating it from the Anaconda Navigator or the command line. To activate a VE in Anaconda Navigator, simply select the VE and click the "Start" button. To activate a VE from the command line, use the "conda activate" command followed by the name of your VE.
-
When cloning a repository using VS Code and Git/GitHub, it doesn't matter where you save the repository as long as you have enough disk space and the path is valid. However, it's a good practice to create a separate folder for each repository and save it in a location that is easy to remember and organize. You can also consider creating a separate folder for all your Git repositories to keep them organized.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.