On Thu, 2011-09-01 at 13:11 -0700, Siddhartha Kasivajhula wrote:
> Thanks guys, I was able to get it running using those instructions.
> 
> 
> Though, while working through those I realized that I'd never
> "activated" my virtualenv during my initial install attempt --  are
> the instructions missing that step?
> 
> 
> link:
> https://docs.pylonsproject.org/projects/pyramid/1.2/narr/install.html#installing-pyramid-on-a-unix-system
> 
> $ cd env
> $ bin/easy_install pyramid
> 
> 
> (should there be a "$ source bin/activate" in between those two?)

Not required, no.

> 
> 
> I just tried doing that and it appears to be working now using the
> original instructions.

Don't really understand that, but glad you got it going.

- C


> 
> 
> Thanks!
> -Sid
> 
> 
> 
> On Thu, Sep 1, 2011 at 12:57 AM, Steve Piercy
> <steve.piercy....@gmail.com> wrote:
>         This one may be helpful too:
>         
> https://docs.pylonsproject.org/projects/pyramid_cookbook/dev/mac_install.html
>         
>         You are welcome to update the instructions for 10.4.
>         
>         --steve
>         
>         
>         On 8/31/11 at 11:21 PM, ja...@misterm.org (James Murty)
>         pronounced:
>         
>         
>         > I have come across similar problems compiling Python
>         libraries on OS
>         > X, caused by not having the "Mac OS X 10.4 Support"
>         libraries
>         > installed (they're optional in X-Code) and by the Mac's
>         version of GCC
>         > being incompatible with some code.
>         >
>         > This blog post might give you some pointers:
>         >
>         
> http://www.jamesmurty.com/2011/01/29/work-around-osx-lipo-figure-out-architecture-type
>         > /
>         >
>         > FWIW a clean install on OS X 10.7 (Lion) caused no problems.
>         >
>         > James
>         >
>         >
>         > On Aug 31, 11:41 am, Siddhartha Kasivajhula
>         <countvajh...@gmail.com>
>         > wrote:
>         > > Hi all,
>         > > I'm new to Pyramid, and let me say first that it looks
>         really cool and I've
>         > > been meaning to try it for a while :).
>         > > I was going through the documentation on installation and
>         the hello world
>         > > app, and I ran into this error message while trying to run
>         helloworld:
>         > >
>         > > siddhartha:apps-110-$python hellopyr.py
>         > > Traceback (most recent call last):
>         > >   File "hellopyr.py", line 2, in <module>
>         > >     from pyramid.configuration import Configurator
>         > >   File
>         > >
>         
> "/Library/Python/2.6/site-packages/pyramid-1.0-py2.6.egg/pyramid/configurat 
> ion.py",
>         > > line 1, in <module>
>         > >     from pyramid.config import Configurator as
>         BaseConfigurator
>         > >   File
>         > >
>         
> "/Library/Python/2.6/site-packages/pyramid-1.0-py2.6.egg/pyramid/config.py" ,
>         > > line 12, in <module>
>         > >     from zope.configuration.config import
>         GroupingContextDecorator
>         > >   File
>         > >
>         
> "/Library/Python/2.6/site-packages/zope.configuration-3.7.4-py2.6.egg/zope/
>         > configuration/config.py",
>         > > line 23, in <module>
>         > >     import zope.schema
>         > >   File
>         > >
>         
> "/Library/Python/2.6/site-packages/zope.schema-3.8.0-py2.6.egg/zope/schema/
>         > __init__.py",
>         > > line 16, in <module>
>         > >     from zope.schema._field import Field, Container,
>         Iterable, Orderable
>         > >   File
>         > >
>         
> "/Library/Python/2.6/site-packages/zope.schema-3.8.0-py2.6.egg/zope/schema/
>         > _field.py",
>         > > line 24, in <module>
>         > >     from zope.interface import classImplements,
>         implements, Interface
>         > > ImportError: No module named interface
>         > >
>         > > I installed virtualenv, my python version is:
>         > > $python --version
>         > > Python 2.6.1
>         > >
>         > > Looking back at the logs from 'bin/easy_install pyramid',
>         I see this:
>         > >
>         > > Running zope.interface-3.7.0/setup.py -q bdist_egg
>         --dist-dir
>         > > /var/folders/L6/L6RbbV+NGBaO6JGa905AKE
>         +++TI/-Tmp-/easy_install-Zl0QT1/zope.
>         > interface-3.7.0/egg-dist-tmp-gOf2zE
>         > > /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as:
>         assembler
>         > > (/usr/bin/../libexec/gcc/darwin/ppc/as or
>         > > /usr/bin/../local/libexec/gcc/darwin/ppc/as) for
>         architecture ppc not
>         > > installed
>         > > Installed assemblers are:
>         > > /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture
>         x86_64
>         > > /usr/bin/../libexec/gcc/darwin/i386/as for architecture
>         i386
>         > > src/zope/interface/_zope_interface_coptimizations.c:1676:
>         fatal error: error
>         > > writing to -: Broken pipe
>         > > compilation terminated.
>         > > lipo: can't open input file:
>         > > /var/folders/L6/L6RbbV+NGBaO6JGa905AKE
>         +++TI/-Tmp-//ccJe3vOi.out (No such
>         > > file or directory)
>         > >
>         
> *************************************************************************** 
> *****
>         > > WARNING:
>         > >
>         > >         An optional code optimization (C extension) could
>         not be compiled.
>         > >
>         > >         Optimizations for this package will not be
>         available!
>         > >
>         > > command 'gcc-4.2' failed with exit status 1
>         > >
>         
> *************************************************************************** 
> *****
>         > >
>         > > ...
>         > >
>         > > I also saw a few other messages like this but looks like
>         it ultimately
>         > > completes the install successfully despite these warnings.
>         > >
>         > > Do you know what the problem may be?
>         > >
>         > > Thanks,
>         > > -Sid
>         >
>         
>         --
>         You received this message because you are subscribed to the
>         Google Groups "pylons-devel" group.
>         To post to this group, send email to
>         pylons-devel@googlegroups.com.
>         To unsubscribe from this group, send email to pylons-devel
>         +unsubscr...@googlegroups.com.
>         For more options, visit this group at
>         http://groups.google.com/group/pylons-devel?hl=en.
>         
>         
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "pylons-devel" group.
> To post to this group, send email to pylons-devel@googlegroups.com.
> To unsubscribe from this group, send email to pylons-devel
> +unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-devel?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to