[SciPy-User] scikits.timeseries installation

David Kim dkdropbox@gmail....
Mon Apr 5 13:26:44 CDT 2010


Hello,

I am trying to install scikits.timeseries on Leopard 10.6.3. Running into
some problems and unfortunately I lack the experience to know where to look.
If anyone can point me in the right direction, i'd appreciate it. I've
included error messages from attempting easy_install, pip install, python
setup.py install, and an attempt to import scikits.timeseries into ipython
(as it looks like the egg made it into site packages). Thanks.

easy_install yields the following error:

Sat Apr 03 DK ~$ easy_install scikits.timeseries
Searching for scikits.timeseries
Reading http://pypi.python.org/simple/scikits.timeseries/
Reading http://pytseries.sourceforge.net
Reading https://sourceforge.net/project/showfiles.php?group_id=239604
No local packages or download links found for scikits.timeseries
error: Could not find suitable distribution for
Requirement.parse('scikits.timeseries')

pip install yields the following error:

Sat Apr 03 DK ~$ pip install scikits.timeseries
Downloading/unpacking scikits.timeseries
Could not find any downloads that satisfy the requirement scikits.timeseries
No distributions at all found for scikits.timeseries
Storing complete log in ./pip-log.txt

python setup.py install from tar yields the following (long):

Sat Apr 03 DK scikits.timeseries-0.91.3$ python setup.py install
running install
running bdist_egg
running egg_info
running build_src
build_src
building extension "scikits.timeseries.cseries" sources
building data_files sources
build_src: building npy-pkg config files
writing requirements to scikits.timeseries.egg-info/requires.txt
writing scikits.timeseries.egg-info/PKG-INFO
writing namespace_packages to
scikits.timeseries.egg-info/namespace_packages.txt
writing top-level names to scikits.timeseries.egg-info/top_level.txt
writing dependency_links to scikits.timeseries.egg-info/dependency_links.txt
reading manifest file 'scikits.timeseries.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching
'scikits/timeseries/doc/source/generated'
no previously-included directories found matching
'scikits/timeseries/doc/build'
writing manifest file 'scikits.timeseries.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.5-i386/egg
running install_lib
running build_py
creating build
creating build/lib.macosx-10.5-i386-2.6
creating build/lib.macosx-10.5-i386-2.6/scikits
copying ./scikits/__init__.py -> build/lib.macosx-10.5-i386-2.6/scikits
creating build/lib.macosx-10.5-i386-2.6/scikits/timeseries
copying scikits/timeseries/__init__.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries
copying scikits/timeseries/_preview.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries
copying scikits/timeseries/_tools.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries
copying scikits/timeseries/const.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries
copying scikits/timeseries/extras.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries
copying scikits/timeseries/parser.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries
copying scikits/timeseries/setup.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries
copying scikits/timeseries/tdates.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries
copying scikits/timeseries/trecords.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries
copying scikits/timeseries/tseries.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries
copying scikits/timeseries/version.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries
creating build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib
copying scikits/timeseries/lib/__init__.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib
copying scikits/timeseries/lib/avcf.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib
copying scikits/timeseries/lib/interpolate.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib
copying scikits/timeseries/lib/moving_funcs.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib
copying scikits/timeseries/lib/plotlib.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib
copying scikits/timeseries/lib/reportlib.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib
copying scikits/timeseries/lib/tstables.py ->
build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'scikits.timeseries.cseries' extension
compiling C sources
C compiler: gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3
-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-I/Library/Frameworks/Python.framework/Versions/6.1/include

