# Root Installation (WINDOWS 11)

**URL:** <https://root-forum.cern.ch/t/root-installation-windows-11/59421>\
**Category:** Newbie\
**Tags:** root\
**Created:** [May 21, 2024, 12:55pm UTC](https://root-forum.cern.ch/t/root-installation-windows-11/59421 "2024-05-21T12:55:18Z")\
**Posts on this page:** 1\
**Showing post:** 31

<div class="post-metadata">

**Author:** ![ferhue](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ferhue/32/29462_2.png) [@ferhue](https://root-forum.cern.ch/u/ferhue)\
**Post date:** [May 27, 2024, 12:39pm UTC](https://root-forum.cern.ch/t/root-installation-windows-11/59421/31 "2024-05-27T12:39:15Z")

</div>

> [@UTSA\_DASTIDAR](#):
>
> My PyROOT is running but only in cmd window. I cannot import ROOT in Visual Studio for some unknown reason.

Visual Studio uses Powershell by default. Until there is a thisroot.ps1, you have to switch to “Cmd”. It can be done in the Visual Studio setting of terminals.

See also:

> [@Trying to use ROOT in VS Code](https://root-forum.cern.ch/t/trying-to-use-root-in-vs-code/59427):
>
> ROOT Version: root\_v6.30.06.win64.vc17.debug Platform: Windows 11 64-bit Interpreter: Python 3.11.9 64-bit Whenever I try to import Root on a python file in VS code I just get a module not found error. I’m not that familiar with VS code so im not sure if I have to put the root file I downloaded [root\_v6.30.06.win64.vc17.debug.zip] in the same folder as my .py file. Or if its something in my VS code setting that I have to switch to be able to find it. I’m think I have all the dependencies bec…

> [@Root installation issue](https://root-forum.cern.ch/t/root-installation-issue/59369/15):
>
> I didn’t append the path through lib . I still used bat. It is strange however how running the batch file in cmd works but not in powershell. To be honest, I dont really know the difference between them.

---

_[View the full topic](https://root-forum.cern.ch/t/root-installation-windows-11/59421)._
