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

error Protocol #37

Open
jakubartur opened this issue Nov 10, 2023 · 1 comment
Open

error Protocol #37

jakubartur opened this issue Nov 10, 2023 · 1 comment

Comments

@jakubartur
Copy link

(venv) xx@pool ~/Zilliqa-Mining-Proxy # python3 start.py
Traceback (most recent call last):
File "start.py", line 24, in
from zilpool import poolserver
File "/root/Zilliqa-Mining-Proxy/zilpool/poolserver.py", line 28, in
from jsonrpcserver import async_dispatch
File "/root/Zilliqa-Mining-Proxy/venv/lib/python3.7/site-packages/jsonrpcserver/init.py", line 19, in
from .async_main import (
File "/root/Zilliqa-Mining-Proxy/venv/lib/python3.7/site-packages/jsonrpcserver/async_main.py", line 5, in
from .async_dispatcher import dispatch_to_response_pure
File "/root/Zilliqa-Mining-Proxy/venv/lib/python3.7/site-packages/jsonrpcserver/async_dispatcher.py", line 9, in
from oslash.either import Left # type: ignore
File "/root/Zilliqa-Mining-Proxy/venv/lib/python3.7/site-packages/oslash/init.py", line 2, in
from .typing import Functor, Applicative, Monoid, Monad
File "/root/Zilliqa-Mining-Proxy/venv/lib/python3.7/site-packages/oslash/typing/init.py", line 2, in
from .applicative import Applicative
File "/root/Zilliqa-Mining-Proxy/venv/lib/python3.7/site-packages/oslash/typing/applicative.py", line 3, in
from typing import Callable, TypeVar, Protocol
ImportError: cannot import name 'Protocol' from 'typing' (/usr/lib/python3.7/typing.py)
(venv) xx@pool ~/Zilliqa-Mining-Proxy #

me use
python3 --version
Python 3.7.5
any idea why fix ?

@jakubartur
Copy link
Author

with this, it works on 3.8 but there is no mining. Can I download the constants.xml file with conf under the proxy? I have the impression that there is something wrong with my conf

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

No branches or pull requests

1 participant