Conda-libmamba-Solver Error After installing fastai

I tried to setup Fastai & DL Environment in laptop (Ubuntu 24.04) according to Fastai Live Coding Walkthroughs. But after i install Fastai , I get this error :

Error while loading conda entry point: conda-libmamba-solver (libarchive.so.20: cannot open shared object file: No such file or directory)

Steps I taken while setup :

  1. ./setup-conda.sh :white_check_mark: no error
  2. conda install ipython :white_check_mark:no error
  3. conda install -c conda-forge jupyterlab :white_check_mark: no error
  4. conda install pytorch torchvision torchaudio pytorch-cuda=12.4 -c pytorch -c nvidia :white_check_mark: no error
  5. conda install -c fastai fastai >> :x::x::x: Error

Fastai successfully installed ; But this error comes in end. And then this same error comes all the time Whenever i run any conda/fastai/DL library related command in terminal.

Things i tried to to resolve the issue ; But failed !

  1. sudo apt-get install libarchive13
  2. sudo apt-get install libarchive-dev
  3. conda update --all
  4. force updating libmamba & libmambapy to 1.5.10 >> stuck at solving environment for hours…

I tried all this, But nothing worked.

Please Help !! Thanks.

Have a Look : Miniconda installer started to succumb to conflict with mamba when working with conda-forge · Issue #862 · conda/constructor · GitHub

Should we use mamba instead ? Although Jeremy Sir has changed Fastai/fastsetup script to use miniconda ?

I have successfully installed/Setup : Fastai + Pytorch >> Using Pip

I tried mamba & conda but they create dependency issues with libmamba-solver, conda, libarchive >> which i couldn’t resolve even with help of stackoverflow/google/Claude.

How i setup Fastai+Pytorch using pip in Ubuntu 24.

# Install required packages first 
sudo apt install python3-venv python3-full 

# Create virtual environment 
python3 -m venv ~/fastai_env 

# Activate it 
source ~/fastai_env/bin/activate

# Upgrade `pip`, `setuptools`, and `wheel`

pip install --upgrade pip setuptools wheel

# Install ipython & Jupyterlab 

pip install ipykernel
pip install jupyterlab

# Install Pytorch from its official site installation manual

pip3 install torch torchvision torchaudio

# Install Fastai , fastbook

pip install fastai
pip install fastbook
pip install sentencepiece