Go Down

Topic: Best way of including lots of Python modules on esp32. (Read 90 times) previous topic - next topic

DreamingInsanity

Apr 22, 2019, 10:52 am Last Edit: Apr 22, 2019, 11:13 am by DreamingInsanity
I have an sd card mounted on my esp32 which gives me about 32GB of space for modules but the problem is, what it the best way to go about getting these?

If I look in my main script, I see I need: httplib2, os, io and __future__. So when I go to get these from the site packages and copy them to the sd card, I see that they also need more modules.
Take httplib2 for instance - this library itself also needs so many other modules like base64, calender, random, hmac, time, zlib, urrlib, hmac and so on. And some of these modules also need other modules. It's like a never ending hole.

So, what is the best way to provide all the neeeded modules? (Pretty much all the ones that come pre-installed with Python) Just copy them over?

Thanks,
Dream.
I don't mean to sound rude.. but..

DreamingInsanity

Don't worry about this anymore. I have decide to take a different approach to this.


Dream
I don't mean to sound rude.. but..

srnet

Cannot see how this would be an Arduino issue.

Ask in the proper forum, there is one for Micropython on the ESP32;

https://forum.micropython.org/viewforum.php?f=18&sid=940544cd0fe062c54f50af0325dbd62e
$50SAT is now Silent (but probably still running)
http://www.50dollarsat.info/
http://www.loratracker.uk/

Go Up