has any one faced this problem?
Happy hacking.
Krishnakant.
cd ~/tmp
virtualenv --no-site-packages test
cd test
bin/easy_install 'pylons==1.0'
Then just to be sure things were working I did:
bin/paster create -t pylons test-project
cd test-project
../bin/paster serve development.ini
This also worked, though granted it probably wasn't a very exhaustive
test. At any rate there are several packages installed along with
Pylons. Here's the complete list of my site-packages folder within the
virtual environment:
Beaker-1.5.3-py2.6.egg
decorator-3.2.0-py2.6.egg
easy-install.pth
FormEncode-1.2.2-py2.6.egg
Mako-0.3.2-py2.6.egg
nose-0.11.3-py2.6.egg
Paste-1.7.3.1-py2.6.egg
PasteDeploy-1.3.3-py2.6.egg
PasteScript-1.7.3-py2.6.egg
pip-0.7.2-py2.6.egg
Pygments-1.3.1-py2.6.egg
Pylons-1.0-py2.6.egg
Routes-1.12.1-py2.6.egg
setuptools-0.6c11-py2.6.egg
setuptools.pth
simplejson-2.1.1-py2.6-linux-i686.egg
Tempita-0.4-py2.6.egg
WebError-0.10.2-py2.6.egg
WebHelpers-1.0rc1-py2.6.egg
WebOb-0.9.8-py2.6.egg
WebTest-1.2.1-py2.6.egg
Hope this helps.
Lance
No trouble here, but I did it using the go-pylons.py script as the
download page suggests. Does that work for you?
But then, heading for the tutorial [1], I find that two of the first
four commands are busted...
1) $ easy_install QuickWiki==0.1.6
2) $ paster make-config QuickWiki test.ini
3) $ paster setup-app test.ini
4) $ paster serve test.ini
Namely, 3) fails with:
,----
| from webhelpers.html.secure_form import secure_form
| ImportError: No module named secure_form
`----
That's because this function has been moved (see [2]). This problem is
fixed by following the suggestion (in [1]) to use the latest QuickWiki
version from bickbucket. However this creates another at step 4):
,----
| Starting server in PID 2139.
| serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
| Error - <type 'exceptions.ImportError'>: No module named roman
`----
That's because the bickbucket version, QuickWiki-0.1.8dev-py2.6.egg,
pulls docutils-0.6 which unlike docutils-0.4, no longer includes
'roman.py' (see [3]). In short, step 1) ought to be replaced by the
following which worked for me today:
1a) $ easy_install
http://bitbucket.org/bbangert/quickwiki/get/21520a734ca1.gz
1b) $ easy_install roman
----
[1] http://pylonshq.com/docs/en/1.0/tutorials/quickwiki_tutorial/
[2] http://bitbucket.org/bbangert/webhelpers/changeset/92d547cf8812
[3] http://thread.gmane.org/gmane.text.docutils.user/5697/focus=5699
All the files required by Pylons and a few extras are here:
http://pylonshq.com/download/1.0
So you can recursively download that page to make a local cache.
--
Mike Orr <slugg...@gmail.com>
Thanks.
This works although I got a few warnings.
Thanks again all of you for the help.
Happy hacking.
Krishnakant.