0

I am getting this error when I try to pack

pyinstaller: error: argument --add-data: invalid add_data_or_binary value: 'c:\users\James Martin\pycharmprojects\cal\lib\site-packages'

I have tried changing the name in the code to just james because I belive that might be the problem but it did not help. Is my line just incorrect?

Poker Cat
  • 1
  • 2
  • 1
    Try with double quotes `"c:\users\James Martin\pycharmprojects\cal\lib\site-packages"`. In windows command line you need double quotes to specify a path string when your path has spaces in it. Otherwise you might want to check out this post about adding data files. https://stackoverflow.com/questions/41870727/pyinstaller-adding-data-files – Mike - SMT Dec 13 '22 at 22:40

0 Answers0