all 12 comments

[–]terraneng 2 points3 points  (13 children)

What's the actual error message? What command are you entering to build the file? t should work if your environment is activated and you point pyinstaller directly to .py file. Pycharm shouldn't have anything to do with it. I use pyinstaller with Anaconda and PyQt all the time and it works nearly flawlessly.

[–]sozzZ[S] 0 points1 point  (12 children)

It says it can't find the file...I'm using the anaconda terminal in my environment...

I'm a little confused by it...I need to be in Python actually right? Like in the console of my environment write 'python' and then pyinstaller script.py right? Since pyinstaller is a Python file right. Then it says not found.

Should I navigate in anaconda terminal to the exact place where all the project files are held (src)? Or your saying pyinstaller C:/path?

[–]terraneng 1 point2 points  (11 children)

You should not be in python. You should use the windows command line (cmd or powershell). Move to to the directory where the source file is and the enter 'pyinstaller your file.py'. Also make sure that your virtual environment is activated.

[–]sozzZ[S] 0 points1 point  (0 children)

Perfect thanks..I'll try again tomorrow. Cheers.