Akshara update does not work because of missing yaml?
When I try
sudo akshara update
now, I get an error message:
Any thoughts or suggestions?Solution:Jump to solution
if that succeeds and you add the folder to path just do
pipenv install pyyaml
then pipenv run sudo akshara update
55 Replies
you're missing
python-pyyaml
for whatever reason
find a way to install itHow can this happen?
you can't use pip directly due to PEP 868
no idea
python package is called
pyyaml
imported as yaml
Since it is an immutable system, how can I directly install on to the root file system?
add
python-pyyaml
to system.yaml for nowSomething in akshara is depending upon pyyaml?
akshara itself does
Ok. I added it.
akshara is a python script with no extension
Ok. Understood
I added it to system.yaml
obv you can't update your system yet, let me think
Ok
try
pip install --user pipenv
if it warns you about a scripts folder not being on PATH just add it to PATH
PEP 868 only affects systemwide installs I thinkSolution
if that succeeds and you add the folder to path just do
pipenv install pyyaml
then pipenv run sudo akshara update
pip
does not exist on my machine
I shall use a mamba
environment to get pip
Sigh
A whole bunch of libraries are missingso a build must have failed
requests
and fasteners
oh right not preinstalled
normal
I added these to
system.yaml
also normal
python-pip
but you won't need it then
python-pipenv
will work if you ever do any python projects on the hostI used a
mamba
environment to install these packages
akshara
update is running inside pipenv
now🤯
pipception
But how did we end up like this? I thought
blendOS
is an immutable system?tbh I have no idea, pyyaml is preinstalled
it's supposed to be there right from the get-go
the base package should not be broken
it's not supposed to disappear
check the site packages folder
Yes. I have been using blendos for the last 2 months
yeah :P
likely related to an akshara build
did you cut one off early?
I also run a
mamba
base environment at my user bashrc startupaaaaahhh there's the issue
no..I didn't cut off
that environment was missing pyyaml
the system environment has it
Right.
I guessed that
could have said that at the start ðŸ˜
But when I deactivated it, it still doesn't work
ok
een after deactivating it
I never use the system python for anything at all
how did you install mamba
never heard of it
micromamba
static binaryideally use a container plz
plz
unless you need vscode integration or the like
ya.. I never use the system python at all
which should still work with a container
just make an arch container and install python into it
I do need editor integration. Plus I am teaching classes which require native-like envs
a container is native-like
especially if called from the host
No.. I don't want to fire up a container at each login
it can access all the same files
that's handled for you pretty sure
When I open my terminal, I want
mamba
to be availablewith a container you can use its system python not mamba
that's my point
persistent across reboot
No.. I actually need
mamba
what is mamba
a conda knockoff?
Because I use an
environment.yml
file
A better conda
I only needed pipenv :P
better concretiser
My project mates use a lock file with
environment.yml
@krishnakumar, you've gained the level
2
I need to work with the same environment
as my project mates
Anyway, the system is rebuilding with the
akshara update
inside pipenv
. Let's see
It worked. Thanks a lot!