The PEAK Developers' Center   Diff for "PackageNotes" UserPreferences
 
HelpContents Search Diffs Info Edit Subscribe XML Print View
Ignore changes in the amount of whitespace

Differences between version dated 2008-03-18 19:31:25 and 2008-09-21 12:12:13 (spanning 4 versions)

Deletions are marked like this.
Additions are marked like this.

 
     easy_install -f http://www.pythonware.com/products/pil/ Imaging
 
 
psyco
    Broken link? On OSX 10.5.1, I get:
    Broken link? On OSX 10.5.1, I get ::
 
    easy_install psyco
    Searching for psyco
    Reading http://pypi.python.org/simple/psyco/
    Reading http://psyco.sourceforge.net/
    Best match: psyco snapshot
    Downloading http://snake.cs.uni-duesseldorf.de/psyco/psyco-snapshot.tar.gz
    error: Unexpected HTML page found at http://snake.cs.uni-duesseldorf.de/psyco/psyco-snapshot.tar.gz
      easy_install psyco
      Searching for psyco
      Reading http://pypi.python.org/simple/psyco/
      Reading http://psyco.sourceforge.net/
      Best match: psyco snapshot
      Downloading http://snake.cs.uni-duesseldorf.de/psyco/psyco-snapshot.tar.gz
      error: Unexpected HTML page found at http://snake.cs.uni-duesseldorf.de/psyco/psyco-snapshot.tar.gz
 
    Sorry about the lack of formatting: I tried over a dozen times to get a code block displayed, but I kept getting an error. <sigh>
 
    I don't know what I can do about the psyco error: I'm new to easy_install. --Clytie Siddall
 
psycopg
    OnOSX 10.5.2, the following easy-install, isn\'t \'easy\' ::
   
      prompt$ easy_install psycopg
      Searching for psycopg
      Reading http://pypi.python.org/simple/psycopg/
      Reading http://initd.org/projects/psycopg1
      Best match: psycopg 1.1.21
      Downloading 'http://initd.org/pub/software/psycopg/psycopg-1.1.21.tar.gz'
      Processing psycopg-1.1.21.tar.gz
      'error: Couldn't find a setup script in /var/folders/GM/GM5-RBdNFr8LCStaQL8Ea++++TI/-Tmp-/easy_install-BRg4VA/psycopg-1.1.21.tar.gz'
 
 
    
 
Pygame 1.7.1
    Install works, but fails to install /usr/local/include/python2.3/pygame/* so other C modules from other projects won't compile.
 

No mention of it whilst installing?
Might be good to let users know.
 
 
Using on Windows Vista and Server 2008
--------------------------------------
 
 
The magic .exe wrapper files tend to get in the way on these platforms. I would find it easier to use setuptools if they were not there at all.
 
The problem is that those .exe wrapper files need to run as admin, even though the installation script usually doesn't need those rights. That means confirming every action. Even worse, when you run an executable as admin from a shell, it gets launched into its own process, thus creating a new window. When it terminates, it takes its window with it.
 
Therefore, you never get to see any command-line output - the widow closes as soon as it appears.
 
As such, the .exe wrappers are entirely unusable. Unfortunately, they take over the easy-to-type names. Is it possible to make the .exe wrappers only elevate to admin privs when they need them (which is never, in my experience so far)?
 
Because I can't use the .exe wrappers, I run into another problem. Fixing those wrappers would probably hide the problem below again.
 
It is hard to override the Windows approach to discovering which application to use to launch a particular document. If I always and only wanted one Python install, then I can (and do) just add .py to the cmdspec env variable. Because .py is associated with my system Python, then I can just type ::
 
    scriptname args
 
at the shell & it'll run ::
 
    python.exe path\to\scriptname.py args
 
(Sometimes I have to fix up the open command for .py files so that it'll pass those args along.)
 
However, I don't know of any good solution when I'm running multiple Pythons (via virtualenv). Short of PowerShell, there isn't a good way to change which python will be used to run .py files (in the registry). And when you just run a script, Windows chooses the executable, based on the registry.
 
Does anyone have any good idea how to get multiple virtualenvs to work on Windows, without having to type `python full\path\to\script.py` every time?
 
Eggs do not appear to honor PYTHONPATH
--------------------------------------
 
I installed python-sybase 0.39 (found on sourceforge, not automatically installed) on Solaris with Python 2.5.2 and setuptools 0.6c8. It made a single file called python_sybase-0.39-py2.5-solaris-2.10-sun4u.egg in the site-packages directory.
 
Later, a user found that his software was not compatible with the latest python-sybase, so he tried to point his PYTHONPATH at a directory that contained an older version. It kept picking up the newer version, though and he eventually asked me to remove the new version from the system so he could get his program to work.
 
The problem turns out to be that something puts all the .egg files on sys.path AHEAD of the directories that are in PYTHONPATH. Consequently, PYTHONPATH can never override them.
 
I found that I could make it work by 1) removing the .egg file from site-packages, or 2) altering sys.path from my python program before doing the import.
 
path.py
---------
 
When doing `easy_install path.py` it didnt find anything - but it should find http://pypi.python.org/pypi/path.py ----> http://pypi.python.org/packages/source/p/path.py/path-2.2.zip#md5=941660081788282887f652510d80e64e
 
 
 

PythonPowered
ShowText of this page
EditText of this page
FindPage by browsing, title search , text search or an index
Or try one of these actions: AttachFile, DeletePage, LikePages, LocalSiteMap, SpellCheck