Tagged Questions
0
votes
0answers
21 views
Python 3 on ChromeOS [migrated]
I just got a chromebook ( Acer C7 ) and would like to do very minimal local development on it. I would like to have Python 3.x at a minimum, and pygame would be even better, but I'm not banking on ...
-4
votes
0answers
39 views
Error compiling C file converted by cython (pyw to c) [closed]
I'm new to here, and this is my weird problem...
I want to do a simple application, using Python as it is easier to understand and write. But I knew that Python is considered slower if compared to C. ...
0
votes
0answers
10 views
Pymc not working after compilation
I'm trying to install pymc. I used the info given here
I compiled them myself (according to section 2.4 in the documentation). Though I get this error when trying to use it:
What is going wrong ? ...
3
votes
1answer
41 views
piping a string to gcc with python's subprocess.Popen
I have a c++ style text file that I'm trying to pipe to gcc to remove the comments. Initially, I tried a regex approach, but had trouble handling things like nested comments, string literals and EOL ...
0
votes
0answers
18 views
Error installing psycopg2: unrecognized option `-Wdeclaration-after-statement'
I'm on a shared hosting provider, trying to install psycopg2 in order to get Django up and running with psql.
I ran $ pip install psycopg2
and got following error
gcc -pthread -fno-strict-aliasing ...
0
votes
0answers
23 views
build pyaudio with portaudio with ASIO support
I'm running Python 2.7.3 [MSC v.1500 32 bit (Intel)] on win32.
I need to build portaudio with ASIO support and bind it to pyaudio to use it under Windows 7. Basically I want to access ASIO driver ...
1
vote
2answers
85 views
Busy box, Run C, python or Perl programs
All I have is bourne shell and busy box.
Is there any way to run a python script or compile a c program or any languages like perl ..
like
busybox python eatmemory.py 100M
or
busybox gcc ...
0
votes
0answers
55 views
Compiling Python with --enable-shared does not produce libpython2.7.a
I am building this vim plugin, and I ran into some trouble with python during its build process.
First it was giving this issue:
$ make ycm_core
[ 90%] Built target BoostParts
Linking CXX shared ...
0
votes
0answers
33 views
MySQLdb undefined - import MySQLdb
So I have this application called Openfreezer.
I have followed the instructions perfectly to make their web application work... and it does.
But now when I play around with it and it starts calling ...
0
votes
0answers
28 views
OSX application on Lion, not working
I have an application which has been been built on OSX Mountain Lion using Python and CX_Freeze. This application will install and run on Mountain Lion without issue.
A problem seems to arise on OSX ...
1
vote
1answer
54 views
Applying C compiler CFLAGS when building Python native extensions with setup.py
I am building an app for OSX, currently I am getting Illegal Instruction 4 error messages when running the application. One SOF question suggested adding -mmacosx-version-min=10.7 to the build ...
2
votes
1answer
230 views
Installing lxml with pip in virtualenv Ubuntu 12.10 error: command 'gcc' failed with exit status 4
I'm having the following error when trying to run "pip install lxml" into a virtualenv in Ubuntu 12.10 x64. I have Python 2.7.
I have seen other related questions here about the same problem and ...
1
vote
1answer
74 views
Explicitly linking a local shared object library
I'm working on setting up a Makefile for compiling Python wrappers for a C library. The contents of the file are below (with library names altered for infosec reasons). The line numbers are for ...
0
votes
1answer
36 views
Dynamic Library for Python compilation - no directory
Hopefully this will be a simple one. I'm reading book called Beginning Python and learning how you can make extensions using c or c++ and then use swig to make it available to several languages. I've ...
0
votes
0answers
31 views
Python build error on HPUX
I am trying to build both Python 2.7.4 and Python 3.3.1 on HPUX 11.31 Itanium with gcc 4.7.0. For both projects, I am getting the same build error:
make
...
running build scripts
...
/bin/sh[5]: ...