wting / python-graph

Automatically exported from code.google.com/p/python-graph
Other
5 stars 3 forks source link

install with 'easy_install' or 'setup.py install' fails; there is no setup.py file in the root directory. #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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\__ini
t__.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\__ini
t__.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\__ini
t__.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
"

Original issue reported on code.google.com by tedesco....@gmail.com on 10 Oct 2009 at 3:35

GoogleCodeExporter commented 9 years ago
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.

Original comment by salimfadhley@gmail.com on 11 Oct 2009 at 10:03

GoogleCodeExporter commented 9 years ago
FYI, Distribute can be found here: http://pypi.python.org/pypi/distribute

Installation instructions can also be found on that page.

Original comment by salimfadhley@gmail.com on 11 Oct 2009 at 10:09

GoogleCodeExporter commented 9 years ago
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.

Original comment by sd2...@gmail.com on 13 Oct 2009 at 4:35

GoogleCodeExporter commented 9 years ago
I'll fix the docs. Thank you for your report.

Original comment by pmatiello on 13 Oct 2009 at 4:39

GoogleCodeExporter commented 9 years ago
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.

Original comment by salimfadhley@gmail.com on 13 Oct 2009 at 4:49

GoogleCodeExporter commented 9 years ago
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

Original comment by pmatiello on 14 Oct 2009 at 1:00

GoogleCodeExporter commented 9 years ago
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

Original comment by singh.da...@gmail.com on 10 Nov 2009 at 6:25

GoogleCodeExporter commented 9 years ago
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

Original comment by salimfadhley@gmail.com on 10 Nov 2009 at 6:48

GoogleCodeExporter commented 9 years ago
Try this:

$ sudo easy_install python-graph-core

And, optionally:

$ sudo easy_install python-graph-dot

Original comment by pmatiello on 10 Nov 2009 at 7:20

GoogleCodeExporter commented 9 years ago
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-grap
h-1.8.2.zip
However
> easy_install python-graph-core
and
> easy_install python-graph-dot
both succeed.

Original comment by cctem...@gmail.com on 21 Sep 2012 at 5:20