Visual studio terminal

Question:

How to convert the following codes in VS Code terminal?

conda create -n cluster_topic_model python=3.7 -y
conda activate cluster_topic_model
Asked By: SaNa

||

Answers:

The same has been provided in the comment as well. Leaving it here for the rest.

This is what I did.

  1. Open your VSCode to your desired directory.
  2. Then press Ctrl+Shit+P which opens a section prompting which
    interpreter to use.
  3. Select the python interpreter of your choice.
  4. Now assuming you have Anaconda installed on your local device.
  5. Now you should again press Ctrl+Shit+P and choose your Python
    kernel as (base) which has the conda environment.
  6. Now go to the Terminal tab on the menu bar and open a new
    terminal.

Hope this helps!

Crucial part: You have to open a cmd terminal now and then you can go ahead with your code.

Answered By: Gautam Chettiar
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.