“pip install . ” failed ,I want to build from source, and my system is Windows 10. I have installed dependencies like Python 3.10, Git, Golang 1.21, Node.js, and Yarn, but I encountered an error.
Opened this issue · 1 comments
Problem Des(venv) PS C:\Users\dk\crynux-node>
(venv) PS C:\Users\dk\crynux-node> pip install .
Processing c:\users\dk\crynux-node
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: httpx~=0.24.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (0.24.1)
Requirement already satisfied: eth-rlp==1.0.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (1.0.1)
Requirement already satisfied: sqlalchemy[asyncio]=2.0.20 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (2.0.20)=3.7.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (3.7.1)
Requirement already satisfied: anyio
Requirement already satisfied: aiosqlite~=0.19.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (0.19.0)
Requirement already satisfied: tenacity~=8.2.3 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (8.2.3)
Requirement already satisfied: psutil~=5.9.8 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (5.9.8)
Requirement already satisfied: pydantic-settings~=2.0.3 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (2.0.3)
Requirement already satisfied: celery[redis]=5.3.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (5.3.1)=0.14.4 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (0.14.4)
Requirement already satisfied: hypercorn
Requirement already satisfied: python-multipart==0.0.6 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (0.0.6)
Requirement already satisfied: pyyaml~=5.3.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (5.3.1)
Requirement already satisfied: fastapi~=0.101.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (0.101.1)
Requirement already satisfied: importlib-resources~=6.0.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (6.0.1)
Requirement already satisfied: pydantic~=2.2.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (2.2.1)
Requirement already satisfied: web3~=6.17.2 in c:\users\dk\crynux-node\venv\lib\site-packages (from crynux-node==2.0.5) (6.17.2)
Requirement already satisfied: eth-utils>=2.0.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from eth-rlp==1.0.1->crynux-node==2.0.5) (4.1.1)
Requirement already satisfied: typing-extensions>=4.0.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from eth-rlp==1.0.1->crynux-node==2.0.5) (4.11.0)
Requirement already satisfied: rlp>=0.6.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from eth-rlp==1.0.1->crynux-node==2.0.5) (4.0.1)
Requirement already satisfied: hexbytes<1,>=0.1.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from eth-rlp==1.0.1->crynux-node==2.0.5) (0.3.1)
Requirement already satisfied: exceptiongroup in c:\users\dk\crynux-node\venv\lib\site-packages (from anyio~=3.7.1->crynux-node==2.0.5) (1.2.1)
Requirement already satisfied: sniffio>=1.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from anyio~=3.7.1->crynux-node==2.0.5) (1.3.1)
Requirement already satisfied: idna>=2.8 in c:\users\dk\crynux-node\venv\lib\site-packages (from anyio~=3.7.1->crynux-node==2.0.5) (3.7)
Requirement already satisfied: click-repl>=0.2.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from celery[redis]=5.3.1->crynux-node==2.0.5) (0.3.0)=5.3.1->crynux-node==2.0.5) (0.3.1)
Requirement already satisfied: click-didyoumean>=0.3.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from celery[redis]
Requirement already satisfied: click-plugins>=1.1.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from celery[redis]=5.3.1->crynux-node==2.0.5) (1.1.1)=5.3.1->crynux-node==2.0.5) (5.1.0)
Requirement already satisfied: vine<6.0,>=5.0.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from celery[redis]
Requirement already satisfied: click<9.0,>=8.1.2 in c:\users\dk\crynux-node\venv\lib\site-packages (from celery[redis]=5.3.1->crynux-node==2.0.5) (8.1.7)=5.3.1->crynux-node==2.0.5) (2024.1)
Requirement already satisfied: tzdata>=2022.7 in c:\users\dk\crynux-node\venv\lib\site-packages (from celery[redis]
Requirement already satisfied: billiard<5.0,>=4.1.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from celery[redis]=5.3.1->crynux-node==2.0.5) (4.2.0)=5.3.1->crynux-node==2.0.5) (5.3.7)
Requirement already satisfied: kombu<6.0,>=5.3.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from celery[redis]
Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\dk\crynux-node\venv\lib\site-packages (from celery[redis]=5.3.1->crynux-node==2.0.5) (2.9.0.post0)=5.3.1->crynux-node==2.0.5) (5.0.4)
Requirement already satisfied: redis!=4.5.5,>=4.5.2 in c:\users\dk\crynux-node\venv\lib\site-packages (from celery[redis]
Requirement already satisfied: starlette<0.28.0,>=0.27.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from fastapi~=0.101.1->crynux-node==2.0.5) (0.27.0)
Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from httpx~=0.24.1->crynux-node==2.0.5) (0.17.3)
Requirement already satisfied: certifi in c:\users\dk\crynux-node\venv\lib\site-packages (from httpx~=0.24.1->crynux-node==2.0.5) (2024.2.2)
Requirement already satisfied: h11 in c:\users\dk\crynux-node\venv\lib\site-packages (from hypercorn~=0.14.4->crynux-node==2.0.5) (0.14.0)
Requirement already satisfied: tomli in c:\users\dk\crynux-node\venv\lib\site-packages (from hypercorn~=0.14.4->crynux-node==2.0.5) (2.0.1)
Requirement already satisfied: wsproto>=0.14.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from hypercorn~=0.14.4->crynux-node==2.0.5) (1.2.0)
Requirement already satisfied: priority in c:\users\dk\crynux-node\venv\lib\site-packages (from hypercorn~=0.14.4->crynux-node==2.0.5) (2.0.0)
Requirement already satisfied: h2>=3.1.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from hypercorn~=0.14.4->crynux-node==2.0.5) (4.1.0)
Requirement already satisfied: pydantic-core==2.6.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from pydantic~=2.2.1->crynux-node==2.0.5) (2.6.1)
Requirement already satisfied: annotated-types>=0.4.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from pydantic~=2.2.1->crynux-node==2.0.5) (0.6.0)
Requirement already satisfied: python-dotenv>=0.21.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from pydantic-settings~=2.0.3->crynux-node==2.0.5) (1.0.1)
Requirement already satisfied: greenlet!=0.4.17 in c:\users\dk\crynux-node\venv\lib\site-packages (from sqlalchemy[asyncio]=2.0.20->crynux-node==2.0.5) (3.0.3)=6.17.2->crynux-node==2.0.5) (5.1.0)
Requirement already satisfied: eth-abi>=4.0.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from web3
Requirement already satisfied: websockets>=10.0.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from web3~=6.17.2->crynux-node==2.0.5) (12.0)
Requirement already satisfied: jsonschema>=4.0.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from web3~=6.17.2->crynux-node==2.0.5) (4.22.0)
Requirement already satisfied: lru-dict<1.3.0,>=1.1.6 in c:\users\dk\crynux-node\venv\lib\site-packages (from web3~=6.17.2->crynux-node==2.0.5) (1.2.0)
Requirement already satisfied: aiohttp>=3.7.4.post0 in c:\users\dk\crynux-node\venv\lib\site-packages (from web3~=6.17.2->crynux-node==2.0.5) (3.9.5)
Requirement already satisfied: eth-typing!=4.2.0,>=3.0.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from web3~=6.17.2->crynux-node==2.0.5) (4.2.3)
Requirement already satisfied: requests>=2.16.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from web3~=6.17.2->crynux-node==2.0.5) (2.31.0)
Requirement already satisfied: pywin32>=223 in c:\users\dk\crynux-node\venv\lib\site-packages (from web3~=6.17.2->crynux-node==2.0.5) (306)
Requirement already satisfied: protobuf>=4.21.6 in c:\users\dk\crynux-node\venv\lib\site-packages (from web3~=6.17.2->crynux-node==2.0.5) (5.26.1)
Requirement already satisfied: pyunormalize>=15.0.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from web3~=6.17.2->crynux-node==2.0.5) (15.1.0)
Requirement already satisfied: eth-hash[pycryptodome]>=0.5.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from web3~=6.17.2->crynux-node==2.0.5) (0.7.0)
Requirement already satisfied: eth-account<0.13,>=0.8.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from web3~=6.17.2->crynux-node==2.0.5) (0.11.2)
Requirement already satisfied: frozenlist>=1.1.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from aiohttp>=3.7.4.post0->web3~=6.17.2->crynux-node==2.0.5) (1.4.1)
Requirement already satisfied: attrs>=17.3.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from aiohttp>=3.7.4.post0->web3~=6.17.2->crynux-node==2.0.5) (23.2.0)
Requirement already satisfied: async-timeout<5.0,>=4.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from aiohttp>=3.7.4.post0->web3~=6.17.2->crynux-node==2.0.5) (4.0.3)
Requirement already satisfied: aiosignal>=1.1.2 in c:\users\dk\crynux-node\venv\lib\site-packages (from aiohttp>=3.7.4.post0->web3~=6.17.2->crynux-node==2.0.5) (1.3.1)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from aiohttp>=3.7.4.post0->web3~=6.17.2->crynux-node==2.0.5) (1.9.4)
Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\dk\crynux-node\venv\lib\site-packages (from aiohttp>=3.7.4.post0->web3~=6.17.2->crynux-node==2.0.5) (6.0.5)
Requirement already satisfied: colorama in c:\users\dk\crynux-node\venv\lib\site-packages (from click<9.0,>=8.1.2->celery[redis]=5.3.1->crynux-node==2.0.5) (0.4.6)=5.3.1->crynux-node==2.0.5) (3.0.43)
Requirement already satisfied: prompt-toolkit>=3.0.36 in c:\users\dk\crynux-node\venv\lib\site-packages (from click-repl>=0.2.0->celery[redis]
Requirement already satisfied: parsimonious<0.11.0,>=0.10.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from eth-abi>=4.0.0->web3~=6.17.2->crynux-node==2.0.5) (0.10.0)
Requirement already satisfied: bitarray>=2.4.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from eth-account<0.13,>=0.8.0->web3~=6.17.2->crynux-node==2.0.5) (2.9.2)
Requirement already satisfied: eth-keyfile>=0.6.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from eth-account<0.13,>=0.8.0->web3~=6.17.2->crynux-node==2.0.5) (0.8.1)
Requirement already satisfied: eth-keys>=0.4.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from eth-account<0.13,>=0.8.0->web3~=6.17.2->crynux-node==2.0.5) (0.5.1)
Requirement already satisfied: ckzg>=0.4.3 in c:\users\dk\crynux-node\venv\lib\site-packages (from eth-account<0.13,>=0.8.0->web3~=6.17.2->crynux-node==2.0.5) (1.0.2)
Requirement already satisfied: pycryptodome<4,>=3.6.6 in c:\users\dk\crynux-node\venv\lib\site-packages (from eth-hash[pycryptodome]>=0.5.1->web3~=6.17.2->crynux-node==2.0.5) (3.20.0)
Requirement already satisfied: cytoolz>=0.10.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from eth-utils>=2.0.0->eth-rlp==1.0.1->crynux-node==2.0.5) (0.12.3)
Requirement already satisfied: hyperframe<7,>=6.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from h2>=3.1.0->hypercorn~=0.14.4->crynux-node==2.0.5) (6.0.1)
Requirement already satisfied: hpack<5,>=4.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from h2>=3.1.0->hypercorn~=0.14.4->crynux-node==2.0.5) (4.0.0)
Requirement already satisfied: referencing>=0.28.4 in c:\users\dk\crynux-node\venv\lib\site-packages (from jsonschema>=4.0.0->web3~=6.17.2->crynux-node==2.0.5) (0.35.1)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in c:\users\dk\crynux-node\venv\lib\site-packages (from jsonschema>=4.0.0->web3~=6.17.2->crynux-node==2.0.5) (2023.12.1)
Requirement already satisfied: rpds-py>=0.7.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from jsonschema>=4.0.0->web3~=6.17.2->crynux-node==2.0.5) (0.18.1)
Requirement already satisfied: amqp<6.0.0,>=5.1.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from kombu<6.0,>=5.3.1->celery[redis]=5.3.1->crynux-node==2.0.5) (5.2.0)=5.3.1->crynux-node==2.0.5) (1.16.0)
Requirement already satisfied: six>=1.5 in c:\users\dk\crynux-node\venv\lib\site-packages (from python-dateutil>=2.8.2->celery[redis]
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\dk\crynux-node\venv\lib\site-packages (from requests>=2.16.0->web3~=6.17.2->crynux-node==2.0.5) (2.2.1)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\dk\crynux-node\venv\lib\site-packages (from requests>=2.16.0->web3~=6.17.2->crynux-node==2.0.5) (3.3.2)
Requirement already satisfied: toolz>=0.8.0 in c:\users\dk\crynux-node\venv\lib\site-packages (from cytoolz>=0.10.1->eth-utils>=2.0.0->eth-rlp==1.0.1->crynux-node==2.0.5) (0.12.1)
Requirement already satisfied: regex>=2022.3.15 in c:\users\dk\crynux-node\venv\lib\site-packages (from parsimonious<0.11.0,>=0.10.0->eth-abi>=4.0.0->web3~=6.17.2->crynux-node==2.0.5) (2024.5.15)
Requirement already satisfied: wcwidth in c:\users\dk\crynux-node\venv\lib\site-packages (from prompt-toolkit>=3.0.36->click-repl>=0.2.0->celery[redis]~=5.3.1->crynux-node==2.0.5) (0.2.13)
Building wheels for collected packages: crynux-node
Building wheel for crynux-node (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for crynux-node (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [185 lines of output]
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\crynux_server
copying src\crynux_server\celery_app.py -> build\lib.win-amd64-cpython-310\crynux_server
copying src\crynux_server\config.py -> build\lib.win-amd64-cpython-310\crynux_server
copying src\crynux_server\log.py -> build\lib.win-amd64-cpython-310\crynux_server
copying src\crynux_server\main.py -> build\lib.win-amd64-cpython-310\crynux_server
copying src\crynux_server\run.py -> build\lib.win-amd64-cpython-310\crynux_server
copying src\crynux_server\stop.py -> build\lib.win-amd64-cpython-310\crynux_server
copying src\crynux_server\utils.py -> build\lib.win-amd64-cpython-310\crynux_server
copying src\crynux_server_init_.py -> build\lib.win-amd64-cpython-310\crynux_server
creating build\lib.win-amd64-cpython-310\crynux_worker
copying src\crynux_worker\celery.py -> build\lib.win-amd64-cpython-310\crynux_worker
copying src\crynux_worker\config.py -> build\lib.win-amd64-cpython-310\crynux_worker
copying src\crynux_worker\inference.py -> build\lib.win-amd64-cpython-310\crynux_worker
copying src\crynux_worker\log.py -> build\lib.win-amd64-cpython-310\crynux_worker
copying src\crynux_worker\prefetch.py -> build\lib.win-amd64-cpython-310\crynux_worker
copying src\crynux_worker\utils.py -> build\lib.win-amd64-cpython-310\crynux_worker
copying src\crynux_worker_init_.py -> build\lib.win-amd64-cpython-310\crynux_worker
creating build\lib.win-amd64-cpython-310\crynux_server\contracts
copying src\crynux_server\contracts\exceptions.py -> build\lib.win-amd64-cpython-310\crynux_server\contracts
copying src\crynux_server\contracts\network_stats.py -> build\lib.win-amd64-cpython-310\crynux_server\contracts
copying src\crynux_server\contracts\node.py -> build\lib.win-amd64-cpython-310\crynux_server\contracts
copying src\crynux_server\contracts\qos.py -> build\lib.win-amd64-cpython-310\crynux_server\contracts
copying src\crynux_server\contracts\task.py -> build\lib.win-amd64-cpython-310\crynux_server\contracts
copying src\crynux_server\contracts\task_queue.py -> build\lib.win-amd64-cpython-310\crynux_server\contracts
copying src\crynux_server\contracts\utils.py -> build\lib.win-amd64-cpython-310\crynux_server\contracts
copying src\crynux_server\contracts\w3_pool.py -> build\lib.win-amd64-cpython-310\crynux_server\contracts
copying src\crynux_server\contracts_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\contracts
creating build\lib.win-amd64-cpython-310\crynux_server\db
copying src\crynux_server\db\connect.py -> build\lib.win-amd64-cpython-310\crynux_server\db
copying src\crynux_server\db_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\db
creating build\lib.win-amd64-cpython-310\crynux_server\event_queue
copying src\crynux_server\event_queue\abc.py -> build\lib.win-amd64-cpython-310\crynux_server\event_queue
copying src\crynux_server\event_queue\db_impl.py -> build\lib.win-amd64-cpython-310\crynux_server\event_queue
copying src\crynux_server\event_queue\memory_impl.py -> build\lib.win-amd64-cpython-310\crynux_server\event_queue
copying src\crynux_server\event_queue_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\event_queue
creating build\lib.win-amd64-cpython-310\crynux_server\faucet
copying src\crynux_server\faucet\abc.py -> build\lib.win-amd64-cpython-310\crynux_server\faucet
copying src\crynux_server\faucet\mock_impl.py -> build\lib.win-amd64-cpython-310\crynux_server\faucet
copying src\crynux_server\faucet\web_impl.py -> build\lib.win-amd64-cpython-310\crynux_server\faucet
copying src\crynux_server\faucet_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\faucet
creating build\lib.win-amd64-cpython-310\crynux_server\models
copying src\crynux_server\models\event.py -> build\lib.win-amd64-cpython-310\crynux_server\models
copying src\crynux_server\models\node.py -> build\lib.win-amd64-cpython-310\crynux_server\models
copying src\crynux_server\models\task.py -> build\lib.win-amd64-cpython-310\crynux_server\models
copying src\crynux_server\models\tx.py -> build\lib.win-amd64-cpython-310\crynux_server\models
copying src\crynux_server\models_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\models
creating build\lib.win-amd64-cpython-310\crynux_server\node_manager
copying src\crynux_server\node_manager\node_manager.py -> build\lib.win-amd64-cpython-310\crynux_server\node_manager
copying src\crynux_server\node_manager\state_manager.py -> build\lib.win-amd64-cpython-310\crynux_server\node_manager
copying src\crynux_server\node_manager_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\node_manager
creating build\lib.win-amd64-cpython-310\crynux_server\relay
copying src\crynux_server\relay\abc.py -> build\lib.win-amd64-cpython-310\crynux_server\relay
copying src\crynux_server\relay\exceptions.py -> build\lib.win-amd64-cpython-310\crynux_server\relay
copying src\crynux_server\relay\mock_impl.py -> build\lib.win-amd64-cpython-310\crynux_server\relay
copying src\crynux_server\relay\sign.py -> build\lib.win-amd64-cpython-310\crynux_server\relay
copying src\crynux_server\relay\web_impl.py -> build\lib.win-amd64-cpython-310\crynux_server\relay
copying src\crynux_server\relay_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\relay
creating build\lib.win-amd64-cpython-310\crynux_server\server
copying src\crynux_server\server\app.py -> build\lib.win-amd64-cpython-310\crynux_server\server
copying src\crynux_server\server\depends.py -> build\lib.win-amd64-cpython-310\crynux_server\server
copying src\crynux_server\server\middleware.py -> build\lib.win-amd64-cpython-310\crynux_server\server
copying src\crynux_server\server_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\server
creating build\lib.win-amd64-cpython-310\crynux_server\task
copying src\crynux_server\task\task_runner.py -> build\lib.win-amd64-cpython-310\crynux_server\task
copying src\crynux_server\task\task_system.py -> build\lib.win-amd64-cpython-310\crynux_server\task
copying src\crynux_server\task\utils.py -> build\lib.win-amd64-cpython-310\crynux_server\task
copying src\crynux_server\task_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\task
creating build\lib.win-amd64-cpython-310\crynux_server\watcher
copying src\crynux_server\watcher\block_cache.py -> build\lib.win-amd64-cpython-310\crynux_server\watcher
copying src\crynux_server\watcher\watcher.py -> build\lib.win-amd64-cpython-310\crynux_server\watcher
copying src\crynux_server\watcher_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\watcher
creating build\lib.win-amd64-cpython-310\crynux_server\db\models
copying src\crynux_server\db\models\base.py -> build\lib.win-amd64-cpython-310\crynux_server\db\models
copying src\crynux_server\db\models\block.py -> build\lib.win-amd64-cpython-310\crynux_server\db\models
copying src\crynux_server\db\models\node.py -> build\lib.win-amd64-cpython-310\crynux_server\db\models
copying src\crynux_server\db\models\task.py -> build\lib.win-amd64-cpython-310\crynux_server\db\models
copying src\crynux_server\db\models\tx.py -> build\lib.win-amd64-cpython-310\crynux_server\db\models
copying src\crynux_server\db\models_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\db\models
creating build\lib.win-amd64-cpython-310\crynux_server\node_manager\state_cache
copying src\crynux_server\node_manager\state_cache\abc.py -> build\lib.win-amd64-cpython-310\crynux_server\node_manager\state_cache
copying src\crynux_server\node_manager\state_cache\db_impl.py -> build\lib.win-amd64-cpython-310\crynux_server\node_manager\state_cache
copying src\crynux_server\node_manager\state_cache\memory_impl.py -> build\lib.win-amd64-cpython-310\crynux_server\node_manager\state_cache
copying src\crynux_server\node_manager\state_cache_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\node_manager\state_cache
creating build\lib.win-amd64-cpython-310\crynux_server\server\v1
copying src\crynux_server\server\v1\account.py -> build\lib.win-amd64-cpython-310\crynux_server\server\v1
copying src\crynux_server\server\v1\node.py -> build\lib.win-amd64-cpython-310\crynux_server\server\v1
copying src\crynux_server\server\v1\system.py -> build\lib.win-amd64-cpython-310\crynux_server\server\v1
copying src\crynux_server\server\v1\task.py -> build\lib.win-amd64-cpython-310\crynux_server\server\v1
copying src\crynux_server\server\v1\utils.py -> build\lib.win-amd64-cpython-310\crynux_server\server\v1
copying src\crynux_server\server\v1_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\server\v1
creating build\lib.win-amd64-cpython-310\crynux_server\task\state_cache
copying src\crynux_server\task\state_cache\abc.py -> build\lib.win-amd64-cpython-310\crynux_server\task\state_cache
copying src\crynux_server\task\state_cache\db_impl.py -> build\lib.win-amd64-cpython-310\crynux_server\task\state_cache
copying src\crynux_server\task\state_cache\memory_impl.py -> build\lib.win-amd64-cpython-310\crynux_server\task\state_cache
copying src\crynux_server\task\state_cache_init_.py -> build\lib.win-amd64-cpython-310\crynux_server\task\state_cache
creating build\lib.win-amd64-cpython-310\crynux_worker\models
copying src\crynux_worker\models\params.py -> build\lib.win-amd64-cpython-310\crynux_worker\models
copying src\crynux_worker\models_init_.py -> build\lib.win-amd64-cpython-310\crynux_worker\models
creating build\lib.win-amd64-cpython-310\crynux_worker\task
copying src\crynux_worker\task\error.py -> build\lib.win-amd64-cpython-310\crynux_worker\task
copying src\crynux_worker\task\inference.py -> build\lib.win-amd64-cpython-310\crynux_worker\task
copying src\crynux_worker\task\utils.py -> build\lib.win-amd64-cpython-310\crynux_worker\task
copying src\crynux_worker\task_init_.py -> build\lib.win-amd64-cpython-310\crynux_worker\task
running egg_info
writing src\crynux_node.egg-info\PKG-INFO
writing dependency_links to src\crynux_node.egg-info\dependency_links.txt
writing requirements to src\crynux_node.egg-info\requires.txt
writing top-level names to src\crynux_node.egg-info\top_level.txt
reading manifest file 'src\crynux_node.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src\crynux_node.egg-info\SOURCES.txt'
creating build\lib.win-amd64-cpython-310\crynux_server\contracts\abi
copying src\crynux_server\contracts\abi\NetworkStats.json -> build\lib.win-amd64-cpython-310\crynux_server\contracts\abi
copying src\crynux_server\contracts\abi\Node.json -> build\lib.win-amd64-cpython-310\crynux_server\contracts\abi
copying src\crynux_server\contracts\abi\QOS.json -> build\lib.win-amd64-cpython-310\crynux_server\contracts\abi
copying src\crynux_server\contracts\abi\Task.json -> build\lib.win-amd64-cpython-310\crynux_server\contracts\abi
copying src\crynux_server\contracts\abi\TaskQueue.json -> build\lib.win-amd64-cpython-310\crynux_server\contracts\abi
running build_ext
$ GOPATH='C:\Users\dk\AppData\Local\Temp\tmpogkkrn2p' go get -d
go: downloading github.com/corona10/goimagehash v1.1.0
go: downloading github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
$ CGO_CFLAGS='-IC:\Users\dk\crynux-node\venv\include -IC:\Users\dk\AppData\Local\Programs\Python\Python310\include -IC:\Users\dk\AppData\Local\Programs\Python\Python310\Include -DPy_LIMITED_API' CGO_LDFLAGS='-LC:\Users\dk\AppData\Local\Programs\Python\Python310\libs -lpython3' GOPATH='C:\Users\dk\AppData\Local\Temp\tmpogkkrn2p' go build -buildmode=c-shared -o 'C:\Users\dk\crynux-node\build\lib.win-amd64-cpython-310\imhash.pyd' '-ldflags=-s -w'
package imhash/src/imhash: build constraints exclude all Go files in C:\Users\dk\AppData\Local\Temp\tmpogkkrn2p\src\imhash\src\imhash
Traceback (most recent call last):
File "C:\Users\dk\crynux-node\venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\dk\crynux-node\venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\dk\crynux-node\venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools\build_meta.py", line 410, in build_wheel
return self._build_with_temp_dir(
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools\build_meta.py", line 395, in build_with_temp_dir
self.run_setup()
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 6, in
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_init.py", line 104, in setup
return distutils.core.setup(**attrs)
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_distutils\core.py", line 184, in setup
return run_commands(dist)
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_distutils\core.py", line 200, in run_commands
dist.run_commands()
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools\dist.py", line 967, in run_command
super().run_command(command)
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\normal\Lib\site-packages\wheel\bdist_wheel.py", line 368, in run
self.run_command("build")
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools\dist.py", line 967, in run_command
super().run_command(command)
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_distutils\command\build.py", line 132, in run
self.run_command(cmd_name)
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools\dist.py", line 967, in run_command
super().run_command(command)
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools\command\build_ext.py", line 91, in run
_build_ext.run(self)
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 359, in run
self.build_extensions()
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 479, in build_extensions
self._build_extensions_serial()
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 505, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_golang.py", line 167, in build_extension
_check_call(cmd_build, cwd=pkg_path, env=env)
File "C:\Users\dk\AppData\Local\Temp\pip-build-env-mp9kxcgo\overlay\Lib\site-packages\setuptools_golang.py", line 104, in _check_call
subprocess.check_call(cmd, cwd=cwd, env=dict(os.environ, **env))
File "C:\Users\dk\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('go', 'build', '-buildmode=c-shared', '-o', 'C:\Users\dk\crynux-node\build\lib.win-amd64-cpython-310\imhash.pyd', '-ldflags=-s -w')' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for crynux-node
Failed to build crynux-node
ERROR: Could not build wheels for crynux-node, which is required to install pyproject.toml-based projects
WARNING: There was an error checking the latest version of pip.
(venv) PS C:\Users\dk\crynux-node>cription
Describe the problem in details
Device Position
At home or on the cloud
If on the cloud, which cloud
Operating System
Windows, Linux, Mac
Ubuntu, Fedora or...
Or a docker container started on Vast
How do you Start the Crynux Node
Downloaded binary release
Docker image link pasted to the cloud
Docker Compose project
Docker command in the terminal
Docker image built locally from source code
Source code
Error message on the WebUI
If there is an error message on the WebUI, provide it here
Error Log
Please provide the full stack trace of the error
Attach the log file
Tutorial: Locate the Error Message
I see the error is occured during build the golang extension, but the error log doesn't shows the actual error. I guess the reason is missing a c compiler. Building the golang extension needs cgo and cgo needs a c compiler. On linux, usually the gcc compiler has been installed, but on windows, you need install a c compiler by yourself. I suggest you install MinGW or tdm-gcc on windows.