explain the reason for invalid syntax please

0

I am developing my final project but now, for no apparent reason, it sends me syntax erro in the prefix impo- of an import.

import sys
import requests
^^^^(aqui me dice que error por ninguna razon aparente)
import json
import marshal
import webbrowser
from string import Template
    
asked by victor 27.07.2018 в 23:09
source

1 answer

0

Maybe the error is because of the import requests that come with the default installation of python if you work with linux this is the command $ sudo pip install requests if you have pip installed. Greetings.

    
answered by 27.07.2018 в 23:27