Skip to content

tftpy doesn't load on Windows #148

@cmr-paul-rigas

Description

@cmr-paul-rigas

Commit 0039d8f introduced usage of the fcntl module to address #14, however the fcntl module doesn't exist on Windows so the tftpy module at version 0.8.6 won't load at all on Windows.

>>> import tftpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\dev\extern\venv\lib\site-packages\tftpy\__init__.py", line 13, in <module>
    from .TftpServer import TftpServer
  File "C:\dev\extern\venv\lib\site-packages\tftpy\TftpServer.py", line 16, in <module>
    from .TftpContexts import TftpContextServer
  File "C:\dev\extern\venv\lib\site-packages\tftpy\TftpContexts.py", line 18, in <module>
    import fcntl
ModuleNotFoundError: No module named 'fcntl'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions