asciinema / asciinema

Terminal session recorder 📹

Home Page:https://asciinema.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to run asciinema on python 3.10.4

Saeedprojects opened this issue · comments

It says in the asciinema v2.2.0 release that offical support for python 3.10 was added, but I am getting this error when I try to run it asciinema in PowerShell command line.

Traceback (most recent call last): File "C:\Users\username\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\username\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\username\AppData\Local\Programs\Python\Python310\Scripts\asciinema.exe\__main__.py", line 4, in <module> File "C:\Users\username\AppData\Local\Programs\Python\Python310\lib\site-packages\asciinema\__init__.py", line 12, in <module> from .recorder import record File "C:\Users\username\AppData\Local\Programs\Python\Python310\lib\site-packages\asciinema\recorder.py", line 5, in <module> from . import pty_ as pty # avoid collisions with standard library pty File "C:\Users\username\AppData\Local\Programs\Python\Python310\lib\site-packages\asciinema\pty_.py", line 3, in <module> import fcntl ModuleNotFoundError: No module named 'fcntl'