# ROOT installation problem in windows

**URL:** <https://root-forum.cern.ch/t/root-installation-problem-in-windows/59647>\
**Category:** Newbie\
**Created:** [June 14, 2024, 3:29pm UTC](https://root-forum.cern.ch/t/root-installation-problem-in-windows/59647 "2024-06-14T15:29:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aditya\_Sharma](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/aditya_sharma/32/36805_2.png) [@Aditya\_Sharma](https://root-forum.cern.ch/u/Aditya_Sharma)\
**Post date:** [June 14, 2024, 3:29pm UTC](https://root-forum.cern.ch/t/root-installation-problem-in-windows/59647/1 "2024-06-14T15:29:24Z")

</div>

I have installed root for windows from root\_v6.32.00.win64.vc17.exe and then typed the command c:\root\root\bin\thisroot.bat in developer command prompt of visual studio for some reason it shows error and is not starting root properly, is shows the following error can anyone help

 ![Screenshot 2024-06-14 205627](https://root-forum.cern.ch/uploads/default/original/3X/f/1/f1e06e38f3e6e843588a0817f0c1940667c53856.png)

I have installed visual studio 2022, python -3.12.4 and have set my C++ compiler which is working perfectly fine in visual  
studio code.

---

<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:** [June 14, 2024, 4:46pm UTC](https://root-forum.cern.ch/t/root-installation-problem-in-windows/59647/2 "2024-06-14T16:46:00Z")

</div>

You probably forgot to activate (click on) the option “Desktop development with C++” when installing Visual Studio. (It’s explained at the bottom of the page where you downloaded the .exe).

By the way, you’ll need Python 3.11, not Python 3.12, with that version of ROOT.

---

<div class="post-metadata">

**Author:** ![Aditya\_Sharma](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/aditya_sharma/32/36805_2.png) [@Aditya\_Sharma](https://root-forum.cern.ch/u/Aditya_Sharma)\
**Post date:** [June 14, 2024, 6:52pm UTC](https://root-forum.cern.ch/t/root-installation-problem-in-windows/59647/3 "2024-06-14T18:52:56Z")

</div>

I selected this option along with data science option while downloading visual studio.

---

<div class="post-metadata">

**Author:** ![Aditya\_Sharma](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/aditya_sharma/32/36805_2.png) [@Aditya\_Sharma](https://root-forum.cern.ch/u/Aditya_Sharma)\
**Post date:** [June 14, 2024, 7:43pm UTC](https://root-forum.cern.ch/t/root-installation-problem-in-windows/59647/4 "2024-06-14T19:43:56Z")

</div>

I tried re installing and it worked thanks.
