Dec-04-2020, 07:32 PM
I installed bpython quite easily no problem. However whenever i try to run it anything I get this error.
I am installing and trying to run bpython on Windows 10 Pro 64 bit.
When I google the error it seems to say there is no fix for this. It is a quirk on Windows 10 Pro, so move to Ubuntu where it will work.
Now it also implies on the internet that there is a work around. It seems to be vague on this so maybe the workaround is not universal but just applies in some cases.
So which is it? Is there a reliable workaround for Windows 10 or or not?
Any help appreciated. Thanks in advance.
Respectfully,
ErnestTBass
C:\Users\Newport_j\Downloads>bpython --V Traceback (most recent call last): File "c:\users\newport_j\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\users\newport_j\appdata\local\programs\python\python37\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\Newport_j\AppData\Local\Programs\Python\Python37\Scripts\bpython.exe\__main__.py", line 4, in <module> File "c:\users\newport_j\appdata\local\programs\python\python37\lib\site-packages\bpython\curtsies.py", line 11, in <module> import curtsies File "c:\users\newport_j\appdata\local\programs\python\python37\lib\site-packages\curtsies\__init__.py", line 4, in <module> from .window import FullscreenWindow, CursorAwareWindow File "c:\users\newport_j\appdata\local\programs\python\python37\lib\site-packages\curtsies\window.py", line 30, in <module> import blessings File "c:\users\newport_j\appdata\local\programs\python\python37\lib\site-packages\blessings\__init__.py", line 7, in <module> from fcntl import ioctl ModuleNotFoundError: No module named 'fcntl' C:\Users\Newport_j\Downloads>bpython Traceback (most recent call last): File "c:\users\newport_j\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\users\newport_j\appdata\local\programs\python\python37\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\Newport_j\AppData\Local\Programs\Python\Python37\Scripts\bpython.exe\__main__.py", line 4, in <module> File "c:\users\newport_j\appdata\local\programs\python\python37\lib\site-packages\bpython\curtsies.py", line 11, in <module> import curtsies File "c:\users\newport_j\appdata\local\programs\python\python37\lib\site-packages\curtsies\__init__.py", line 4, in <module> from .window import FullscreenWindow, CursorAwareWindow File "c:\users\newport_j\appdata\local\programs\python\python37\lib\site-packages\curtsies\window.py", line 30, in <module> import blessings File "c:\users\newport_j\appdata\local\programs\python\python37\lib\site-packages\blessings\__init__.py", line 7, in <module> from fcntl import ioctl ModuleNotFoundError: No module named 'fcntl'The error say no module named 'fcntl'.
I am installing and trying to run bpython on Windows 10 Pro 64 bit.
When I google the error it seems to say there is no fix for this. It is a quirk on Windows 10 Pro, so move to Ubuntu where it will work.
Now it also implies on the internet that there is a work around. It seems to be vague on this so maybe the workaround is not universal but just applies in some cases.
So which is it? Is there a reliable workaround for Windows 10 or or not?
Any help appreciated. Thanks in advance.
Respectfully,
ErnestTBass