Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
using easy_install with Python 2.6.1
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
FND  
View profile  
 More options Nov 15 2009, 3:38 am
From: FND <F...@gmx.net>
Date: Sun, 15 Nov 2009 00:38:44 -0800 (PST)
Local: Sun, Nov 15 2009 3:38 am
Subject: using easy_install with Python 2.6.1
When using Portable Python 1.1 based on Python 2.5.4, I can use the
following:
    App\python.exe App\Scripts\easy_install-script.py foo

The version based on Python 2.6.1 uses different locations, namely
App\easy_install.py (and also App\setuptools\command\easy_install.py).

Something doesn't seem quite right though - easy_install can't find
setuptools*.
Yet I can import it manually from the same working directory:
    cd App
    python.exe
    >>> import setuptools # works

Am I perhaps Doing It Completely Wrong?

-- F.

* command and traceback:
    > App\python.exe App\easy_install.py foo
    Traceback (most recent call last):
      File "App\easy_install.py", line 4, in <module>
        from setuptools.command.easy_install import main
      File "App\setuptools\command\easy_install.py", line 21, in
<module>
        from setuptools.package_index import PackageIndex,
parse_bdist_wininst
      File "App\setuptools\package_index.py", line
    145, in <module>
        urllib2.__version__, require('setuptools')[0].version
      File "App\pkg_resources.py", line 626, in require
        needed = self.resolve(parse_requirements(requirements))
      File "App\pkg_resources.py", line 524, in res
    olve
        raise DistributionNotFound(req)  # XXX put more info here
    pkg_resources.DistributionNotFound: setuptools


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Perica Zivkovic  
View profile  
 More options Nov 15 2009, 5:01 am
From: Perica Zivkovic <perica.zivko...@gmail.com>
Date: Sun, 15 Nov 2009 02:01:10 -0800 (PST)
Local: Sun, Nov 15 2009 5:01 am
Subject: Re: using easy_install with Python 2.6.1
Looks like a bug in PP 1.1 distribution based on Py 2.6

How to fix it:
- delete setuptools dir from [PProot]\App
- delete easy_install.py from [PProot]\App
- delete pkg_resources.py from [PProot]\App
- delete site.py from [PProot]\App
- download ez_setup.py from http://peak.telecommunity.com/dist/ez_setup.py
and place it in your [PProot]\App
- open command prompt and change dir to [PProot]\App
- type "python ez_setup.py"
- setup tools should be installed
- to use it type "Scripts\easy_install.exe [package_name]" while you
are in [PProot]\App

let me know if you have more problems. I will record this as a bug on
PP project site (http://www.PortablePython.com)

keep pythoning !

Perica

On Nov 15, 9:38 am, FND <F...@gmx.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
FND  
View profile  
 More options Nov 16 2009, 8:47 am
From: FND <F...@gmx.net>
Date: Mon, 16 Nov 2009 05:47:06 -0800 (PST)
Local: Mon, Nov 16 2009 8:47 am
Subject: Re: using easy_install with Python 2.6.1

> Looks like a bug in PP 1.1 distribution based on Py 2.6
> [...]
> I will record this as a bug on PP project site

Thanks Perica!
For the moment, I'm happy sticking with 2.5.4 for regular use.

-- F.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »