0

I'm trying to run python script throw Travis-CI

I import:

from urllib.request import urlretrieve

 urlretrieve(download_url, save_local)

when I run this script in my local machine I have no problem, but when I call the script file throw travis.yml I get:

Traceback (most recent call last):
File "./scripts/python/file.py", line 6, in <module>
from urllib.request import urlretrieve
ImportError: No module named request

I create "requirements.txt", but it didn't work as expected

What am I missing?

AvZi
  • 81
  • 1
  • 8

0 Answers0