• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Python issues with windows

Q&A Forum › Category: ESP32 › Python issues with windows
0 Vote Up Vote Down
VenkateswaraReddy asked 6 years ago
$ python -m pip install --user -r $IDF_PATH/requirements.txt

Traceback (most recent call last):
File "C:/msys32/mingw32/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
File "C:/msys32/mingw32/lib/python2.7/runpy.py", line 111, in _get_module_details
__import__(mod_name) # Do not catch exceptions initializing package
File "C:/msys32/mingw32/lib/python2.7/site-packages/pip/__init__.py", line 21, in <module>
from pip._vendor.requests.packages.urllib3.exceptions import DependencyWarning
File "C:/msys32/mingw32/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py", line 62, in <module>
from .packages.urllib3.exceptions import DependencyWarning
File "C:/msys32/mingw32/lib/python2.7/site-packages/pip/_vendor/requests/packages/__init__.py", line 29, in <module>
import urllib3

ImportError: No module named urllib3
10 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Hello,

  • when does that error happen?
  • What exactly are you tying to do?
  • Which Windows version are you using?

Regards,
Rui

0 Vote Up Vote Down
VenkateswaraReddy answered 6 years ago

Error is the python issues, i could not able to get the menoconfig dialog box.
I am trying to use ESP-IDF and tool chain for ESP32-EYE
Windows 10, x64 based processor

0 Vote Up Vote Down
VenkateswaraReddy answered 6 years ago

Receiving

ImportError: No module named urllib3 for make menuconfig

 

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Are you using PlatformIO?

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

I think error that you’ve mentioned happens in Windows based systems… For programming ESP-IDF I recommend using Linux (Ubuntu for example).

0 Vote Up Vote Down
VenkateswaraReddy answered 6 years ago

I dont have linux PC, i am not comfortable with linux commands, Can you help for windows
I am not using plotform IO, I wanted to develop the programs using eclipse . for that i need to configure the ESP-IDF.
 

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

I’ve only used the ESP-IDF on Linux using Eclipse. I highly recommend trying PlatformIO for Atom or VS Code… Unfortunately I’ve never encountered that error and I couldn’t find a solution for you…

0 Vote Up Vote Down
VenkateswaraReddy answered 6 years ago

I dont aware of pltform IO, i want to use ESP-IDF with eclipse , similar to linux in windows.
 

0 Vote Up Vote Down
VenkateswaraReddy answered 6 years ago

The error related to python, as you know micro python, and python script it is for you to figure out what is this error is?
 

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

As I can’t replicate that error on my computer, it’s almost impossible to give you a solution without actually trying. I assume that you try this:

pip install urllib3

or (depending in your python version);

pip3 install urllib3

Platform IO + Atom IDE is the best setup to program ESP32 with ESP-IDF. As I said I don’t recommend using Eclipse on Windows.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.