Questions tagged [python]

Python is a dynamically and strongly typed programming language that encourages readability.

1743 questions
0
votes
1 answer

Cant make mod_wsgi-3.3 on centos, is there a python2.7-dev(el) package?

I'm trying to get mod_wsgi to work om my CentOs server so I can run Django sites on apache. I've installed python2.7 paralel to 2.4 (because you have to keep 2.4 in order to keep yum happy), the root user is using 2.7. I want to do: # wget…
Jasper Kennis
  • 379
  • 1
  • 3
  • 12
0
votes
3 answers

creating database in remote server

I want to install a postgresql database on a remote linux server. In order to create the database on the remote server, I wrote a script in a python that executes the commands on the server. I am running the commands in sequential order in like…
khati
  • 31
  • 2
  • 6
0
votes
2 answers

Linux - Software I'm installing needs to know path to JDK installation

I'm trying to install this Python library (works with Java) and the read me file says to tell it the path to my JDK installation. Any ideas how I would find this? What is it asking for, a directory? I tried which java but that just said…
Greg_the_Ant
  • 489
  • 7
  • 26
0
votes
2 answers

Error Installing mod_wsgi on RedHat

I'm trying to install mod_wsgi on RedHat Linux. And I'm getting this error: apxs:Error: Command failed with rc=65536 The answer seems to be here, but I think I already have 64 bit Python so I'm not clear on what I'm supposed to do in that…
Greg_the_Ant
  • 489
  • 7
  • 26
0
votes
4 answers

High Performance Server - what should I Use?

I have a large game engine which serves mobile phone clients and a web site. The DB is MSSQL2008 and the engine is written using C#. The web site is built with ASP.NET MVC and the web service for the mobile phones is also built on ASP.NET MVC…
Bob
  • 3
  • 1
0
votes
1 answer

Installing python-mysql on windows with AppServ

I am trying to install the python module "mysql" on Windows 7 with apache installed with AppServ (installation includes Apache, MySQL and PHP). When I try to run the setup.py script of "python-mysql" I get error serverKey =…
Joel
  • 127
  • 6
0
votes
2 answers

Python 3.* on Gentoo

How to install python 3.* on Gentoo without compiling by hand? Are there any ebuild or overlay for this? UPDATE: now it's absolutely possible without any hacks
Alex Bolotov
  • 877
  • 3
  • 10
  • 18
0
votes
2 answers

Gitosis-init returns "Fatal Python error: is a directory", why is this?

I'm trying to get gitosis installed because I want to use Indefero and I need a deamon for the git:// protocol. However, following the instructions in the Git Pro book (http://progit.org/book/ch4-7.html) I run into trouble pretty soon. This is what…
Jasper Kennis
  • 379
  • 1
  • 3
  • 12
0
votes
1 answer

calling a different python interpreter from bash command line

I have python 2.7 installed [user@localhost google_appengine]$ python Python 2.7 (r27:82500, Sep 16 2010, 18:03:06) [GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. I…
0
votes
1 answer

How to send task to celery using redis pubsub with postgresql?

How do you send task to celery through redis pubsub once a new record has been inserted into a postgresql table? My problem here is to get redis to listen for inserts in my postgresql table, and when it detects an insert, it should send tasks to…
Marconi
  • 199
  • 3
  • 14
0
votes
1 answer

Can not upgrade to python-2.4.3-43 on Red Hat Linux 5

I'm trying to upgrade using package python-2.4.3-43.el5.x86_64.rpm, but everything I do so I get a failed dependency requirement for libpython2.4.so.1.0, but I've checked /usr/lib64 and the file is there. The current version of python that is…
hsatterwhite
  • 332
  • 2
  • 5
  • 14
0
votes
1 answer

Getting a domain name, reccomended servers, etc

Ok. I know all the programming but what I want is expert advice on how and where to register a domain name. Also I need to use a server online to host my website. I need it to allow python programs(so i can fetch info from other sites), php, mysql,…
Amnite
0
votes
1 answer

Apache, mod_wsgi, Django - strange 500 errors

I have a Django site which works well most of the time, memory usage is stable and I wouldn't have to worry if not some strange problems, which were occasional until yesterday and cause site to go down for the whole last…
0
votes
4 answers

Is it possible to create an SFTP drop box?

I have a Windows server with folders accessible via SFTP (server is running OpenSSH). scp is blocked. I would like to copy files from a Linux server to the Windows server. SFTP seems like a good option. Ideally I'd like something similar to an FTP…
Jordan Reiter
  • 1,290
  • 4
  • 20
  • 40
0
votes
1 answer

Is python/django less problamatic to manage compared to rails?

Is managing a python/django server generally easier/trouble free when compared to a ruby/rails app?
Blankman
  • 2,891
  • 10
  • 39
  • 68