Traceback (most recent call last):

 "upload_config.py", line 20, in <module>
device_type='fortinet', use_keys=False, key_file=None)

 "/usr/lib/python2.6/site-packages/netmiko-0.2.7-py2.6.egg/netmiko/ssh_dispatcher.py", line 63, in ConnectHandler
return ConnectionClass(*args, **kwargs)

 "/usr/lib/python2.6/site-packages/netmiko-0.2.7-py2.6.egg/netmiko/base_connection.py", line 62, in __init__
self.establish_connection(verbose=verbose, use_keys=use_keys, key_file=key_file)TypeError: establish_connection() got an unexpected keyword argument 'key_file'
Traceback (most recent call last):


 "P:\Anaconda3\envs\tfnightlygpu\lib\site-packages\google\protobuf\internal\python_message.py", line 1083, in MergeFromString

if self._InternalParse(serialized, 0, length) != length:


 "P:\Anaconda3\envs\tfnightlygpu\lib\site-packages\google\protobuf\internal\python_message.py", line 1105, in InternalParse

(tag_bytes, new_pos) = local_ReadTag(buffer, pos)


 "P:\Anaconda3\envs\tfnightlygpu\lib\site-packages\google\protobuf\internal\decoder.py", line 181, in ReadTag

while six.indexbytes(buffer, pos) & 0x80:
TypeError: unsupported operand type(s) for &: 'str' and 'int'
