Feb-17-2022, 10:22 AM
Before somebody else asks,
my main problem is in "translators" packages, all script packages work fine with .pyw extensions, except the "translators" packages,
is this only on my PC or does your PC have the same problem too?
I edited code: #for tracing
create your code at the desktop, and the txt on the desktop too,
@Gribouillis
it indeed, but I tried to simplied the script so that my main problem is the priority
@jttolleson
I tried your code, but the result is the same, Crash to desktop
my main problem is in "translators" packages, all script packages work fine with .pyw extensions, except the "translators" packages,
is this only on my PC or does your PC have the same problem too?
I edited code: #for tracing
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- # enable debugging import cgitb cgitb.enable() print("step 1")#for tracing try: import translators except: import subprocess#for window 10 subprocess.call("pip install translators --upgrade") import translators print("step 2") #for tracing import sys print("step 3") #for tracing if 'translators' not in sys.modules: print("not loaded") else: print("loaded") print("step 4") #for tracing input("Press Enter to continue...")@deanhystad
create your code at the desktop, and the txt on the desktop too,
@Gribouillis
it indeed, but I tried to simplied the script so that my main problem is the priority
@jttolleson
I tried your code, but the result is the same, Crash to desktop