Closed Maxino22 closed 1 year ago
Hi, even I am getting this error when building indy-node in the dev-container. I tried building the node both in Windows (using WSL), and Ubuntu 16.04, 20.04 LTS, and I am getting the same error. The python-rocksdb package is throwing this error. I even tried building rocksdb from the source, but still faced the same issue.
@Maxino22, @smqik, I've tried this on Windows, and it's working for me. I selected the "Rebuild Container Without Cache" option and the devcontainer builds and launches fine. I did need to update the devcontainer.json
file to the latest format. ~PR incoming~. See https://github.com/hyperledger/indy-node/pull/1824.
Would either of you be able to provide me with a complete build log?
Ok, I see. The issue is with the post install when it's installing and processing the pip install .[tests]
command.
hello yes that was the issue and is related with python-rocksdb ?
I tried building the node again after updating devcontainer.json. Still getting the same error.
I think I found the issue. It seems to be an update to Cython
causing the issue. If I pip install Cython==0.29.36
I can then pip install python-rocksdb
.
I'm testing out this change to the .devcontainer\Dockerfile
:
RUN pip3 install -U \
# Required by setup.py
setuptools==50.3.2 \
'pyzmq==22.3.0'
to
RUN pip3 install -U \
# Required by setup.py
setuptools==50.3.2 \
'pyzmq==22.3.0' \
Cython==0.29.36
Ok, That is working for me. I'll add that to the PR. This is just a workaround as the Cython
- python-rocksdb
python package dependency is actually at the indy-plenum
level. I'll enter a ticket for that.
The PR has been updated with the workaround.
nice I tried with the Cython version provided it works
Hello trying to setup indy-node first time I followed steps cloned and tried to use .DevContainer however I'm getting errors with at the end python-rocks db setup is not building and crushes everything. even running pip install python-rocksdb
Kindly assist