drivecom icon indicating copy to clipboard operation
drivecom copied to clipboard

OSError: [Errno 25] Inappropriate ioctl for device

Open millzee2000 opened this issue 8 years ago • 5 comments

OSError: [Errno 25] Inappropriate ioctl for device I'm getting this error when I try to run the code on a mac. Can anyone please help?

millzee2000 avatar Jul 16 '16 13:07 millzee2000

Are you running the script with python3?

python --version

thijsdezoete avatar Oct 04 '16 08:10 thijsdezoete

I am getting the same issue.

wizofe avatar Apr 02 '18 16:04 wizofe

Hi, guys, Do you solve the problem? I got the same exception when I run the following code: `

code line in script

width = os.get_terminal_size().columns

run

../bin/normalizer.py input.tsv out.tsv 1> log 2> error `

ypchan avatar Jul 14 '20 02:07 ypchan

I have same problem.

letthink avatar Feb 19 '21 09:02 letthink

Hi guys, I have a way to salve it, try use python3 xxx.py to run your app, don't use python, because it default python2. That why it will have error.

letthink avatar Feb 23 '21 15:02 letthink