On Wed, Dec 28, 2011 at 11:35 PM, sri <devanasrika...@gmail.com> wrote:
> Hi,
>
>   I am trying to learn pyramid and came to the installation page
> mentioned in the 
> http://docs.pylonsproject.org/projects/pyramid/en/1.2-branch/tutorials/wiki2/installation.html.
>   And when i am trying to run "bin/paster create -t
> pyramid_routesalchemy tutorial" after installing the pyramid, i am
> getting an error that paster module is not found.
>   Below are the steps i have followed for installing pyramid :
>
>   1) cd /users/sreekanth
>   2) sudo easy_install virtualenv
>   3) virtualenv --no-site-packages pyramidtut
>   4) cd pyramidtut
>   5) bin/easy_install pyramid
>   6) bin/easy_install docutils nose coverage zope.sqlalchemy
> SQLAlchemy pyramid_tm
>
>   After that when i try to run "bin/paster create -t
> pyramid_routesalchemy tutorial" to create a project i am getting an
> error stating "-bash: bin/paster: No such file or directory"
>
>   I have tried to install paster directly by typing command "bin/
> easy_install paster" from virtualenv folder. When i try this i am
> getting the below error message.

the paster command is provided by PasteScript:

easy_install PasteScript will solve your problem

>
>    "Searching for paster
>       Reading http://pypi.python.org/simple/paster/
>      Reading https://github.com/crodjer/paster
>     Best match: paster 0.7
>    Downloading 
> http://pypi.python.org/packages/source/p/paster/paster-0.7.tar.gz#md5=97cd1c27e1f98a2aa43dc43b1ddb3920
>    Processing paster-0.7.tar.gz
>    Running paster-0.7/setup.py -q bdist_egg --dist-dir /var/folders/
> 9d/vbs5r3ks63z0qb9m_p7pb28h0000gn/T/easy_install-zVrBta/paster-    0.7/
> egg-dist-tmp-UadLhK
>     error: Setup script exited with error: SandboxViolation: open('/
> Users/Sreekanth/paster.cfg', 'wb') {}
>
>     The package setup script has attempted to modify files on your
> system
>     that are not within the EasyInstall build area, and has been
> aborted.
>
>     This package cannot be safely installed by EasyInstall, and may
> not
>     support alternate installation locations even if you run its
> setup
>     script by hand.  Please inform the package's author and the
> EasyInstall
>    maintainers to find out if a fix or workaround is available. "
>
>
> I am using python 2.7.1 and virtualenv 1.7 versions.
> Could someone please explain how i can solve this issue and start
> learning pyramid.
>
> Thanks
>  Sreekanth
>
> --
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> To unsubscribe from this group, send email to 
> pylons-discuss+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/pylons-discuss?hl=en.
>

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

Reply via email to