IOError: [Errno 22] invalid mode ('wb') or filename:

后端 未结 1 507
Happy的楠姐
Happy的楠姐 2020-12-16 01:13

I keep getting the following error.

IOError: [Errno 22] invalid mode (\'wb\') or filename: \'C:\\\\Users\\\\Viral Patel\\\\Documents\\\\GitHub\\\\3DPhotovol         


        
相关标签:
1条回答
  • 2020-12-16 01:56

    You cannot use : in Windows filenames, see Naming Files, Paths, and Namespaces ; it is one of the reserved characters:

    • The following reserved characters:

      • < (less than)
      • > (greater than)
      • : (colon)
      • " (double quote)
      • / (forward slash)
      • \ (backslash)
      • | (vertical bar or pipe)
      • ? (question mark)
      • * (asterisk)

    Use a different character not on the reserved character list.

    0 讨论(0)
提交回复
热议问题