# Windows 10 cmd/VSCode: "Failed to import libcppyy3\_8" and "No module named 'ROOT"

**URL:** <https://root-forum.cern.ch/t/windows-10-cmd-vscode-failed-to-import-libcppyy3-8-and-no-module-named-root/50399>\
**Category:** ROOT\
**Tags:** windows, python, root, jupyter\
**Created:** [June 14, 2022, 2:37pm UTC](https://root-forum.cern.ch/t/windows-10-cmd-vscode-failed-to-import-libcppyy3-8-and-no-module-named-root/50399 "2022-06-14T14:37:30Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [June 17, 2022, 8:21am UTC](https://root-forum.cern.ch/t/windows-10-cmd-vscode-failed-to-import-libcppyy3-8-and-no-module-named-root/50399/21 "2022-06-17T08:21:40Z")

</div>

I mostly use VS Code. But I don’t see how it’s related

---

<div class="post-metadata">

**Author:** ![ovs](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ovs/32/30001_2.png) [@ovs](https://root-forum.cern.ch/u/ovs)\
**Post date:** [June 17, 2022, 8:23am UTC](https://root-forum.cern.ch/t/windows-10-cmd-vscode-failed-to-import-libcppyy3-8-and-no-module-named-root/50399/22 "2022-06-17T08:23:09Z")

</div>

Sorry, I do not understand. It seems to me that we are doing exactly the same thing?

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [June 17, 2022, 8:26am UTC](https://root-forum.cern.ch/t/windows-10-cmd-vscode-failed-to-import-libcppyy3-8-and-no-module-named-root/50399/23 "2022-06-17T08:26:23Z")

</div>

I’m a ROOT C++ developer. I don’t use Jupyter notebooks, except to make sure it works on Windows. And to do so, I start the notebook with `root --notebook`, then a Web browser opens and I edit and run the C++ or Python code from there.

---

<div class="post-metadata">

**Author:** ![ovs](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ovs/32/30001_2.png) [@ovs](https://root-forum.cern.ch/u/ovs)\
**Post date:** [June 17, 2022, 9:11am UTC](https://root-forum.cern.ch/t/windows-10-cmd-vscode-failed-to-import-libcppyy3-8-and-no-module-named-root/50399/24 "2022-06-17T09:11:19Z")

</div>

Thanks!

I now got the notebook to work, however importing still does not work. I will change to using WSL, because everything is likely easier that way.

All the best!

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [June 17, 2022, 9:15am UTC](https://root-forum.cern.ch/t/windows-10-cmd-vscode-failed-to-import-libcppyy3-8-and-no-module-named-root/50399/25 "2022-06-17T09:15:27Z")

</div>

As you prefer

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [July 1, 2022, 9:15am UTC](https://root-forum.cern.ch/t/windows-10-cmd-vscode-failed-to-import-libcppyy3-8-and-no-module-named-root/50399/26 "2022-07-01T09:15:45Z")

</div>

Closed on July 1, 2022, 9:15am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

[Previous page](https://root-forum.cern.ch/t/windows-10-cmd-vscode-failed-to-import-libcppyy3-8-and-no-module-named-root/50399.md?page=1)
