diff --git a/client_server/Server.cc b/client_server/Server.cc index 2f86e52eaa..eabccb5f30 100644 --- a/client_server/Server.cc +++ b/client_server/Server.cc @@ -148,10 +148,7 @@ void Server::init() // Make the C++ CatchOutput class visible on the Python side. auto python_path = cadabra::install_prefix_of_module(); - char *appdir = getenv("APPDIR"); - if(appdir) - python_path = std::string(appdir)+"/"+python_path; - + std::string stdOutErr = "import sys\n" "sys.path.append(r'"+python_path+"')\n"