При запуске Pyinstaller.exe возникает ошибкаPython

Программы на Python
Ответить Пред. темаСлед. тема
Anonymous
 При запуске Pyinstaller.exe возникает ошибка

Сообщение Anonymous »

Сообщение об ошибке:
Файл «SAE v.0.0.1.py», строка 8, в
RuntimeError: input(): Lost sys.stdin< /p>
И вот код:

Код: Выделить всё

print("[My name] SAE Project v.0.0.1.")
print("1. FFA History.")
print("2. AG History.")
print("3. FFA Meaning.")
print("4. AG Meaning.")
print("5. Why Is FFA important?")
print("6. Why is AG Important?")
choice = int(input("Enter your choice: "))
if choice == 1:
print("The National FFA Organization (formerly known as the Future Farmers of America) was founded in 1928. It began as an organization for boys interested in farming but has since evolved into an inclusive student organization promoting agricultural education. The FFA aims to develop students' leadership, personal growth, and career success through agricultural education.")
if choice == 2:
print("Not yet implemented.")
if choice == 3:
print("Not yet implemented.")
if choice == 4:
print("Not yet implemented.")
if choice == 5:
print("Not yet implemented.")
if choice == 6:
print("Not yet implemented.")
Я попытался запустить .exe-файл, скомпилированный с помощью Pyinstaller, и он выдал сообщение об ошибке.

Подробнее здесь: https://stackoverflow.com/questions/791 ... ror-occurs
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Python»