Issue 37 in python-graph: install with 'easy_install' or 'setup.py install' fails; there is no setup.py file in the root directory.

14 views
Skip to first unread message

codesite...@google.com

unread,
Oct 10, 2009, 11:35:32 AM10/10/09
to python...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 37 by tedesco.joe: install with 'easy_install' or 'setup.py
install' fails; there is no setup.py file in the root directory.
http://code.google.com/p/python-graph/issues/detail?id=37

What steps will reproduce the problem?
1. Unzip python-graph-1.6.2.zip
2. cd to .\python-graph-1.6.2
3. type 'easy_install'

What is the expected output? What do you see instead?
Expect installation of the package.
Instead get error message:
"[I:\_498.22=INCOMMON_DLOADS\PYTHON_DLOADS]easy_install python-graph
Retrieved config from: C:\Documents and Settings\Administrator\enstaller.ini
Searching for python-graph
Reading http://pypi.python.org/simple/python-graph/
Reading http://code.google.com/p/python-graph/
Reading http://code.google.com/p/python-graph/downloads/list
Best match: python-graph 1.6.2
Downloading http://python-graph.googlecode.com/files/python-graph-1.6.2.zip
Processing python-graph-1.6.2.zip
error: Couldn't find a setup script in
c:\docume~1\admini~1\locals~1\temp\easy_install-zxdygz\python-graph-1.6.2.zip"

What version of the product are you using? On what operating system?
python-graph-1.6.2 on python 2.5 on a Windows XP platform with lots of
previously loaded packages in f:\python25\lib\site-packages.

Please provide any additional information below.
Also tried to run setup.py files from the \core and \dot subdirectories.
Error messages indicated 'NameError: name 'ssl' is not defined'
e.g.
"[I:\_498.22=INCOMMON_DLOADS\PYTHON_DLOADS\python-graph-1.6.2\core]setup.py
install
Traceback (most recent call last):
File
"I:\_498.22=INCOMMON_DLOADS\PYTHON_DLOADS\python-graph-1.6.2\core\setup.py",
line
11, in <module>
ez_setup.use_setuptools()
File
"I:\_498.22=INCOMMON_DLOADS\PYTHON_DLOADS\python-graph-1.6.2\core\ez_setup\__init__.py",
line 95, in use_setuptools
return do_download()
File
"I:\_498.22=INCOMMON_DLOADS\PYTHON_DLOADS\python-graph-1.6.2\core\ez_setup\__init__.py",
line 89, in do_download
egg = download_setuptools(version, download_base, to_dir,
download_delay)
File
"I:\_498.22=INCOMMON_DLOADS\PYTHON_DLOADS\python-graph-1.6.2\core\ez_setup\__init__.py",
line 124, in download_setupto
ols
import urllib2, shutil
File "F:\python25\lib\urllib2.py", line 92, in <module>
import httplib
File "F:\python25\lib\httplib.py", line 71, in <module>
import socket
File "F:\python25\lib\socket.py", line 70, in <module>
_realssl = ssl
NameError: name 'ssl' is not defined
"

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Oct 11, 2009, 6:04:25 AM10/11/09
to python...@googlegroups.com

Comment #1 on issue 37 by salimfadhley: install with 'easy_install'
or 'setup.py install' fails; there is no setup.py file in the root
directory.
http://code.google.com/p/python-graph/issues/detail?id=37

I think you have your methods mixed up:

You either use the "easy_install" method which downloads all the components
you need
for you, or you download the zip files and attempt a manual install in
which case you
run the setup.py files.

You do one or the other, but not both. In either case you need to have
setuptools (or
preferably Distribute) installed on your computer.

I think you should grab and install Distribute or Setuptools, and then use
the easy
install command to get everything you need. Follow the install instructions
on the
home page.

codesite...@google.com

unread,
Oct 11, 2009, 6:10:26 AM10/11/09
to python...@googlegroups.com

Comment #2 on issue 37 by salimfadhley: install with 'easy_install'
or 'setup.py install' fails; there is no setup.py file in the root
directory.
http://code.google.com/p/python-graph/issues/detail?id=37

FYI, Distribute can be found here: http://pypi.python.org/pypi/distribute

Installation instructions can also be found on that page.

codesite...@google.com

unread,
Oct 13, 2009, 12:36:00 PM10/13/09
to python...@googlegroups.com

Comment #3 on issue 37 by sd2phx: install with 'easy_install' or 'setup.py
install' fails; there is no setup.py file in the root directory.
http://code.google.com/p/python-graph/issues/detail?id=37

