Changes between Version 56 and Version 57 of en/ProgrammingRobotsCourse/GettingWwwInfo
- Timestamp:
- Nov 22, 2024, 10:56:07 PM (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
en/ProgrammingRobotsCourse/GettingWwwInfo
v56 v57 31 31 (Full example [raw-attachment:forecast.py:wiki:en/ProgrammingRobotsCourse/GettingWwwInfo forecast.py] 32 32 ) 33 34 **Note**: some websites may limit the `https` access to newer versions of the SSL protocol, which may result in errors like ''error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure''. In such case, you may try to update the `requests` and `pyOpenSSL` packages in the Choregraphe Python using (`$PEPPER_ROOT` comes from [https://nlp.fi.muni.cz/trac/pepper/wiki/InstallationInstructions installation instructions]): 35 {{{ 36 sudo $PEPPER_ROOT/pyenv/bin/pip2 install --target='/opt/Softbank Robotics/Choregraphe Suite 2.5/lib/python2.7/site-packages' \ 37 requests==2.18.4 pyOpenSSL==19.0.0 38 }}} 33 39 34 40 === Parse webpage data … … 46 52 (Full example [raw-attachment:news.py:wiki:en/ProgrammingRobotsCourse/GettingWwwInfo news.py]) 47 53 48 In virtual robot, if you get a runtime error: ''No module named bs4'', you may need to install the package into the Choregraphe environtment via (`$PEPPER_ROOT` comes from [https://nlp.fi.muni.cz/trac/pepper/wiki/InstallationInstructions installation instructions]):54 In virtual robot, if you get a runtime error: ''No module named bs4'', you may need to install the package into the Choregraphe environtment via (`$PEPPER_ROOT` again comes from [https://nlp.fi.muni.cz/trac/pepper/wiki/InstallationInstructions installation instructions]): 49 55 {{{ 50 56 sudo $PEPPER_ROOT/pyenv/bin/pip2 install --target='/opt/Softbank Robotics/Choregraphe Suite 2.5/lib/python2.7/site-packages' \