2

While converting a python programm that uses pytorch and pyaudio to .exe I´m getting "ValueError: Package 'soundfile' does not exist or is not a package!" on auto-py-to-exe even though it works fine in PyCharm and I have checked that soundfile is correctly installed.

Lol Tesch
  • 21
  • 1
  • 1
    Are you using Pyinstaller to convert the program to an executable? I had the same error using the latest version of pyinstaller (version 5.3). I resolved the issue by downgrading to version 4.10 – Ruth Mbugua Aug 04 '22 at 13:22

1 Answers1

0

You can try to remove SoundFile as below cmd.

pip3 uninstall SoundFile

kyc1109
  • 151
  • 1
  • 7