I think this could all be dealt with by adding some simple directions on
the install
steps inside of python-graph-1.6.2.tar.bz2. You all have designed the
install
process really well, but it's not intuitive when you open up
python-graph-1.6.2.tar.bz2.

I ended up passing arguments to the makefile to get it to install
(basically trial
and error since I don't know how makefiles work). Again, the install
design seems
pretty clean, please just add a couple of lines on how to implement your
process.

I'm looking forward to using this library.

codesite...@google.com

unread,
Oct 13, 2009, 12:40:03 PM10/13/09
to python...@googlegroups.com
Updates:
Status: Accepted
Owner: pmatiello

Comment #4 on issue 37 by pmatiello: install with 'easy_install'

or 'setup.py install' fails; there is no setup.py file in the root
directory.
http://code.google.com/p/python-graph/issues/detail?id=37

I'll fix the docs. Thank you for your report.

codesite...@google.com

unread,
Oct 13, 2009, 12:50:16 PM10/13/09
to python...@googlegroups.com

Comment #5 on issue 37 by salimfadhley: install with 'easy_install'
or 'setup.py install' fails; there is no setup.py file in the root
directory.
http://code.google.com/p/python-graph/issues/detail?id=37

Can you confirm that you are now able to install? One good test would be to
run the
unit-tests. Assuming you installed the whole thing (with DOT dependancies)
all tests
shoud pass. If you installed everything except DOT then we might expect the
readwrite
tests to fail.

codesite...@google.com

unread,
Oct 13, 2009, 9:01:17 PM10/13/09
to python...@googlegroups.com
Updates:
Status: Fixed

Comment #6 on issue 37 by pmatiello: install with 'easy_install'

or 'setup.py install' fails; there is no setup.py file in the root
directory.
http://code.google.com/p/python-graph/issues/detail?id=37

I've just updated our README to document one installation path, so I'm
closing this
issue as fixed. If you still have any problems, please contact us at our
mailing list.

http://groups.google.com/group/python-graph

python...@googlecode.com

unread,
Nov 10, 2009, 1:26:37 PM11/10/09
to python...@googlegroups.com

Comment #7 on issue 37 by singh.darshan: install with 'easy_install'
or 'setup.py install' fails; there is no setup.py file in the root
directory.
http://code.google.com/p/python-graph/issues/detail?id=37

I can't get the easy install to work. What do I need to do?

$ sudo easy_install python-graph


Searching for python-graph
Reading http://pypi.python.org/simple/python-graph/
Reading http://code.google.com/p/python-graph/
Reading http://code.google.com/p/python-graph/downloads/list
Best match: python-graph 1.6.2
Downloading http://python-graph.googlecode.com/files/python-graph-1.6.2.zip
Processing python-graph-1.6.2.zip
error: Couldn't find a setup script in

/tmp/easy_install-a1mLK_/python-graph-1.6.2.zip

python...@googlecode.com

unread,
Nov 10, 2009, 1:51:45 PM11/10/09
to python...@googlegroups.com

Comment #8 on issue 37 by salimfadhley: install with 'easy_install'
or 'setup.py install' fails; there is no setup.py file in the root
directory.
http://code.google.com/p/python-graph/issues/detail?id=37

Darshan,

Could you refer to the installation instruictions on our project's home
page:
http://code.google.com/p/python-graph/

If this fails can you raise a new ticket (since this one is technically
closed).

Let me know if you have any more problems and we will be delighted to help.

Sal

python...@googlecode.com

unread,
Nov 10, 2009, 2:20:47 PM11/10/09
to python...@googlegroups.com

Comment #9 on issue 37 by pmatiello: install with 'easy_install'
or 'setup.py install' fails; there is no setup.py file in the root
directory.
http://code.google.com/p/python-graph/issues/detail?id=37

Try this:

$ sudo easy_install python-graph-core

And, optionally:

$ sudo easy_install python-graph-dot

python...@googlecode.com

unread,
Sep 21, 2012, 1:20:31 PM9/21/12
to python...@googlegroups.com

Comment #10 on issue 37 by cctem...@gmail.com: install with 'easy_install'
or 'setup.py install' fails; there is no setup.py file in the root
directory.
http://code.google.com/p/python-graph/issues/detail?id=37

On mac os 10.7, Python 2.7.1 (r271:86832, Aug 5 2011, 03:30:24)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on
darwin
> easy_install python-graph
errors with
> error: Couldn't find a setup script in
> /var/folders/3b/vmqrdfnn7857nbfxdlpw2w400000gn/T/easy_install-hWmbyK/python-graph-1.8.2.zip
However
> easy_install python-graph-core
and
> easy_install python-graph-dot
both succeed.


Reply all
Reply to author
Forward
0 new messages