import fcntl - error
See original GitHub issueIβve just installed pymux, but canβt run it. Error:
C:\Windows\system32>pymux
Traceback (most recent call last):
File "c:\python\python36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\python\python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Python\Python36\Scripts\pymux.exe\__main__.py", line 5, in <module>
File "c:\python\python36\lib\site-packages\pymux\entry_points\run_pymux.py", line 28, in <module>
from pymux.main import Pymux
File "c:\python\python36\lib\site-packages\pymux\main.py", line 9, in <module>
from prompt_toolkit.eventloop.posix import PosixEventLoop
File "c:\python\python36\lib\site-packages\prompt_toolkit\eventloop\posix.py", line 2, in <module>
import fcntl
ModuleNotFoundError: No module named 'fcntl'
P.S. installation output:
C:\Windows\system32>pip install pymux
Collecting pymux
Downloading pymux-0.14-py3-none-any.whl (78kB)
100% |ββββββββββββββββββββββββββββββββ| 81kB 495kB/s
Collecting prompt-toolkit<1.1.0,>=1.0.8 (from pymux)
Downloading prompt_toolkit-1.0.15-py3-none-any.whl (247kB)
100% |ββββββββββββββββββββββββββββββββ| 256kB 1.6MB/s
Collecting pyte<0.6.0,>=0.5.1 (from pymux)
Downloading pyte-0.5.2-py2.py3-none-any.whl
Collecting docopt>=0.6.2 (from pymux)
Downloading docopt-0.6.2.tar.gz
Requirement already satisfied: six>=1.9.0 in c:\python\python36\lib\site-packages (from pymux)
Collecting wcwidth (from prompt-toolkit<1.1.0,>=1.0.8->pymux)
Downloading wcwidth-0.1.7-py2.py3-none-any.whl
Installing collected packages: wcwidth, prompt-toolkit, pyte, docopt, pymux
Running setup.py install for docopt ... done
Successfully installed docopt-0.6.2 prompt-toolkit-1.0.15 pymux-0.14 pyte-0.5.2 wcwidth-0.1.7
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Error: No module named 'fcntl' - python - Stack Overflow
The issue is that 'fcntl' is not available on windows. The alternative that can be used, as suggested by Alexey Grigorov in Ml...
Read more >ModuleNotFoundError: No Module Named 'fcntl' (Python)
The minimal occurrence of the error is when using Windows, for example, and you run import fcntl or any derivative of the import...
Read more >ModuleNotFoundError: No module named 'fcntl' #1414 - GitHub
While installing ansible in my windows, I ma getting this error "ERROR: No module named 'fcntl' ". How to resolve this?
Read more >How To Fix Python Error fcntl On Windows - YouTube
How To Fix Python Error fcntl On Windows [re-edit]This video show you how to Python fix Error fcntl on Windows, I use urwid...
Read more >ModuleNotFoundError: No module named 'fcntl' - Django
Hi everyone, I'm currently taking the Django Part 3 course using Windows 10, and I came across this error when running the command...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @dCosminn,
The latest master branch should run on Windows 10, but only using
pymux standalone
for now. I didnβt release it yet, because itβs not completely stable yet.It depends on prompt_toolkit 2.0 and uses yawinpty. Given that yawinpty was removed from GitHub and that winpty is already a hack to begin with, Iβm waiting for the next Windows release that supports true PTYs. This will make the Windows implementation super clean. See: https://blogs.msdn.microsoft.com/commandline/2018/08/02/windows-command-line-introducing-the-windows-pseudo-console-conpty/
Also see: https://github.com/jonathanslenders/pymux/issues/58
Error IPYTHON (tensor) C:\Windows\system32>ipython Traceback (most recent call last): File βc:\users\admin\anaconda3\envs\tensor\lib\runpy.pyβ, line 194, in _run_module_as_main return run_code(code, main_globals, None, File βc:\users\admin\anaconda3\envs\tensor\lib\runpy.pyβ, line 87, in run_code exec(code, run_globals) File "C:\Users\ADMIN\anaconda3\envs\tensor\Scripts\ipython.exe_main.py", line 4, in <module> File "c:\users\admin\anaconda3\envs\tensor\lib\site-packages\IPython_init.py", line 56, in <module> from .terminal.embed import embed File βc:\users\admin\anaconda3\envs\tensor\lib\site-packages\IPython\terminal\embed.pyβ, line 16, in <module> from IPython.terminal.interactiveshell import TerminalInteractiveShell File βc:\users\admin\anaconda3\envs\tensor\lib\site-packages\IPython\terminal\interactiveshell.pyβ, line 21, in <module> from prompt_toolkit.formatted_text import PygmentsTokens ModuleNotFoundError: No module named βprompt_toolkit.formatted_textβ