Skip to content

Commit 0dbf276

Browse files
committed
[09/29/2022] ModuleNotFoundError: No module named '_ctypes'
ModuleNotFoundError: No module named '_ctypes'
1 parent b15e16a commit 0dbf276

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

matplotlib.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ static bool __XXX_YYY_ZZZ_INIT__() {
6666
#ifdef _WIN32
6767
const std::string PYTHONHOME = CONDA_PREFIX + R"(\lib)";
6868
const std::string PYTHONPATH = PYTHONHOME + ";" + PYTHONHOME +
69-
R"(\site-packages)";
69+
R"(\site-packages;)" + CONDA_PREFIX +
70+
R"(\DLLs)";
7071
_putenv_s("PYTHONHOME", PYTHONHOME.c_str());
7172
_putenv_s("PYTHONPATH", PYTHONPATH.c_str());
7273
#else

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy