You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FileNotFoundError Traceback (most recent call last) in () 1 # get the folder id where you want to save your file 2 file = drive.CreateFile({'parents':[{u'id': ''}]}) ----> 3 file.SetContentFile('my_model.pkl') 4 file.Upload()
/usr/local/lib/python3.6/dist-packages/pydrive/files.py in SetContentFile(self, filename) 167 :type filename: str. 168 """ --> 169 self.content = open(filename, 'rb') 170 if self.get('title') is None: 171 self['title'] = filename
FileNotFoundError: [Errno 2] No such file or directory: 'my_model.pkl'
The text was updated successfully, but these errors were encountered:
FileNotFoundError Traceback (most recent call last) in () 1 # get the folder id where you want to save your file 2 file = drive.CreateFile({'parents':[{u'id': ''}]}) ----> 3 file.SetContentFile('my_model.pkl') 4 file.Upload()
/usr/local/lib/python3.6/dist-packages/pydrive/files.py in SetContentFile(self, filename) 167 :type filename: str. 168 """ --> 169 self.content = open(filename, 'rb') 170 if self.get('title') is None: 171 self['title'] = filename
FileNotFoundError: [Errno 2] No such file or directory: 'my_model.pkl'
The text was updated successfully, but these errors were encountered: