[PEAK] test_trellis.py -- ImportError: cannot import name symbols

j. vickroy jgv-home at comcast.net
Sat Feb 9 08:56:45 EST 2008

Hello all,

I am unable to try trellis on my MS Windows XP Pro computer running 
python 2.5.

The attached screen capture (jv-console-session.txt), hopefully, shows 
the state of my installation.

Any ideas on how to proceed?

-- jv
-------------- next part --------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\jim.vickroy\My Documents\Projects>easy_install http://svn.eby-sarna.com/Contextual.tar.gz?view=tar
Downloading http://svn.eby-sarna.com/Contextual.tar.gz?view=tar
Processing Contextual.tar.gz
Running Contextual\setup.py -q bdist_egg --dist-dir c:\docume~1\jim~1.vic\locals~1\temp\easy_install-mjjnwf\Contextual\egg-dist-tmp-9yzqzy
zip_safe flag not set; analyzing archive contents...
contextual 0.7a1.dev is already the active version in easy-install.pth

Installed c:\python25\lib\site-packages\contextual-0.7a1.dev-py2.5.egg
Processing dependencies for contextual==0.7a1.dev
Finished processing dependencies for contextual==0.7a1.dev

C:\Documents and Settings\jim.vickroy\My Documents\Projects>easy_install Trellis
Searching for Trellis
Best match: Trellis 0.6a1
Processing trellis-0.6a1-py2.5.egg
trellis 0.6a1 is already the active version in easy-install.pth

Using c:\python25\lib\site-packages\trellis-0.6a1-py2.5.egg
Processing dependencies for Trellis
Searching for Contextual==dev,>=0.7a1dev-r2410
Reading http://pypi.python.org/simple/Contextual/
Best match: Contextual dev
Doing subversion checkout from svn://svn.eby-sarna.com/svnroot/Contextual to c:\docume~1\jim~1.vic\locals~1\temp\easy_install-gi1_dv\Contextual#egg=Contextual-dev
'svn' is not recognized as an internal or external command,
operable program or batch file.
Processing Contextual#egg=Contextual-dev
error: Couldn't find a setup script in c:\docume~1\jim~1.vic\locals~1\temp\easy_install-gi1_dv\Contextual#egg=Contextual-dev

C:\Documents and Settings\jim.vickroy\My Documents\Projects>cd Trellis-0.6a1

C:\Documents and Settings\jim.vickroy\My Documents\Projects\Trellis-0.6a1>dir
 Volume in drive C has no label.
 Volume Serial Number is 5836-9865

 Directory of C:\Documents and Settings\jim.vickroy\My Documents\Projects\Trellis-0.6a1

02/09/2008  05:08 AM    <DIR>          .
02/09/2008  05:08 AM    <DIR>          ..
01/04/2008  08:34 PM            31,933 Activity.txt
02/02/2008  06:44 PM    <DIR>          build
01/07/2008  03:54 PM             8,560 Collections.txt
02/02/2008  06:44 PM    <DIR>          dist
02/02/2008  06:43 PM    <DIR>          ez_setup
01/04/2008  09:12 PM            27,915 Internals.txt
02/02/2008  06:44 PM    <DIR>          peak
01/07/2008  05:42 PM             6,947 PKG-INFO
01/07/2008  04:03 PM            82,138 README.txt
01/07/2008  05:42 PM                64 setup.cfg
12/21/2007  12:17 PM             1,299 setup.py
02/02/2008  06:44 PM           322,831 setuptools-0.6c7-py2.5.egg
01/07/2008  05:37 PM            22,900 STM-Observer.txt
11/02/2007  06:39 PM             7,093 testreactor.py
11/27/2007  07:41 PM            24,107 test_sets.py
02/09/2008  05:08 AM            45,720 test_sets.pyc
01/07/2008  05:35 PM            40,121 test_trellis.py
02/02/2008  06:41 PM    <DIR>          Trellis.egg-info
12/21/2007  12:11 PM             6,946 _threading_local.py
              14 File(s)        628,574 bytes
               7 Dir(s)  11,129,634,816 bytes free

C:\Documents and Settings\jim.vickroy\My Documents\Projects\Trellis-0.6a1>test_trellis.py
Traceback (most recent call last):
  File "C:\Documents and Settings\jim.vickroy\My Documents\Projects\Trellis-0.6a1\test_trellis.py", line 1, in <module>
    from test_sets import *
  File "C:\Documents and Settings\jim.vickroy\My Documents\Projects\Trellis-0.6a1\test_sets.py", line 4, in <module>
    from peak.events.trellis import Set
  File "C:\Documents and Settings\jim.vickroy\My Documents\Projects\Trellis-0.6a1\peak\events\trellis.py", line 3, in <module>
    from peak.util import symbols, addons, decorators
ImportError: cannot import name symbols

C:\Documents and Settings\jim.vickroy\My Documents\Projects\Trellis-0.6a1>

More information about the PEAK mailing list