Closed rpeguil closed 2 weeks ago
It may be worth mentioning that anvio-7 is already installed on my system, but I want to add anvio-8.
Hi @rpeguil, I just tried to reproduce this error by installing everything from scratch, but I failed as everything worked fine :/ One thing I noticed is the fact that your pip command satisfied dependencies from outside (such as from your native system) like shown below:
Requirement already satisfied: numpy<=1.24 in /usr/lib/python3/dist-packages
This shouldn't happen in a virtual environment -- are you sure you run the pip command within the anvio-8 conda environment? Either way, please remove anvio-8 environment, and restart everything please. I hope it will run this time.
Hi,
I deleted my anvio-8 environment and restarted the installation from scratch, but I still have the same issues.
I have such lines:
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from paste->anvio==8) (59.6.0)
But for me I am in anvio-8 environment... I activated it using the command line:
(base) odin@odin-PowerEdge-T620:~$ conda activate anvio-8
(anvio-8) odin@odin-PowerEdge-T620:~$
I checked which python my current env is using and it seems to be ok. The issue of path appears only when using the pip command.
(anvio-8) odin@odin-PowerEdge-T620:~$ which python
/home/odin/anaconda3/envs/anvio-8/bin/python
I finally solved the problem.
No matter what I did, the pip command always used the wrong python path.
Only the command below solved the problem. Anvio-8 is now installed and working correctly.
sudo $(which pip) install anvio-8.tar.gz
I hope this will help other people with the same problem.
Short description of the problem
I can't install anvio-8 because of an error when building wheels for anvio and connection-pool.
System info
System version: Ubuntu 22.04.4 LTS I tried to install anvio-8 following the tutorial: https://anvio.org/install/linux/stable/
Detailed description of the issue
I followed the tutorial to install anvio-8. Mamba was successfully installed, but the following command had to be installed using conda instead of mamba:
My issue comes with the pip command. Several wheels couldn't be build. I resolved it for several tools, like for stopit, ete3 or illumina-utils following reported issue resolution using:
conda install illumina-utils
Still, the issue persists for anvio and connection-pool. I get the following error message (file attached - too long) anvio8_issue.txt
Following issue report #796, i tried the following command:
sudo apt-get install python-dev
but get the error:
I then used:
sudo apt-get install python-dev-is-python3
And it worked, but when opening a new terminal and trying again the pip, the same error remains for anvio and connection-pool.
Thanks for your feedback