Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Visual studio terminal

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

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading