#
#
# .2020-05-17 11:48:49
Python
# ., 2020-05-17 11:48:49

Why is py not being converted to exe?

Converting py file to exe using pyinstaller. Everything converts well, but when I run it, a window opens for a split second and immediately closes.
Here is a screenshot with an error:
5ec0f8cb735c2303319702.png
Here is a list of all imported libraries:
import cv2
from playsound import playsound
import pyowm
import os
import pyttsx3
import subprocess
import time
import datetime
import random
import webbrowser
import speech_recognition as sr from
datetime import date

cannot convert.
I can’t show the file itself, since Habr does not allow me to post a question in which there are more than 10,000 characters.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Makhov, 2020-05-17
@andro1

https://ru.stackoverflow.com/questions/962915/%d0%...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question