Search found 9 matches

by EDW26
Mon Feb 04, 2019 4:30 pm
Forum: ESP32 boards
Topic: How can I use urequests module?
Replies: 2
Views: 158

How can I use urequests module?

I am using ESP32 and it seems to me that there is a memory error. I believe it's due to the library / lib I see when I use the command ampy --port / dev / ttyUSB0 ls. I'm trying to use the following code: import urequests as re r = re.get ('site where I get get') and appears: Traceback (most recent ...
by EDW26
Wed Jan 30, 2019 2:07 pm
Forum: ESP32 boards
Topic: How to acess the lib of the ESP32 ?
Replies: 0
Views: 118

How to acess the lib of the ESP32 ?

then I use jupyter notebook as the programming interface of esp32 using micropython as a programming language and needed a help with accessing the micropython library in esp32. Since I can not find the / lib file on my PC (linux), where the modules I install by upip are written, to manipulate some m...
by EDW26
Tue Jan 29, 2019 12:38 am
Forum: ESP32 boards
Topic: How to install modules in a Jupyter Micropython kernel?
Replies: 10
Views: 511

Re: How to install modules in a Jupyter Micropython kernel?

I found a way to access the module with the following code:
ampy --port / dev / ttyUSB0 put tsl2561
by EDW26
Sun Jan 27, 2019 9:11 pm
Forum: ESP32 boards
Topic: How to install modules in a Jupyter Micropython kernel?
Replies: 10
Views: 511

Re: How to install modules in a Jupyter Micropython kernel?

So I could see the error that was occurring with upip. I used the ESP32 microcontroller and the I was not connecting the ESP to the Wifi, from the upip worked for the facilities like the 'os' library. But then I tried to install the tsl2561 module and I could not. upip.install ('micropython-tsl2561'...
by EDW26
Tue Jan 22, 2019 12:16 am
Forum: ESP32 boards
Topic: How to install modules in a Jupyter Micropython kernel?
Replies: 10
Views: 511

Re: How to install modules in a Jupyter Micropython kernel?

Hi! Thanks for all the help so far. I do not know why sys.path is in / lib as well. Could you explain me how to manually download, what it takes ... an example code form would be very good ... And I did not understand how to identicate the main directory. THX
by EDW26
Sun Jan 20, 2019 8:53 pm
Forum: ESP32 boards
Topic: How to install modules in a Jupyter Micropython kernel?
Replies: 10
Views: 511

Re: How to install modules in a Jupyter Micropython kernel?

I installed it by python in the linux terminal ... but the file appears in the pip, I tried to import but I can not, I used up up again but it did not work, the same sentence appears from above. eduarda@eduarda-Lenovo-ideapad-320-15IKB:~/Downloads/micropython-adafruit-tsl2561-master$ python setup.py...
by EDW26
Sun Jan 20, 2019 3:10 pm
Forum: ESP32 boards
Topic: How to install modules in a Jupyter Micropython kernel?
Replies: 10
Views: 511

Re: How to install modules in a Jupyter Micropython kernel?

Well. I'll send my tests to you from my code: 1) I cloned the git hub folder; 2) I got the following folder: micropython-adafruit-tsl2561; 3) Then I tried to install by upip with the following code: upip.install ('micropython-adafruit-tsl2561') Answer: Installing to: / lib / Error installing 'microp...
by EDW26
Sat Jan 19, 2019 8:09 pm
Forum: ESP32 boards
Topic: How to install modules in a Jupyter Micropython kernel?
Replies: 10
Views: 511

Re: How to install modules in a Jupyter Micropython kernel?

Well, I have installed my jupyter_micropython_kernel on my notebook. And I tried using upip.install ('micropython-urllib') to test the upip operation and it did not work. I have a tsl2561 sensor directory and I used the command sys.path.insert (0, "/home/usr/anaconda3/lib/python3.7/site-packages/tsl...
by EDW26
Sat Jan 19, 2019 2:31 am
Forum: ESP32 boards
Topic: How to install modules in a Jupyter Micropython kernel?
Replies: 10
Views: 511

How to install modules in a Jupyter Micropython kernel?

Well, I am new to micropython and would like to install modules in the MicroPython kernel of jupyter but I do not know how. The module I want to use is the tsl2561 sensor. I have tried to use upip but it is not working or to install other libraries, it might be that something is missing to install. ...