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
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.
FYI, Distribute can be found here: http://pypi.python.org/pypi/distribute
Installation instructions can also be found on that page.
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.
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.
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.
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
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
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
Try this:
$ sudo easy_install python-graph-core
And, optionally:
$ sudo easy_install python-graph-dot