incomplete installation

Bug #765712 reported by rosanna smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
statsmodels
Invalid
Undecided
Unassigned

Bug Description

this is probably not a bug, but i don't know where else to ask.

when i installed scikits.statsmodels, it appeared to install, with this message:

easy_install scikits.statsmodelsSearching for scikits.statsmodels
Best match: scikits.statsmodels 0.2.0
Processing scikits.statsmodels-0.2.0-py2.6.egg
scikits.statsmodels 0.2.0 is already the active version in easy-install.pth

Using /Library/Python/2.6/site-packages/scikits.statsmodels-0.2.0-py2.6.egg
Processing dependencies for scikits.statsmodels
Finished processing dependencies for scikits.statsmodels

but when i try to run code such as:

import scikits.statsmodels as sm

i get this message:

ImportError: No module named scikits.statsmodels

Can you direct me to documentation to show how to properly install sckkits.statsmodels?

Revision history for this message
Skipper Seabold (jsseabold) wrote :

Are you on a Mac? I don't use a Mac, so I can't say for sure. My first guess is that this could be a conflict between the Mac version of setuptools and the Python version. It is installed to your system Python maybe instead of the one you are trying to use? Can you confirm where it is easy_install'd to?

Revision history for this message
rosanna smith (rosanna-smith) wrote : Re: [Bug 765712] Re: incomplete installation

I gave up on the Mac and tried on a PC, but also cannot install it here.

Where can I find simple instructions for someone new to Python coding and
file structures?

On Tue, Apr 19, 2011 at 2:22 PM, Skipper Seabold <email address hidden>wrote:

> Are you on a Mac? I don't use a Mac, so I can't say for sure. My first
> guess is that this could be a conflict between the Mac version of
> setuptools and the Python version. It is installed to your system Python
> maybe instead of the one you are trying to use? Can you confirm where it
> is easy_install'd to?
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/765712
>
> Title:
> incomplete installation
>
> Status in scikits.statsmodels:
> New
>
> Bug description:
> this is probably not a bug, but i don't know where else to ask.
>
> when i installed scikits.statsmodels, it appeared to install, with
> this message:
>
> easy_install scikits.statsmodelsSearching for scikits.statsmodels
> Best match: scikits.statsmodels 0.2.0
> Processing scikits.statsmodels-0.2.0-py2.6.egg
> scikits.statsmodels 0.2.0 is already the active version in
> easy-install.pth
>
> Using
> /Library/Python/2.6/site-packages/scikits.statsmodels-0.2.0-py2.6.egg
> Processing dependencies for scikits.statsmodels
> Finished processing dependencies for scikits.statsmodels
>
> but when i try to run code such as:
>
> import scikits.statsmodels as sm
>
> i get this message:
>
> ImportError: No module named scikits.statsmodels
>
> Can you direct me to documentation to show how to properly install
> sckkits.statsmodels?
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/statsmodels/+bug/765712/+subscribe
>

Revision history for this message
Skipper Seabold (jsseabold) wrote :

easy_install is about as simple as it gets. I need some more information about what how exactly you tried to do it on the PC and what happens. Do you mind posting to the mailing list? I am in the middle of finals week and someone else may be able to help you out faster on both PC and Mac.

https://groups.google.com/group/pystatsmodels?hl=en&pli=1

Revision history for this message
Wes McKinney (wesmckinn) wrote :

Judging by the Mac output, you are using the pre-installed Mac Python. I definitely recommend installing the Python from python.org or the Enthought Python Distribution (www.enthought.com) and trying again-- if you install Python fresh from Python.org, you will need to install setuptools, NumPy, SciPy, etc. as well.

Revision history for this message
Skipper Seabold (jsseabold) wrote :

Marked as invalid, but I'd like to have some confirmation that easy_install works on Mac. There's no reason it shouldn't though.

Changed in statsmodels:
status: New → Invalid
Revision history for this message
Wes McKinney (wesmckinn) wrote :

It does (I run both Mac and Linux). I suspect her problem was a conflict between the Apple Python (bundled with OS X) and python.org python or something else. Basically easy_install put it in the site-packages of the wrong Python.

Revision history for this message
Skipper Seabold (jsseabold) wrote :

Thanks. Didn't know you were on Mac as well. Good to know.

Revision history for this message
rosanna smith (rosanna-smith) wrote :

thanks to all for the feedback, despite this clearly being user incompetance
rather than a bug. I don't really understand the problem still, so am
switching to do this on a PC instead.

On Tue, Apr 19, 2011 at 8:19 PM, Skipper Seabold <email address hidden>wrote:

> Thanks. Didn't know you were on Mac as well. Good to know.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/765712
>
> Title:
> incomplete installation
>
> Status in scikits.statsmodels:
> Invalid
>
> Bug description:
> this is probably not a bug, but i don't know where else to ask.
>
> when i installed scikits.statsmodels, it appeared to install, with
> this message:
>
> easy_install scikits.statsmodelsSearching for scikits.statsmodels
> Best match: scikits.statsmodels 0.2.0
> Processing scikits.statsmodels-0.2.0-py2.6.egg
> scikits.statsmodels 0.2.0 is already the active version in
> easy-install.pth
>
> Using
> /Library/Python/2.6/site-packages/scikits.statsmodels-0.2.0-py2.6.egg
> Processing dependencies for scikits.statsmodels
> Finished processing dependencies for scikits.statsmodels
>
> but when i try to run code such as:
>
> import scikits.statsmodels as sm
>
> i get this message:
>
> ImportError: No module named scikits.statsmodels
>
> Can you direct me to documentation to show how to properly install
> sckkits.statsmodels?
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/statsmodels/+bug/765712/+subscribe
>

Revision history for this message
Skipper Seabold (jsseabold) wrote :

Macs ship with their own version of Python, but I am guessing that you have another version of Python installed. The problem is most likely that when you easy_install something, it installs to a different version of Python than when you are just running Python. Let us know on the mailing list if you have any further problems.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.