creating build/temp.macosx-10.5-i386-2.6
creating build/temp.macosx-10.5-i386-2.6/scikits
creating build/temp.macosx-10.5-i386-2.6/scikits/timeseries
creating build/temp.macosx-10.5-i386-2.6/scikits/timeseries/src
compile options:
'-I/Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages/numpy/core/include/numpy
-Iscikits/timeseries/include
-I/Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages/numpy/core/include
-I/Library/Frameworks/Python.framework/Versions/6.1/include/python2.6 -c'
gcc: scikits/timeseries/src/c_dates.c
gcc: scikits/timeseries/src/cseries.c
gcc: scikits/timeseries/src/c_lib.c
gcc: scikits/timeseries/src/c_tseries.c
gcc -g -L/usr/local/lib
-L/Library/Frameworks/Python.framework/Versions/6.1/lib -bundle -undefined
dynamic_lookup -arch i386
build/temp.macosx-10.5-i386-2.6/scikits/timeseries/src/c_lib.o
build/temp.macosx-10.5-i386-2.6/scikits/timeseries/src/c_dates.o
build/temp.macosx-10.5-i386-2.6/scikits/timeseries/src/c_tseries.o
build/temp.macosx-10.5-i386-2.6/scikits/timeseries/src/cseries.o -o
build/lib.macosx-10.5-i386-2.6/scikits/timeseries/cseries.so
running scons
creating build/bdist.macosx-10.5-i386
creating build/bdist.macosx-10.5-i386/egg
creating build/bdist.macosx-10.5-i386/egg/scikits
copying build/lib.macosx-10.5-i386-2.6/scikits/__init__.py ->
build/bdist.macosx-10.5-i386/egg/scikits
creating build/bdist.macosx-10.5-i386/egg/scikits/timeseries
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/__init__.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/_preview.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/_tools.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/const.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/cseries.so ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/extras.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries
creating build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib/__init__.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib/avcf.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib/interpolate.py
-> build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib
copying
build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib/moving_funcs.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib/plotlib.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib/reportlib.py
-> build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/lib/tstables.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/parser.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/setup.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/tdates.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/trecords.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/tseries.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries
copying build/lib.macosx-10.5-i386-2.6/scikits/timeseries/version.py ->
build/bdist.macosx-10.5-i386/egg/scikits/timeseries
byte-compiling build/bdist.macosx-10.5-i386/egg/scikits/__init__.py to
__init__.pyc
byte-compiling
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/__init__.py to
__init__.pyc
byte-compiling
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/_preview.py to
_preview.pyc
byte-compiling build/bdist.macosx-10.5-i386/egg/scikits/timeseries/_tools.py
to _tools.pyc
byte-compiling build/bdist.macosx-10.5-i386/egg/scikits/timeseries/const.py
to const.pyc
byte-compiling build/bdist.macosx-10.5-i386/egg/scikits/timeseries/extras.py
to extras.pyc
byte-compiling
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib/__init__.py to
__init__.pyc
byte-compiling
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib/avcf.py to avcf.pyc
byte-compiling
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib/interpolate.py to
interpolate.pyc
byte-compiling
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib/moving_funcs.py to
moving_funcs.pyc
byte-compiling
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib/plotlib.py to
plotlib.pyc
byte-compiling
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib/reportlib.py to
reportlib.pyc
byte-compiling
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/lib/tstables.py to
tstables.pyc
byte-compiling build/bdist.macosx-10.5-i386/egg/scikits/timeseries/parser.py
to parser.pyc
byte-compiling build/bdist.macosx-10.5-i386/egg/scikits/timeseries/setup.py
to setup.pyc
byte-compiling build/bdist.macosx-10.5-i386/egg/scikits/timeseries/tdates.py
to tdates.pyc
byte-compiling
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/trecords.py to
trecords.pyc
byte-compiling
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/tseries.py to
tseries.pyc
byte-compiling
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/version.py to
version.pyc
creating stub loader for scikits/timeseries/cseries.so
byte-compiling
build/bdist.macosx-10.5-i386/egg/scikits/timeseries/cseries.py to
cseries.pyc
installing package data to build/bdist.macosx-10.5-i386/egg
running install_data
running install_clib
customize UnixCCompiler
creating build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying scikits.timeseries.egg-info/PKG-INFO ->
build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying scikits.timeseries.egg-info/SOURCES.txt ->
build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying scikits.timeseries.egg-info/dependency_links.txt ->
build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying scikits.timeseries.egg-info/namespace_packages.txt ->
build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying scikits.timeseries.egg-info/requires.txt ->
build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying scikits.timeseries.egg-info/top_level.txt ->
build/bdist.macosx-10.5-i386/egg/EGG-INFO
writing build/bdist.macosx-10.5-i386/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
scikits.timeseries.version: module references __file__
creating dist
creating 'dist/scikits.timeseries-0.91.3-py2.6-macosx-10.5-i386.egg' and
adding 'build/bdist.macosx-10.5-i386/egg' to it
removing 'build/bdist.macosx-10.5-i386/egg' (and everything under it)
Processing scikits.timeseries-0.91.3-py2.6-macosx-10.5-i386.egg
creating
/Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages/scikits.timeseries-0.91.3-py2.6-macosx-10.5-i386.egg
Extracting scikits.timeseries-0.91.3-py2.6-macosx-10.5-i386.egg to
/Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages
Adding scikits.timeseries 0.91.3 to easy-install.pth file

