Can't access Datastream from python

I want to use Datastream in python, I get an error message when I try to log in using the credentials below.

DWE =  Datastream(username="%$#%#$", password="%$#%$#") 

DWE.system_info()

DWE.sources()
URLError: <urlopen error [WinError10061] No connection could be made because the 
target machine actively refused it>

I have successfully imported pydatastream etc.

Best Answer