Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Converting to exe problems
#1
Hi, If someone know what this problem is, any help would be appreciated, i've tried pyw files, py files, one file, one directory, with /. for multiple files, the finish project is working only with some functions, for example, any from subprocess import call isn't working, i also have pictures display in loop, not working(also from subprocess import - from the main py file). I will display the errors that appear when converting. Angry
Also an error not appearing here, but on html page when converting Django root directory not found, but it is installed, and lots and lots of libs not found.

PS C:\Users\Nelson\Desktop\testing> auto-py-to-exe --noconsole
Traceback (most recent call last):
File "<string>", line 41, in <module>
File "<string>", line 36, in walk_packages
File "<string>", line 20, in walk_packages
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\conf\urls\__init__.py", line 1, in <module>
from django.urls import include, re_path
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\urls\__init__.py", line 1, in <module>
from .base import (
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\urls\base.py", line 8, in <module>
from .exceptions import NoReverseMatch, Resolver404
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\urls\exceptions.py", line 1, in <module>
from django.http import Http404
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\http\__init__.py", line 5, in <module>
from django.http.response import (
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\http\response.py", line 15, in <module>
from django.core.serializers.json import DjangoJSONEncoder
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\core\serializers\__init__.py", line 23, in <module>
from django.core.serializers.base import SerializerDoesNotExist
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\core\serializers\base.py", line 7, in <module>
from django.db import models
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\db\models\__init__.py", line 3, in <module>
from django.db.models.aggregates import * # NOQA
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\db\models\aggregates.py", line 5, in <module>
from django.db.models.expressions import Case, Func, Star, When
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\db\models\expressions.py", line 8, in <module>
from django.db.models import fields
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\db\models\fields\__init__.py", line 11, in <module>
from django import forms
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\forms\__init__.py", line 6, in <module>
from django.forms.boundfield import * # NOQA
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\forms\boundfield.py", line 4, in <module>
from django.forms.widgets import Textarea, TextInput
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\forms\widgets.py", line 26, in <module>
from .renderers import get_default_renderer
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\forms\renderers.py", line 11, in <module>
from django.template.backends.jinja2 import Jinja2
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\django\template\backends\jinja2.py", line 1, in <module>
import jinja2
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\jinja2\__init__.py", line 82, in <module>
_patch_async()
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\jinja2\__init__.py", line 78, in _patch_async
from jinja2.asyncsupport import patch_all
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\jinja2\asyncsupport.py", line 13, in <module>
import asyncio
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\asyncio\__init__.py", line 21, in <module>
from .base_events import *
File "c:\users\nelson\appdata\local\programs\python\python37-32\lib\site-packages\asyncio\base_events.py", line 296
future = tasks.async(future, loop=self)
^
SyntaxError: invalid syntax

Please, help me, this project i'm doing, is very important to me
Reply


Messages In This Thread
Converting to exe problems - by francisco_neves2020 - Apr-18-2019, 08:59 PM
RE: Converting to exe problems - by SheeppOSU - Apr-18-2019, 11:30 PM
RE: Converting to exe problems - by SheeppOSU - Apr-19-2019, 12:12 AM
RE: Converting to exe problems - by gehrenfeld - Apr-20-2019, 12:51 PM
RE: Converting to exe problems - by SheeppOSU - Apr-20-2019, 08:11 PM
RE: Converting to exe problems - by SheeppOSU - Apr-20-2019, 11:20 PM
RE: Converting to exe problems - by SheeppOSU - Apr-20-2019, 11:25 PM
RE: Converting to exe problems - by snippsat - Apr-20-2019, 11:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems converting pyqt4 script to pyqt5 using pyqt4topyqt5.py Vysero 1 2,829 Jul-31-2018, 08:56 PM
Last Post: Axel_Erfurt

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020