python-console-snake icon indicating copy to clipboard operation
python-console-snake copied to clipboard

ImportError: No module named fcntl

Open SochiRussia opened this issue 10 years ago • 4 comments

windows 7 - 64 python 3.5.0b1

SochiRussia avatar May 30 '15 08:05 SochiRussia

I'm also getting this with Python 3.5 32bit on Windows 10

BNNorman avatar Nov 14 '15 19:11 BNNorman

This happens because fcntl is a standard library available only on Linux distributions. You can read more about this here

havanagrawal avatar May 08 '16 12:05 havanagrawal

I'm also getting that problem. How to solve that??

gopi-03 avatar Jul 03 '17 13:07 gopi-03

Try creating a fcntl.py module as suggested here:- https://stackoverflow.com/questions/1422368/fcntl-substitute-on-windows I have to confess I haven't tried it and it's been 2 years, nearly, since I had the problem. Can't even remember which program it was I was playing with...

BNNorman avatar Jul 03 '17 13:07 BNNorman