Re: [web2py] installing web2py book from git

2019-01-21 Thread Vlad
How do I get the latest w2p?? I mean, I just cloned one from https://github.com/web2py/web2py.git and it still has the earlier one: 2.17.2-stable+timestamp.2018.10.06.11.34.06 On Monday, January 21, 2019 at 12:30:31 AM UTC-5, Nico Zanferrari wrote: > > It indeed works fine... but you need a rec

Re: [web2py] installing web2py book from git

2019-01-21 Thread 黄祥
think there are two ways to get the recent version: download the latest or clone the repo wget -c http://web2py.com/examples/static/web2py_src.zip or git clone --recursive https://github.com/web2py/web2py but the problem it's not about the recent version of web2py, no error traceback occured or

Re: [web2py] installing web2py book from git

2019-01-21 Thread Nico Zanferrari
Hi, in order to show the web pages, the web2py-book requires both a modern web2py framework and the pygments Python module. Unfortunately, there is a stupid bug in the current version of the program that gives that error if you are missing the pygments module. I've already fixed it, and I'm makin

Re: [web2py] installing web2py book from git

2019-01-21 Thread Eliezer (Vlad) Tseytkin
Yes, I indeed had the latest, that's what I did exactly, but... Earlier Nico sent me the missing instructions. The current thing needs Pygments - unresolved dependency after just cloning - it's presumably a new thing and needed for the book app to work properly. So I cloned Pygments repository fro

Re: [web2py] installing web2py book from git

2019-01-21 Thread Eliezer (Vlad) Tseytkin
I was confused a bit about Pygments: I installed it on my Linux quickly, as you just mentioned, but my main dev computer runs Windows, so on Windows I didn't find a better way than to clone their Mercurial repository, extract the code module from there, and dropped it into my web2py folder. That di

Re: [web2py] installing web2py book from git

2019-01-21 Thread 黄祥
indeed tested work (python2 & python3), step for python3 docker pull ubuntu docker run -it ubuntu /bin/bash apt update apt install -y git unzip wget python3-pip pip3 install pygments wget -c http://web2py.com/examples/static/web2py_src.zip unzip -o web2py_src.zip cd web2py/applications git clone h

Re: [web2py] installing web2py book from git

2019-01-21 Thread Eliezer (Vlad) Tseytkin
Oh, I didn't even know that pip was available for Windows - I use it on Linux only. I knew there was a better way :) On Mon, Jan 21, 2019, 3:50 PM 黄祥 indeed tested work (python2 & python3), step for python3 > docker pull ubuntu > docker run -it ubuntu /bin/bash > > apt update > apt install -y git

Re: [web2py] installing web2py book from git

2019-01-21 Thread Nico Zanferrari
I've learned that if you've installed py2 and py3, using 'pip install module_name' installs a module for py2 only. You need pip3 for installing a module in the py3 libpath ;-) Nico Il giorno lun 21 gen 2019 alle ore 21:54 Eliezer (Vlad) Tseytkin < westgate6...@gmail.com> ha scritto: > Oh, I didn

Re: [web2py] installing web2py book from git

2019-01-21 Thread 黄祥
@nico yes you are right @vlad it's embeded when installing python just an idea, why not put requirements.txt or setup.py in web2py-book app repo, so that people know this app require another python modules best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Docume

Re: [web2py] installing web2py book from git

2019-01-21 Thread Nico Zanferrari
I've already placed the info on the readme.MD on https://github.com/web2py/web2py-book (only the web2py framework version needed is yet missing there) ;-) Il giorno lun 21 gen 2019 alle ore 22:23 黄祥 ha scritto: > @nico > yes you are right > > @vlad > it's embeded when installing python > > j