on-internet
← Community

PyInstaller exe file doesn't create log file

Stack Overflow ·

I'm trying to make my scripts executable so I can send it to my colleague. I'm using PyInstaller. pyinstaller --onefile main.py Which creates two folders. When I open dist/main.exe, something is wrong but I don't know what because it doesn't create a log file. I can't figure out why. When I run main.py, the log file is created immediately. Could you check it out? # coding=utf-8 from __future__ import print_function import csv import os import time import logging import sys import traceback from spider import is_connected from database import Database filename = os.path.join(os.path.dirname(os.

Comments

Sign in or sign up to comment and upvote.

No comments yet.