On Tue, Aug 24, 2021 at 12:41 AM zimoun <[email protected]> wrote: > > Hi, > > Welcome! :-)
Thank you for your reply! > > It seems all dependencies installed by Guix are not found. > > Well, do you do > > source ~/.guix-profile/etc/profile > > after installing all the dependencies (gcc-toolchain, bzip2, etc.) I'm sure I did. Is there anything I missed? ``` doc@VM-8-2-debian:~$ env | grep ^PATH PATH=/home/doc/.yarn/bin:/home/doc/.cargo/bin:/home/doc/bin:/home/doc/.anyenv/envs/pyenv/shims:/home/doc/.anyenv/envs/pyenv/bin:/home/doc/.anyenv/bin:/home/doc/.guix-profile/bin:/home/doc/.guix-profile/sbin:/home/doc/.config/guix/current/bin:/home/doc/.guix-profile/bin:/home/doc/.guix-profile/sbin:/home/doc/.config/guix/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games doc@VM-8-2-debian:~$ env | grep GUIX_PROFILE GUIX_PROFILE=/home/doc/.guix-profile _GUIX_PROFILE=/home/doc/.config/guix/current doc@VM-8-2-debian:~$ command -v gcc /home/doc/.guix-profile/bin/gcc ``` > > > Could you please tell me the reason of these errors and how to fix them? > > I do not use 'pyenv' and I had bad experience when mixing "package > manager". To have other Python versions than the default ones, I > would create variant by using package transformation pyenv allows you to set python version for your every project by putting a `.python-version` file, and you can easily override the version with an environment variable. All you need to do is just setting your `PATH`. I think it's very useful when you're working with multiple projects. > > guix build python > --with-source=python=https://www.python.org/ftp/python/3.8.11/Python-3.8.11.tar.xz > > but there is no guarantee it works for all the versions. Well, I would > start by a package transformation at the command-line and if it fails > then compile --without-tests or create a package variant and use > --load-path. > > > Hope that helps, > simon
