We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7f3786 commit 74c2168Copy full SHA for 74c2168
client_server/Server.cc
@@ -145,7 +145,7 @@ void Server::init()
145
146
// Make the C++ CatchOutput class visible on the Python side.
147
148
- auto python_path = std::string(PYTHON_SITE_PATH);
+ auto python_path = std::string(cadabra::install_prefix() + "/lib/python" + std::to_string(PY_MAJOR_VERSION) + "." + std::to_string(PY_MINOR_VERSION) + "/" + std::string(PYTHON_SITE_DIST));
149
150
std::string stdOutErr =
151
"import sys\n"
0 commit comments