pyinstaller unable to fetch required module

62 Views Asked by At

I am trying to make a file uploader using pcloud. While doing so when I run my python code from Pycharm, it works perfectly fine. But when I convert it into exe using pyinstaller, it gives me "fatal error - failed to execute script"

here's my code

from pcloud import PyCloud
pc = PyCloud('myemail', 'mypassword')
print('connected !')

exact command used in pyinstaller was "pyinstaller --onefile myfile.py"

read about hidden imports, but dont know how to exactly add the module pcloud in my exe. Any help would be appreciated !

0

There are 0 best solutions below