# Installing VMTK with VSCode

**URL:** <https://discourse.slicer.org/t/installing-vmtk-with-vscode/25740>\
**Category:** VMTK\
**Created:** [October 17, 2022, 9:40pm UTC](https://discourse.slicer.org/t/installing-vmtk-with-vscode/25740 "2022-10-17T21:40:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malalvarez](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@Malalvarez](https://discourse.slicer.org/u/Malalvarez)\
**Post date:** [October 17, 2022, 9:40pm UTC](https://discourse.slicer.org/t/installing-vmtk-with-vscode/25740/1 "2022-10-17T21:40:13Z")

</div>

Hi, i am new at this, and trying to install VMTK and use it with Python 3.9 in Visual Studio Code. Is that possible? Or only from Anaconda is possible?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 17, 2022, 9:44pm UTC](https://discourse.slicer.org/t/installing-vmtk-with-vscode/25740/2 "2022-10-17T21:44:52Z")

</div>

If you don’t want to build VMTK then you can [install it from conda-forge](https://github.com/vmtk/vmtk/issues/359):

```
conda install -c conda-forge vmtk

```

or you can download 3D Slicer, install VMTK extension, and use the virtual environment that 3D Slicer provides (PythonSlicer.exe).

---

<div class="post-metadata">

**Author:** ![Malalvarez](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@Malalvarez](https://discourse.slicer.org/u/Malalvarez)\
**Post date:** [October 19, 2022, 3:15pm UTC](https://discourse.slicer.org/t/installing-vmtk-with-vscode/25740/3 "2022-10-19T15:15:29Z")

</div>

Do you have any tutorial to install it via anaconda? Thanks!

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 19, 2022, 4:05pm UTC](https://discourse.slicer.org/t/installing-vmtk-with-vscode/25740/4 "2022-10-19T16:05:09Z")

</div>

I cannot help with that, as I don’t use Anaconda. You should be able to find instructions on the web. If you have trouble using VMTK in Python then I would recommend to use it within 3D Slicer, via a convenient graphical user interface.
