I apologize if this question has been answered in a different thread, I have been looking everywhere for the last week but couldn't find anything that is specific to my case.
I created a .py program that is working as expected, however the moment that I try to convert it into an exe, it starts to generate the following error: File "site-package\six.py", line82, in _import_module ImportError: No module named urllib2
I understand that the six module was made to facilitate running the code whether using python 2 or 3 and I also understand that urllib2 has been split into request and error.
I went through the six.py file to check references of urllib2 but I am not sure what kind of modification I need to make, I am kind of new to Python.
I tried this in python 2.7.10 and python 3.4 and I really don't understand what I am missing. i also tried pyinstaller and py2exe and got the same error message.
I didn't include the code I wrote because the error is coming from the six.py file itself.
Any help that you can provide me to fix this is greatly appreciated.
Thank you!
Intidhar