m h wrote:

After manually removing the elementTree and cElementTree packages (I
used the windows installers), running "setup.py develop" now get's a
little bit further.  It's now complaining about missing json:
I've been watching this thread, hoping you'd get to this point because this is where I got stuck. I got unstuck by downloading and installing json by hand, then editing .../easy-install.pth to point to the json egg. But I tried so many ways to install that I'm not sure my solution would apply to you. (Various combo's of easy-install, ez_setup.py, with the nightly tarballs and an SVN checkout all had trouble with elementTree and cElementTree and then failed with json.)

Being a firm supporter of open source, I'll contribute what solutions I can, but I'm new to all these installation tools and TurboGears and all its related packages, so I wouldn't expect much. (I've carried on a decade long love affair with Python, so it's not on my list of deficiencies.)

Gary Herron

...
Adding elementtree 1.2.6-20050316 to easy-install.pth file

Installed c:\program files\python23\lib\site-packages\elementtree-1.2.6_20050316
-py2.3-win32.egg
Searching for json-py>=3.2.1
Reading http://www.python.org/pypi/json-py/
Couldn't find index page for 'json-py' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://www.python.org/pypi/
No local packages or download links found for json-py>=3.2.1
error: Could not find distribution for Requirement.parse('json-py>=3.2.1')




On 12/6/05, m h <[EMAIL PROTECTED]> wrote:
My bad, that was using easy_intall-script.py.  Using ez_setup.py I it
appears to work... (Is that a bug in easy_install-script.py?
Shouldn't they be doing the same thing?)

C:\Documents and Settings\Administrator\Desktop\matt>ez_setup.py setuptools==dev

Searching for setuptools==dev
Reading http://www.python.org/pypi/setuptools/
Reading http://peak.telecommunity.com/DevCenter/setuptools
Best match: setuptools dev
Downloading http://svn.python.org/projects/sandbox/trunk/setuptools/#egg=setupto
ols-dev
Doing subversion checkout from http://svn.python.org/projects/sandbox/trunk/setu
ptools/ to c:\docume~1\admini~1\locals~1\temp\easy_install-moqm1l\setuptools
Processing setuptools
Running setup.py -q bdist_egg --dist-dir c:\docume~1\admini~1\locals~1\temp\easy
_install-moqm1l\setuptools\egg-dist-tmp-iu-jxz
warning: manifest_maker: standard file not found: should have one of README, REA
DME.txt
setuptools 0.6a9dev-r41630 is already the active version in easy-install.pth
Installing easy_install-script.py script to C:\Program Files\Python23\Scripts
Installing easy_install.exe script to C:\Program Files\Python23\Scripts

Installed c:\program files\python23\lib\site-packages\setuptools-0.6a9dev_r41630
-py2.3.egg
Processing dependencies for setuptools==0.6a9dev-r41630

On 12/6/05, m h <[EMAIL PROTECTED]> wrote:
Here's the output of setuptools==dev:

C:\Program Files\Python23\Scripts>easy_install-script.py setuptools==dev
Searching for setuptools==dev
Reading http://www.python.org/pypi/setuptools/
Reading http://peak.telecommunity.com/DevCenter/setuptools
Best match: setuptools dev
Downloading http://svn.python.org/projects/sandbox/trunk/setuptools/#egg=setupto
ols-dev
Doing subversion checkout from http://svn.python.org/projects/sandbox/trunk/setu
ptools/ to c:\docume~1\admini~1\locals~1\temp\easy_install--xr-3c\setuptools
Processing setuptools
Running setup.py -q bdist_egg --dist-dir c:\docume~1\admini~1\locals~1\temp\easy
_install--xr-3c\setuptools\egg-dist-tmp-7wvvqf
warning: manifest_maker: standard file not found: should have one of README, REA
DME.txt
Removing setuptools 0.6a9dev-r41617 from easy-install.pth file
Adding setuptools 0.6a9dev-r41630 to easy-install.pth file
Installing easy_install-script.py script to C:\Program Files\Python23\Scripts
error: c:\program files\python23\lib\site-packages\setuptools-0.6a9dev_r41617-py
2.3.egg\setuptools\cli.exe: No such file or directory

Is it complaining because it can't find a file that's supposed to be deleted?

On 12/6/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
m h wrote:
I don't recall any strange error message.  Ummm, what is the best way
to "uninstall" and start over?  Just delete the egg directories?
Yes.  But ez_setup/easy_install will overwrite the eggs and ignore
older ones anyway, so there's no need to manually delete them.

Anything else?  Or would you recommend another route?
No; I'd suggest reinstalling using 'ez_setup.py setuptools==dev'.  Then
we can check and see if your installation has the cli.exe file.  If the
problem persists, I'll have to figure out some other way to proceed
with debugging this.  When I install setuptools on my own machine, this
problem doesn't occur.



Reply via email to