Trying to build an AUR Package, can't get the venv to point to the right place. #5123
Replies: 3 comments
-
Have you tried this? |
Beta Was this translation helpful? Give feedback.
-
Thank you, that worked! |
Beta Was this translation helpful? Give feedback.
-
If you are still experiencing the issues it is recommended to upgrade to the latest version of chia. Please download it from here: https://www.chia.net/downloads/ Since this issue has been open for a number of years without additional comments, we will be closing this ticket but if we have closed this ticket in error do not hesitate to reach out to us again with any followup questions, comments, or if the issue persists after an update.
The best place to reach our support team is on Discord (https://discord.gg/chia) or by reopening this ticket. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on an AUR Package to make installing chia easier on Arch Linux systems, but i'm running into a problem.
To install chia, I need to build it with pip, then move it off into a different directory where it will be installed.
The only problem with this is that the venv points to the original build directory instead of the final place where the files are installed.
I have tried to rectify this by replacing all occurances of the source directory with the final directory:
find ${pkgdir}/chia-blockchain -type f -exec sed -i "s|${srcdir}|${pkgdir}|g" {} \;
, and this does enable me to launch thechia
binary successfully, but it causes a new problem: When I launch chia, I get this:Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions