Skip to content

The tftpy==0.8.6 library uses fcntl, so it cannot run natively on Windows. #153

@mosheso

Description

@mosheso

After installing tftpy == 0.8.6 on windows and running:
import tftpy

I get:
import tftpy
File ".venv\lib\site-packages\tftpy_init_.py", line 13, in
from .TftpServer import TftpServer
File ".venv\lib\site-packages\tftpy\TftpServer.py", line 16, in
from .TftpContexts import TftpContextServer
File ".venv\lib\site-packages\tftpy\TftpContexts.py", line 18, in
import fcntl
ModuleNotFoundError: No module named 'fcntl'

The fcntl module is only available on Unix-like systems (Linux, macOS) and not available on Windows.
The tftpy library uses fcntl, so it cannot run natively on Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions