Questions tagged [py2exe] (13)


py2exe how to include libraries

from distutils.core import setup<br> import py2exe<br> <br / > setup(console=[''], options = {'py2exe': {'includes': 'leaf',}})<br> <br / > here I am doing so, but when compiling I written that he could not find a leaf, when I try to run what you can not do import leaf, WHAT am I DOIN...
audrey53 asked October 9th 19 at 17:12

py2exe is a method of disclosure of Packed code

Is there a way of natively compiled binaries .pyc and formed .EXE schnick, through the py2exe library, to retrieve the same start, or ideally source code itself? What are the methods to do this, what is the work in getting the source, and which way is better to dig?
orin60 asked October 9th 19 at 16:07

Virtual environments and py2exe?

Welcome! Is it possible to install py2exe in a virtual environment? By default, when you install py2exe from binaries, detected by Python from the registry. And with further use, the exe file is created correctly because the project is in a virtual environment with their packages, and py2exe uses Python local packages, whic...
Marcia_OKon asked October 3rd 19 at 15:51

How to assemble .exe from a Python file on Ubuntu?

Good day, there is an urgent need to collect the script under Windows, but not found a solution. It is possible to run some packages for Wine machine with Windows and/dev no.
Santos asked September 26th 19 at 06:48

Scrapy to EXE. How?

Good afternoon, colleagues. There is a problem with converting Scrapy in .exe file. I tried py2exe and cx_freeze - in both cases the same error. Error: Traceback (most recent call last): File "", line 4, in <module> File "scrapy\__init__.pyo", line 10, in <module> File "pkgutil.pyo", line 591, in get_...
Jettie88 asked September 26th 19 at 03:29

How to make the right request after conversion to exe-shnik?

the program works fineimport requests s = requests.Session() s.get('https://sitename.php') but after converting it in exe-shnik the program py2exe, when launching the exe file it gives .log file error Traceback (most recent call last): File "", line 16, in File "requests\sessions.pyc", line 473, in get File "req...
Asha.Little45 asked September 19th 19 at 21:10

How to pack them into a single file using PY2EXE?

How you can use PY2EXE to pack into a single executable (myscript.exe), but without the ability to view our files opening as plain files? Tried here so:from distutils.core import setup import py2exe, sys, os sys.argv.append('py2exe') setup( options = {'py2exe': {'bundle_files': 1}}, console = [{'script': ""}], zip...
peggie_Dare asked September 15th 19 at 15:44

Why doesn't py2exe?

C:\Users\User\Projects\I>python py2exe Traceback (most recent call last): File "<frozen importlib._bootstrap>", line 1519, in _find_and_load_unlocked AttributeError: 'module' object has no attribute '__path__' During handling of the above exception, another exception occurred: Traceback (most recent cal...
gunnar.Barrows asked September 9th 19 at 11:32

How to connect the module to the cxfreeze (python)?

Good afternoon everyone. I put together a small application for python. Component versions the following: Interpreter: Python 3.4.3 32bit Library GUI: PyQt5 (5.4.2, x32) Networkx 1.10. From Python it works. Now I need to make the app portable. I've used cx_Freeze to 4.3.4. I decided to use it again. The build is successful...
hillary_Wate asked August 12th 19 at 12:23

Py2exe SSLError exceptions how to win?

Compile a simple script in Python to exe using py2exe. When compiling there are no errors at startup error requests.exceptions.SSLError: [Errno 2] No such file or directory Google knows this error, as I understand from discussions, the error is the file cacert.pem. Put it next to the. exe without any changes. Someone has so...
Deja_Jaskolski asked July 12th 19 at 17:24