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'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 黄祥 <steve.van.chris...@gmail.com wrote:
>
>> 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 https://github.com/web2py/web2py-book books
>> python3 ../web2py.py --nogui --no-banner -a a -i 0.0.0.0 -p 8000
>>
>> is pip not work in windows command prompt?
>>
>> best regards,
>> stifan
>>
>> --
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to web2py+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to