N
N
nik_neznay2021-01-11 23:03:40
Python
nik_neznay, 2021-01-11 23:03:40

Why does one code run without error in ms vs 2019 but crash when run from terminal?

Why does one code run without error in ms vs 2019 but crash when run from terminal? I checked both in linux and in windows, I did not understand anything.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
GavriKos, 2021-01-11
@GavriKos

The very first guess is virtualenv. But without AT LEAST errors - and ideally, code - nothing can be said. Vanga on vacation

A
aleks-th, 2021-01-12
@aleks-th

Well, for starters, ping the server to which you connect from the terminal.
It is quite possible that you do not have dns servers registered on your terminal.
--
Well, it also swears at you on ssl.

A
Andy_U, 2021-01-12
@Andy_U

In the script you have port 465, and in the error message 25, which SSL does not support. That is, check that you are running the same script from the IDE and terminals.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question