I am using scrapy importing it. I built the python file using pyinstaller. After building it I ran the file ./new.py. But the error pops: Answer You did not use Pyinstaller properly when you had built your stand-alone program. Here is a short, layman’s description of how Pyinstaller works: Pyinstaller bundles the Python interpreter, necessary DLLs (for Windows), your project’s
Tag: pyinstaller
How can I create the minimum size executable with pyinstaller?
I am on Windows 10, I have anaconda installed but I want to create an executable independently in a new, clean minimal environment using python 3.5. So I did some tests: TEST1: I created a python script test1.py in the folder testenv with only: Then I created the environment, installed pyinstaller and created the executable And it creates my test1.exe
Reducing size of pyinstaller exe
I have a simple pandas pyinstaller exe which is over 40MB. My exe example: 40MB+ for this seems a bit overkill. How can I reduce this as much as possible? One method: This however is not practical considering how big the exclusion list would be. How do I select a folder for pyinstaller to get modules from and exclude everything
PyInstaller with Pandas creates over 500 MB exe
I try to create an exe file using PyInstaller 3.2.1, for test purpose I tried to make an exe for following code: After considerable amount of time (15mins +) I finished with dist folder as big as 620 MB and build – 150 MB. I work on Windows using Python 3.5.2 |Anaconda custom (64-bit). Might be worth noting that in
PyInstaller file fails to execute script – DistributionNotFound
I’m trying to convert my python file to an executable using PyInstaller. The program uses the Google Cloud Translate API to translate given text between languages. When running python quicktrans.py in the terminal, the program works fine. Then I ran pyinstaller quicktrans.py, SHIFT + right-clicked the directory the executable was in, and ran the .exe file in the terminal. This
How to create OS X app with Python on Windows
I need to automate a cross-platform application build. Entire build runs on Windows machine. Part of it is written in Python and compiles for OS X. Currently this part of build is done manually on OS X. I tried pyinstaller but it looks like it only building for the platform that it is running on. I also tried py2app but
pyinstaller [ErrNo 22]
I’m trying to use Pyinstaller to make an exe of my python code to easily distribute. Every time I try run pyinstaller.py I get an error “[Errno 22] invalid mode (‘rb’) or filename: ”” I’ve seen a few other posts on this issue saying the problem is usually caused by hardcoding in filepaths for reading data, but all my filepaths
Determining application path in a Python EXE generated by pyInstaller
I have an application that resides in a single .py file. I’ve been able to get pyInstaller to bundle it successfully into an EXE for Windows. The problem is, the application requires a .cfg file that always sits directly beside the application in the same directory. Normally, I build the path using the following code: However, it seems the sys.path