C:\My Program Files\Python27\lib\site-packages\requests-2.7.0-py2.7.egg\requests\packages\urllib3\util\ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see
https://urllib3.readthedocs.org/en/l...latformwarning.
InsecurePlatformWarning
C:\My Program Files\Python27\lib\site-packages\requests-2.7.0-py2.7.egg\requests\packages\urllib3\util\ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see
https://urllib3.readthedocs.org/en/l...latformwarning.
InsecurePlatformWarning
C:\My Program Files\Python27\lib\site-packages\requests-2.7.0-py2.7.egg\requests\packages\urllib3\util\ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see
https://urllib3.readthedocs.org/en/l...latformwarning.
InsecurePlatformWarning
Traceback (most recent call last):
File "C:/Users/TRBZ1808/PycharmProjects/taxonomy/test/ExtractWikiContentExample.py", line 3, in <module>
print (wikipedia.summary("Wikipedia"))
File "C:\My Program Files\Python27\lib\encodings\cp1252.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_table)
UnicodeEncodeError: 'charmap' codec can't encode character u'\u02cc' in position 12: character maps to <undefined>
Partager