473,289 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

how to/help installing impure packages

owl
I love easy_install.

I love watching it search and complete.
It's when it doesn't complete that causes me grief.
I don't program a lot these days and am relatively new to python but I
often wind up installing packages on both unix and windows machines
and often the 'build' part of the install fails with not being able to
find the compiler or compile problems.

If there are any articles/pointers that talk about this, i.e. how to
troubleshoot, I'd love to know.

If I was writing such an article I'd start with:
- how easy_install uses distutils (even this is an assumption on my
part)
- where it looks in the env. for stuff on both unix/linux/windows
- what files to tweak to help it find stuff if your env. is different.
- i.e. can I config some file to have packages not try and compile but
use pure python if possible?
- i.e. w/o speedups
- how to work around problems such as easy_install failing because a
site is down
- i.e. how to manually download, 'unpack' & 'build'
- since packages fail to build, how to set things up to download &
keep things around when they fail so you can tinker with it until you
get it working!

I love python, and nothing against impure packages, but when they
cause problems it starts to 'tarnish the dream' of an agnostic
language.

Thoughts?

Oct 26 '07 #1
1 1227
On Oct 26, 10:35 am, owl <john_now...@carleton.cawrote:
I love easy_install.

I love watching it search and complete.
It's when it doesn't complete that causes me grief.
I don't program a lot these days and am relatively new to python but I
often wind up installing packages on both unix and windows machines
and often the 'build' part of the install fails with not being able to
find the compiler or compile problems.

If there are any articles/pointers that talk about this, i.e. how to
troubleshoot, I'd love to know.

If I was writing such an article I'd start with:
- how easy_install uses distutils (even this is an assumption on my
part)
- where it looks in the env. for stuff on both unix/linux/windows
- what files to tweak to help it find stuff if your env. is different.
- i.e. can I config some file to have packages not try and compile but
use pure python if possible?
- i.e. w/o speedups
- how to work around problems such as easy_install failing because a
site is down
- i.e. how to manually download, 'unpack' & 'build'
- since packages fail to build, how to set things up to download &
keep things around when they fail so you can tinker with it until you
get it working!
I would enjoy seeing an article like this as well.

However, in the meantime, feel free to report your error messages to
the authors of the modules in question or even here. I am sure someone
would be willing to give some advice. At the very least, they need to
know that all is not perfect out in user-land.

Oct 26 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Active8 | last post by:
I did this once and can't remember how <blush> so I read the reportlab user guid. It says to unzip the reportlab archive - this is on w2k, BTW, with Python23 - to a directory and make a file...
7
by: Edward Diener | last post by:
I can install Python 2.4 on the Fedora 3 Linux system, but after I do a number of Linux utilities and commands, like yum, stop working because they were dependent on the Python 2.3 installation....
0
by: klh | last post by:
We just installed DB2 ESE V8 FP12 on our Windows 2003 servers. We also installed the DB2 ADMCL V8 FP12 on our websphere servers. We use the JDBC Type 4 drivers on our websphere servers to...
0
by: Jack Wu | last post by:
Hi I've spent a good majority of my day trying to figure out how to have PIL 1.1.5 working on my OSX 10.3.9_PPC machine. I'm still stuck and I have not gotten anywhere. Could somebody please...
14
by: Nader Emami | last post by:
I have installed "TurboGears" and I would install 'pysqlite' also. I am a user on a Linux machine. If I try to install the 'pysqlite' with 'easy_install' tool I get the next error message. The...
3
by: Rick Muller | last post by:
I need some distutils help. I currently run a python library (PyQuante) that, until recently, had all of its modules in a single directory, called "PyQuante". The setup command in my setup.py...
3
by: kyosohma | last post by:
Hi, Is there some way to get a list of "impure" Python modules/extensions from PyPI? I know the mySQL module is a good example, but I am working on creating some decent instructions on how to...
0
by: Gabriel Genellina | last post by:
En Thu, 10 Jul 2008 14:02:29 -0300, Bhagwat Kolde <bbkolde@gmail.com> escribi�: If it is a single Python module, you can put it anywhere in the Python path. A good place may be the...
0
by: trihaitran | last post by:
I am reading chapter two of the Pylons book. In the text I am told to run: $ python virtualenv.py --no-site-packages env This is what I got back: $ python virtualenv.py --no-site-packages...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.