pombreda / pysal

Automatically exported from code.google.com/p/pysal
Other
0 stars 0 forks source link

PIP setup script broken? #196

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sudo pip install pysal
2. Downloading/unpacking pysal
  Downloading pysal-1.3.0-docs.zip (1.1Mb): 1.1Mb downloaded
  Running setup.py egg_info for package pysal
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
    IOError: [Errno 2] No such file or directory: '/Users/maye/Data/ctx/inca_city/build/pysal/setup.py'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

IOError: [Errno 2] No such file or directory: 
'/Users/maye/Data/ctx/inca_city/build/pysal/setup.py'

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /Users/maye/.pip/pip.log

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
((unknown))[maye@paradigm ~/Data/ctx/inca_city]$ which python
/Library/Frameworks/Python.framework/Versions/Current/bin/python
Current=EPD7.2-2 (32-bit)
on Mac OSX 10.7.3

Original issue reported on code.google.com by kmichael...@gmail.com on 27 Feb 2012 at 12:04

GoogleCodeExporter commented 9 years ago
Cannot reproduce. 

Not sure why the docs are being pulled down from PyPi via pip here. I just 
confirmed installation works via pip from a python virtualenv (virtual 
environment).  Transcript below.

➜  test-pip  virtualenv .               
New python executable in ./bin/python
Installing setuptools............done.
Installing pip...............done.
➜  test-pip  ls
bin     include lib
➜  test-pip  source bin/activate
(test-pip)➜  ~VIRTUAL_ENV  ls
bin     include lib
(test-pip)➜  ~VIRTUAL_ENV  python
Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> import pysal
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named pysal
>>> import scipy
>>> 
(test-pip)➜  ~VIRTUAL_ENV  pip install pysal
Downloading/unpacking pysal
  Downloading pysal-1.3.0.tar.gz (4.5Mb): 4.5Mb downloaded
  Running setup.py egg_info for package pysal

    package init file 'pysal/core/util/tests/__init__.py' not found (or not a regular file)
    package init file 'pysal/spreg/tests/__init__.py' not found (or not a regular file)
    warning: manifest_maker: MANIFEST.in, line 3: 'recursive-include' expects <dir> <pattern1> <pattern2> ...

Installing collected packages: pysal
  Running setup.py install for pysal
    package init file 'pysal/core/util/tests/__init__.py' not found (or not a regular file)
    package init file 'pysal/spreg/tests/__init__.py' not found (or not a regular file)

    warning: manifest_maker: MANIFEST.in, line 3: 'recursive-include' expects <dir> <pattern1> <pattern2> ...

Successfully installed pysal
Cleaning up...
(test-pip)➜  ~VIRTUAL_ENV  pytho
zsh: correct 'pytho' to 'python' [nyae]? y
Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 
>>> import scipy
>>> import pysal
>>> pysal.open.check()
PySAL File I/O understands the following file extensions:
Ext: '.shp', Modes: ['r', 'wb', 'w', 'rb']
Ext: '.mtx', Modes: ['r', 'w']
Ext: '.swm', Modes: ['r', 'w']
Ext: '.mat', Modes: ['r', 'w']
Ext: '.shx', Modes: ['r', 'wb', 'w', 'rb']
Ext: '.stata_text', Modes: ['r', 'w']
Ext: '.geoda_txt', Modes: ['r']
Ext: '.dbf', Modes: ['r', 'w']
Ext: '.dat', Modes: ['r', 'w']
Ext: '.gwt', Modes: ['r', 'w']
Ext: '.gal', Modes: ['r', 'w']
Ext: '.arcgis_text', Modes: ['r', 'w']
Ext: '.arcgis_dbf', Modes: ['r', 'w']
Ext: '.geobugs_text', Modes: ['r', 'w']
Ext: '.wk1', Modes: ['r', 'w']
Ext: '.csv', Modes: ['r']
Ext: '.wkt', Modes: ['r']

Original comment by phil.stp...@gmail.com on 27 Feb 2012 at 7:37

GoogleCodeExporter commented 9 years ago

Original comment by phil.stp...@gmail.com on 9 Mar 2012 at 7:10

GoogleCodeExporter commented 9 years ago
kmichael, this install problem should be remedied as of 1.4.1.

Original comment by phil.stp...@gmail.com on 29 Jan 2013 at 8:39