Installed
/Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages/scikits.timeseries-0.91.3-py2.6-macosx-10.5-i386.egg
Processing dependencies for scikits.timeseries==0.91.3
Searching for numpy==1.4.0
Best match: numpy 1.4.0
Adding numpy 1.4.0 to easy-install.pth file
No files installed.

Using
/Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages
Finished processing dependencies for scikits.timeseries==0.91.3

I get the following traceback when attempting to import into ipython:

In [1]: import scikits.timeseries as ts
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/Library/Frameworks/Python.framework/Versions/6.1/LOCAL-REPO/scikits.timeseries-0.91.3/<ipython
console> in <module>()

/Library/Frameworks/Python.framework/Versions/6.1/LOCAL-REPO/scikits.timeseries-0.91.3/scikits/timeseries/__init__.py
in <module>()
     11 __date__     = '$Date: 2009-08-23 12:43:40 -0400 (Sun, 23 Aug 2009)
$'
     12
---> 13 import const
     14 import tdates
     15 from tdates import *

/Library/Frameworks/Python.framework/Versions/6.1/LOCAL-REPO/scikits.timeseries-0.91.3/scikits/timeseries/const.py
in <module>()
     77 __date__     = '$Date: 2008-06-18 21:42:59 -0400 (Wed, 18 Jun 2008)
$'
     78
---> 79 from cseries import freq_constants
     80
     81 """add constants in cseries.freq_constants dictionary to global
namespace

ImportError: No module named cseries

In [2]: import numpy as np

In [3]: import numpy.ma as ma

In [4]: import datetime

In [5]: import scikits.timeseries as ts
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/Library/Frameworks/Python.framework/Versions/6.1/LOCAL-REPO/scikits.timeseries-0.91.3/<ipython
console> in <module>()

/Library/Frameworks/Python.framework/Versions/6.1/LOCAL-REPO/scikits.timeseries-0.91.3/scikits/timeseries/__init__.py
in <module>()
     11 __date__     = '$Date: 2009-08-23 12:43:40 -0400 (Sun, 23 Aug 2009)
$'
     12
---> 13 import const
     14 import tdates
     15 from tdates import *

/Library/Frameworks/Python.framework/Versions/6.1/LOCAL-REPO/scikits.timeseries-0.91.3/scikits/timeseries/const.py
in <module>()
     77 __date__     = '$Date: 2008-06-18 21:42:59 -0400 (Wed, 18 Jun 2008)
$'
     78
---> 79 from cseries import freq_constants
     80
     81 """add constants in cseries.freq_constants dictionary to global
namespace

ImportError: No module named cseries








-- 
David Kim
notestoself.posterous.com

"I hear and I forget. I see and I remember. I do and I understand." --
 Confucius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20100405/2ad727be/attachment-0001.html 


More information about the SciPy-User mailing list