Linked Questions

4 votes
2 answers
19k views

I have compiled from the sources and installed python 3.6 and when I type python3.6 in the console I get: Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME ...
RdlP's user avatar
  • 1,396
24 votes
4 answers
14k views

So I'd like to call some python code from c via cython. I've managed to call cython code from c. And I can also call python code from cython. But when I add it all together, some things are missing. ...
pius's user avatar
  • 2,444
5 votes
4 answers
8k views

I'm trying to use arm-none-eabi-gdb as the debugger for my stm32 project, but when I try to execute it, it return the following error: Could not find platform independent libraries <prefix> ...
Benycu's user avatar
  • 57
5 votes
2 answers
9k views

I have installed scrapy on my mac (OS El Capital, 10.11.4), there does not seem to be any compatibilty problem between scrapy and my python version (2.7.11) but when I try to start a project with ...
vincisson's user avatar
1 vote
2 answers
8k views

I'm trying to embed python into a C application. For the moment, I am trying to get the following hello world style example working #include <..../anaconda3/include/python3.7m/Python.h> // I'...
HXSP1947's user avatar
  • 1,371
2 votes
0 answers
3k views

I got a error that I can't solve, wish somebody can help me! I am installing the openstack components , Firstly,I install the python in the source code way. But after I process the steps of "...
zhangwp's user avatar
  • 21
0 votes
1 answer
2k views

I am trying to run the Embedding Python in Another Application example found at https://docs.python.org/3/extending/embedding.html#very-high-level-embedding on my MacOS. While I can get the program to ...
scruffaluff's user avatar
1 vote
0 answers
2k views

I am trying to run the following code: #define PY_SSIZE_T_CLEAN #include <Python.h> #include <iostream> int main() { Py_Initialize(); std::wcout << std::endl; std::...
Dmitriy Goncharenko's user avatar
2 votes
0 answers
1k views

Running aws gives me: aws Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:&...
Snowcrash's user avatar
  • 87.2k
2 votes
2 answers
751 views

I am using subprocess.Popen to call an external Python script from my installed Application, bundled using PyInstaller. The format of this command is something like this: subprocess.Popen(["/usr/bin/...
tmccaffrey's user avatar
2 votes
1 answer
1k views

I am very new to programming and I am trying to install the package requests to python. In the terminal on my mac I am entering pip install requests. I am getting the following error message. Could ...
Brandon's user avatar
  • 21
1 vote
0 answers
1k views

I submit my test.py to yarn as follows. spark-submit --master yarn \ --deploy-mode cluster \ --executor-memory 8g \ --driver-memory 10g \ --num-executors 100 \ --executor-cores 10 \ --conf spark.yarn....
rosefun's user avatar
  • 1,887
2 votes
1 answer
656 views

I want to use a static python interpreter to run on a rigidly managed server. So far I've built the interpreter, but I can only use it within the build directory. If I try to copy it and use the copy,...
Warpspeed SCP's user avatar
0 votes
1 answer
613 views

I tried to manually install Python on OpenSuSE Linux, by downloading the source, and run: configure --prefix=/path/to/my/dir/installed/python and make && make install (I have to do it this ...
Tamaki Sakura's user avatar
2 votes
1 answer
524 views

I am using Linux (Xubuntu) and know just basic commands - I am new to Linux. TLTR: How to reinstall Python with the hope that all package dependencies will be fixed? I tried based on thise: sudo apt-...
Maria Zelenayova's user avatar

15 30 50 per page