many thanks everybody for your help
Simon's advice sorted out my problem which was really simple.
I had a test python file named pyramid.py so there was a namespace
conflict I guess
Armen

On Mar 10, 10:12 pm, Simon King <si...@simonking.org.uk> wrote:
> Sorry, that should have been __file__ instead of __path__
>
> On Mar 10, 7:51 pm, Simon King <si...@simonking.org.uk> wrote:
>
>
>
> > Do you perhaps have another python package called 'pyramid' somewhere on 
> > your path (such as a test app)? Try putting the following before the line 
> > that is generating the error:
>
> > import pyramid
> > print pyramid.__path__
>
> > Simon
>
> > On 10 Mar 2011, at 12:46, Sebastian Zwack <sebastian.zw...@googlemail.com> 
> > wrote:
>
> > > Also note that if you didn't use --no-site-packages with virtualenv
> > > the global packages are used.
> > > Which should work if you installed it there as you said though.
>
> > > On 10 Mrz., 13:40, Chris McDonough <chr...@plope.com> wrote:
> > >> My only guess is that you're not using the virtualenv "paster" or
> > >> "python" when you're trying to start the application.
>
> > >> On Wed, 2011-03-09 at 00:16 -0800, armen wrote:
> > >>> Dear community,
>
> > >>> I am  new to pyramid, I followed the installation steps as described
> > >>> in pyramid 1.0 documentation, but when I try to run the example of
> > >>> paragraph 4.1 I get the following error:
>
> > >>> from pyramid.config import Configurator
> > >>> ImportError: No module named config
>
> > >>> I think pyramid is properly installed in my system as when I type
> > >>> "from pyramid.config import Configurator" from within the python shell
> > >>> it works. Additionally,  help("modules") command returns a list in
> > >>> which pyramid is included.
> > >>> Thank you in advance for your help
>
> > > --
> > > 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 
> > > athttp://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