Closed kalufinnle closed 3 years ago
reinstalled clvm==0.9.6 does not fix the issue
clvm_rs github repo is outdated. The version from clvm_rs is incompatible with clvm==0.9.6, which is required by Chia
Update history of errors. Ubuntu 20.04 LTS:
File "/Downloads/chia-blockchain/venv/bin/chia", line 33, in
I have this same problem, when trying to update from 1.6 to the latest, following the update instructions on the wiki, and using Ubuntu 20.04 LTS.
Are you able to launch Chia GUI? I cannot after the update.
On Sun, Jul 18, 2021 at 12:01 Paul Kenyon @.***> wrote:
I have this same problem, when trying to update from 1.6 to the latest, following the update instructions on the wiki.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Chia-Network/chia-blockchain/issues/7600#issuecomment-882079140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFVBW3OQ3UQ3CCPZT7QVL23TYL3GTANCNFSM5ARKPG7A .
I don't run the GUI, but this makes sense. The GUI uses the main chia codebase underneath, so if it can't run, neither will the GUI.
Yep. GUI codes are intact and fully functional. When it calls the Chia core, things not run
On Sun, Jul 18, 2021 at 13:08 Paul Kenyon @.***> wrote:
I don't run the GUI, but this makes sense. The GUI uses the main chia codebase underneath, so if it can't run, neither will the GUI.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Chia-Network/chia-blockchain/issues/7600#issuecomment-882088421, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFVBW3NHSOJH5KIGXXYUO43TYMDCRANCNFSM5ARKPG7A .
Are you running the install script again? - try running sh install.sh
again. Also make sure to deactivate
and . ./activate
Tried it again. Nope. I think the error has nothing to do with the install.sh. It is a python library problem arised from the chia clvm_rs library.
On Sun, Jul 18, 2021 at 15:21 Earle Lowe @.***> wrote:
Are you running the install script again? - try running sh install.sh again. Also make sure to deactivate and . ./activate
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Chia-Network/chia-blockchain/issues/7600#issuecomment-882105150, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFVBW3MDBIFMUK3P4IFXJCDTYMSR3ANCNFSM5ARKPG7A .
The install.sh command should install that latest clvm_rs python wheel - which is 0.1.8. What version of clvm_rs do you have? run . .\activate; pip list | grep clvm
Hm. The install.sh installed the 0.1.7 version of clvm-rs(it is written by the chia team) which is rely on an old version of clvm (question for @richardkiss @arvidn, can you confirm the version of clvm-rs that the current mainbranch of chia-blockchain calling). My clvm version is 0.9.6. I tried to downgrade it to the one clvm-rs called. Still doesn't work. Would be a good idea if we don't use rust?
My current clvm version: clvm 0.9.6 clvm-rs 0.1.7 clvm-tools 0.4.3
I also manually installed clvm_rs from the following link https://github.com/Chia-Network/clvm_rs It is very weird .. installed rust and cargpo but somehow cargo is not working. I think it has something to do with either rust or cargo or the clvm version
Would be great if there is a way to check the compatibility between rust, cargo and clvm
On Sun, Jul 18, 2021 at 20:06 Earle Lowe @.***> wrote:
The install.sh command should install that latest clvm_rs python wheel - which is 0.1.8. What version of clvm_rs do you have? run . .\activate; pip list | grep clvm
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Chia-Network/chia-blockchain/issues/7600#issuecomment-882138416, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFVBW3K4C7N4TZP7LTYDPHDTYNT7BANCNFSM5ARKPG7A .
The install.sh installed the 0.1.7 version of clvm-rs(it is written by the chia team) which is rely on an old version of clvm
"really old" may be an exaggeration. It's just one version behind the most recent release, 0.1.8. Still, you need the 0.1.8 version for deserialize_and_run_program2
.
If you're not getting a module that's compatible with your version of chia, you may be mixing and matching versions by accident. Make sure you're running chia from the same commit of chia-blockchain
as you run install.sh
from. Sometimes it might be easiest to remove the venv
and just create a fresh one, to ensure all the modules are compatible.
Closing issue
Ubuntu 20 LTS when run Chia init. There is a python import error:
ImportError: cannot import name 'deserialize_and_run_program2' from 'clvm_rs' (/chia-blockchain/venv/lib/python3.8/site-packages/clvm_rs.cpython-38-x86_64-linux-gnu.so)