https://help.pythonanywhere.com/pages/InstallingNewModules/
You will have to use a bash console ... *Ben Duncan* DBA / Chief Software Architect Mississippi State Supreme Court Electronic Filing Division On Fri, Dec 14, 2018 at 10:10 AM Arindam Dasgupta <nyn.dasgu...@gmail.com> wrote: > Hi, > I am takling about how to install libraries in python anywhere cloud just > like I would open command prompt in my local machine and use the command > "python > -m pip install XXX" in order to install a certain package locally. Where > do I do the same thing after logging in to www.pythonanywhere.com? > > Regards, > Arindam Dasgupta > > On Thu, Dec 13, 2018 at 9:38 PM Ben Duncan <linux...@gmail.com> wrote: > >> Are you talking about running IN pythonanywhere cloud? >> >> If you are talking about running locally but including the libraries, you >> would install the libraries, then put the >> include statements in models/0.py or models/db.py and modify the sys >> search path as referenced in: >> >> https://docs.python.org/2/tutorial/modules.html >> >> Hope this helps ... >> >> *Ben Duncan* >> DBA / Chief Software Architect >> Mississippi State Supreme Court >> Electronic Filing Division >> >> >> On Thu, Dec 13, 2018 at 9:57 AM Arindam Dasgupta <nyn.dasgu...@gmail.com> >> wrote: >> >>> Hi, >>> >>> I have a general question in my mind that how do I import a library in >>> web2py. >>> For example should I need a library like "openpyxl" or >>> "matplotlib.pyplot" what do I do? I am talking about the pythonanywhere >>> framework available online through "https://www.pythonanywhere.com". >>> >>> I should not expect that all the available libraries are already >>> installed and I just have to import it at the top of my code. Also please >>> let me know How do I find which libraries are available by default and >>> which are not. >>> >>> Many thanks in advance for your help. >>> >>> Best Regards, >>> Arindam >>> >>> -- >>> 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. > -- 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.