Try:
import json
import time
import os
from py3pin.Pinterest import Pinterest
pinterest = Pinterest(email='my acc email',
password='my acc pass',
username='my acc username',
cred_root='cred_root')
pinterest.login()
def repin(pin_id="403212972893719260",board_id="403213041577459796"):
pinterest.repin(board_id=board_id,pin_id=pin_id)
repin()
The only error I got was a login error because the credentials are invalid.
Side Note: The ids are placeholders, random.
CLICK HERE to find out more related problems solutions.