response = requests.get('https://yandex.ru/maps/?text=42.320976%2C%2047.57837')
text = (response.text)
f = open('str_ru_text_1.txt', encoding='utf8')
text = f.read()
print(text) from bs4 import BeautifulSoup
import requests
response = requests.get('https://yandex.ru/maps/?text=42.320976%2C%2047.57837')
result = BeautifulSoup(response.text, 'html.parser').prettify()
print(result)
ERROR: Command errored out with exit status 1:
command: 'c:\users\user01\desktop\build\geoschema\venv\scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user01\\AppData\\Local\\Temp\\pip-install-rxtwnk2u\\BeautifulSoup\\setup.py'"'"'; __file__='"'"'C:\\Users\\user01\\AppData\\Local\\Temp\\pip-install-rxtwnk2u\\BeautifulSoup\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: C:\Users\user01\AppData\Local\Temp\pip-install-rxtwnk2u\BeautifulSoup\
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\user01\AppData\Local\Temp\pip-install-rxtwnk2u\BeautifulSoup\setup.py", line 22
print "Unit tests have failed!"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Unit tests have failed!")?
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.