url = 'https://auto.ria.com/uk/car/lancia/?page=1'
r = requests.get(url=url)
soup = BeautifulSoup(r.text)
items = soup.find_all('div', class_='content-bar')
len(items)
url = 'https://auto.ria.com/uk/search/?indexName=auto,order_auto,newauto_search&brand.id[0]=36&country.import.usa.not=-1&price.currency=1&abroad.not=0&custom.not=1&page=0&size=20'
r = requests.get(url=url)
soup = BeautifulSoup(r.text)
items = soup.find_all('div', class_='content-bar')
len(items)
echo 'PKG_LIBS=-LC:/python27/libs -lpython27' > src/makevars.win
echo 'PKG_CFLAGS=-I"C:/Python27/include"' >> src/makevars.win
and you should edit them to point to the path where you installed Python. In the default configuration it is assumed that the Python version is 2.7 and that it is installed in C:/Python27. Change it according to your Python installation.
Но я не уверен, что rPython в принципе может работать с python3. Опыта такого у меня нет, а то, что я смог вычитать, мне подсказывает, что rPython для поддержки Python 3 в разработке или заморожен. Я не уверен.