Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip installed Firefly is broken on Windows #161

Open
ageller opened this issue Jan 17, 2023 · 1 comment
Open

pip installed Firefly is broken on Windows #161

ageller opened this issue Jan 17, 2023 · 1 comment

Comments

@ageller
Copy link
Owner

ageller commented Jan 17, 2023

Firefly installation works on Mac. But on Windows there is an error (copied below). I suspect there may be a version issue for Windows packages. I have a working Firefly install on my machine, so I will check the versions of all libraries and compare and test.

$ firefly

Traceback (most recent call last):
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\Scripts\firefly", line 12, in <module>
    from firefly.server import startHTTPServer, startFlaskServer
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\lib\site-packages\firefly\server.py", line 15, in <module>
    from flask_socketio import SocketIO, emit, join_room, leave_room
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\lib\site-packages\flask_socketio\__init__.py", line 9, in <module>
    from socketio import socketio_manage  # noqa: F401
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\lib\site-packages\socketio\__init__.py", line 9, in <module>
    from .zmq_manager import ZmqManager
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\lib\site-packages\socketio\zmq_manager.py", line 5, in <module>
    import eventlet.green.zmq as zmq
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\lib\site-packages\eventlet\__init__.py", line 17, in <module>
    from eventlet import convenience
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\lib\site-packages\eventlet\convenience.py", line 7, in <module>
    from eventlet.green import socket
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\lib\site-packages\eventlet\green\socket.py", line 21, in <module>
    from eventlet.support import greendns
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\lib\site-packages\eventlet\support\greendns.py", line 66, in <module>
    setattr(dns, pkg, import_patched('dns.' + pkg))
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\lib\site-packages\eventlet\support\greendns.py", line 61, in import_patched
    return patcher.import_patched(module_name, **modules)
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\lib\site-packages\eventlet\patcher.py", line 132, in import_patched
    return inject(
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\lib\site-packages\eventlet\patcher.py", line 109, in inject
    module = __import__(module_name, {}, {}, module_name.split('.')[:-1])
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\lib\site-packages\dns\zone.py", line 86, in <module>
    class Zone(dns.transaction.TransactionManager):
  File "C:\Users\ageller\Anaconda3\envs\firefly_test\lib\site-packages\dns\zone.py", line 757, in Zone
    ) -> dns.rdtypes.ANY.SOA.SOA:
AttributeError: module 'dns.rdtypes' has no attribute 'ANY'
@ageller
Copy link
Owner Author

ageller commented Oct 3, 2024

Noting that I recently installed Firefly in wsl (via pip install firefly) and didn't get any errors. I have not tried on regular Windows recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant