How to use web packages in Web2Py (pandas, numpy etc.)

84 views
Skip to first unread message

Dhruva Krishnamurthy

unread,
Aug 7, 2019, 11:03:16 AM8/7/19
to web2py-users
I'm trying to build a web app with some built in graphing and analytics methods. I have a prewritten .py file that I have uploaded into the modules tab, which requires many packages to run, such as pandas, numpy, matplotlib, etc. When I try and run the code however, the localhost is giving me an error : "No module named Pandas". How can I install these packages into my web app so that I can use them when building my site. Thanks for your help!

Nico Zanferrari

unread,
Aug 7, 2019, 11:18:16 AM8/7/19
to web...@googlegroups.com
Hi,

I've written a small howto that should answer your questions.

Cheers,
Nico

Il giorno mer 7 ago 2019 alle ore 17:03 Dhruva Krishnamurthy <dhruva.k...@gmail.com> ha scritto:
I'm trying to build a web app with some built in graphing and analytics methods. I have a prewritten .py file that I have uploaded into the modules tab, which requires many packages to run, such as pandas, numpy, matplotlib, etc. When I try and run the code however, the localhost is giving me an error : "No module named Pandas". How can I install these packages into my web app so that I can use them when building my site. Thanks for your help!

--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/28b5f9f6-4612-4ac8-b823-9d230b131b96%40googlegroups.com.

Massimo Di Pierro

unread,
Aug 18, 2019, 1:51:38 AM8/18/19
to web2py-users
Thank you. I should really find some time to make the new binaries with your method. I am very sorry I have not done it yet.


On Wednesday, 7 August 2019 08:18:16 UTC-7, Nico Zanferrari wrote:
Hi,

I've written a small howto that should answer your questions.

Cheers,
Nico

Il giorno mer 7 ago 2019 alle ore 17:03 Dhruva Krishnamurthy <dhruva.k...@gmail.com> ha scritto:
I'm trying to build a web app with some built in graphing and analytics methods. I have a prewritten .py file that I have uploaded into the modules tab, which requires many packages to run, such as pandas, numpy, matplotlib, etc. When I try and run the code however, the localhost is giving me an error : "No module named Pandas". How can I install these packages into my web app so that I can use them when building my site. Thanks for your help!

--
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+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages