New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: No module named test.test_support #48107
Comments
The following 2 line program fails under Python 2.6rc1: as downloaded today (2008-09-13): #---- start program --- import urllib
fh = urllib.urlopen('http://bugs.python.org/')
#---- end program ---
with the messages:
Traceback (most recent call last):
File "bug.py", line 2, in <module>
fh = urllib.urlopen('http://bugs.python.org/')
File "d:\Python26\lib\urllib.py", line 87, in urlopen
return opener.open(url)
File "d:\Python26\lib\urllib.py", line 203, in open
return getattr(self, name)(url)
File "d:\Python26\lib\urllib.py", line 285, in open_http
import httplib
File "d:\Python26\lib\httplib.py", line 72, in <module>
from test.test_support import catch_warning
ImportError: No module named test.test_support The program works fine on Python 2.5 |
OK, by now I know exactly what the problem is: The Windows installer In my opinion you must not be able to deselect a feature if this feature PS.: Forget all the bits about "Python 2.6b3 (r26b3:66303, Sep 8 2008, Thanks a lot for the wonderful programming language Python!! |
I just installed python 2.6rc1, and I don't get the error at all. The content of your file d:\Python26\lib\httplib.py does not match with |
Please close this issue. Between 2.6b3 and 2.6rc1 Lib/httplib.py has |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: