python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Cannot find directory for linker -lgomp
I am on an M1 Mac and I have Homebrew GCC installed. I am trying to multithread using OpenMP.
I have a setup.py file containing:
sources = ['pyTsetlinMachineParallel/ConvolutionalTse...
Saram Abbas
Votes: 0
Answers: 0
PyObject_CallObject crashed when called out of main function scope
I'm building a simple module to wrap a C function. The main function of this module (test_wrapper) basically receives a python function and call it:
#include <Python.h>
static PyObject* test_wr...
João Paulo
Votes: 0
Answers: 1
OpenMP linker -lgomp library not found on M1 mac
My issue is with the openmp not working with a C Extension in a python setup.py file.
I am running this code and I have a setup.py file as below:
from setuptools import *
libTM = Extension('libTM',
...
Saram Abbas
Votes: 0
Answers: 1
Can't run Python file in C
I have a problem with python api in c. I am trying to run a python script with PyRun_SimpleFile but it fails
I get this error: d:/gcc/bin/../lib/gcc/x86_64-w64-mingw32/11.1.0/../../../../x86_64-w64-mi...
SecurityRaven
Votes: 0
Answers: 2