asciinema / asciinema

Terminal session recorder 📹
https://asciinema.org
GNU General Public License v3.0
13.94k stars 904 forks source link

I can't run the program on windows. #467

Closed Minecodes closed 1 year ago

Minecodes commented 2 years ago

I tried to run the help command, because I did installed the program the first time, but it sayed ModuleNotFoundError: No module named 'fcntl'. I tried to install it via pip, but it sayed:

ERROR: Could not find a version that satisfies the requirement fcntl (from versions: none)
ERROR: No matching distribution found for fcntl

Can you please fix it or help me to understand the bug? My environment infos are this:

System: Windows 10 Pro (10.0.19044 Build 19044)
System type: x64-based PC
rollingmoai commented 2 years ago

Try this port for Windows: https://github.com/Watfaq/PowerSession-rs

maxfire2008 commented 1 year ago

You could also run wsl then your Windows command line from wsl by running cmd.exe

Edit: you can run just this in wsl asciinema rec -c cmd.exe

maxfire2008 commented 1 year ago

This issue should probably be closed as it is pretty much impossible to run fnctl on Windows. Perhaps the aforementioned WSL solution could be added to the docs?

ku1ik commented 1 year ago

At the moment asciinema recorder doesn't work natively on Windows, and there's no immediate plan to make it work. I heard people got it working under WSL though.

ku1ik commented 1 year ago

There's another discussion on this topic here: https://github.com/orgs/asciinema/discussions/47