Open fconstancias opened 4 years ago
I will advise you to use conda
with python 2.7 to install STAMP
. Please see the following code to install step by step.
conda install -n root conda=4.6
conda create -n stamp
conda activate stamp
conda install -y -c bioconda stamp
STAMP
Hi @fconstancias have you installed STAMP? I am new in this field and also very recently I have installed STAMP. But I am getting the following error:
Error reading profile file
Child g__Gemella has an unclassified parent.
Many taxa are in the abundance file (Metaphlan 3.0) for which an unclassified parent level taxa is present. Do you have any solution to that? One more query: Is it possible to import metaphlan merged abundance file in "Curatedmetagenomic data" package and then follow the pipeline for statistical analysis?
I will advise you to use
conda
with python 2.7 to installSTAMP
. Please see the following code to install step by step.conda install -n root conda=4.6 conda create -n stamp conda activate stamp conda install -y -c bioconda stamp STAMP
I have the same issue installing STAMP. I created a conda environment that uses python 2.7, but I still get the same results. Any suggestions?
I have the same issue installing STAMP on MacOS 10.14.6 Mojave. I created a conda environment that uses python 2.7, but I still get the same results. Any suggestions?
I will advise you to use
conda
with python 2.7 to installSTAMP
. Please see the following code to install step by step.conda install -n root conda=4.6 conda create -n stamp conda activate stamp conda install -y -c bioconda stamp STAMP
For those, who are failing to install STAMP on MacOS - with the above-mentioned commands I was able to install it on my macOS Catalina (v.10.15.7), but somehow software refuses to upload my dataset.. 🤦
I am having a similar issue. I followed the following instructions on a help forum
"Someone in my lab helped me fix this issue. It had to with the current biom-format in python not supporting python 2.7. You therefore need to install an older version. Hope this helps conda create -n stamp python=2.7 conda activate stamp pip install numpy pip install cython pip install biom-format==2.1.7 pip install STAMP conda install -n stamp -c asmeurer pyqt=4 STAMP "
However, when I get to the final step of entering STAMP, I get an error that says no module named PyQt4. I have tried several methods of installing PyQt4 (e.g., conda install pyqt=4). I am using python 2.7, and here are the versions of the other packages given by pip list: backports.functools-lru-cache 1.6.4 biom-format 2.1.7 click 7.1.2 cycler 0.10.0 Cython 0.29.23 future 0.18.2 kiwisolver 1.1.0 matplotlib 2.2.5 numpy 1.16.6 pandas 0.24.2 pip 20.3.4 pyparsing 2.4.7 pyqi 0.3.2 python-dateutil 2.8.1 python-qt 0.50 pytz 2021.1 scipy 1.2.3 setuptools 44.1.1 six 1.16.0 STAMP 2.1.3 subprocess32 3.5.4 wheel 0.36.2
Anyone have any suggestions?
Hi all,
If you are still having issues, I had success running the following code to install STAMP on my MacOS Big Sur using conda 4.9. The code is the same as above except I added the python=2.7. It seems you need to create an environment with an older version of python since newer versions do not support STAMP (as far as I could tell). Hope this helps!
conda create -n stamp python=2.7 conda activate stamp conda install -y -c bioconda stamp STAMP
Hi all,
If you are still having issues, I had success running the following code to install STAMP on my MacOS Big Sur using conda 4.9. The code is the same as above except I added the python=2.7. It seems you need to create an environment with an older version of python since newer versions do not support STAMP (as far as I could tell). Hope this helps!
conda create -n stamp python=2.7 conda activate stamp conda install -y -c bioconda stamp STAMP
Hey, thanks for replying! I still get this error even when I specify python=2.7
_UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:
Specifications:
Your python: python=2.7_
Hi Dear
I am also having troubles install STAMP on macOS. I did the above command, but I got the following error message. Which python version should I use?
UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:
Specifications:
- stamp -> python[version='3.4.|3.5.|3.6.*|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0']
Your python: python=2.7
If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that.
Hello everyone,
The issue was posted 2 years ago and I see that there is no solution for it. Does anyone who is on the comment chain actually find the solution to install STAMP on MacOS? I am having exactly the same problem as @Hiromori827 @mf0083
Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: / Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed
UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:
Specifications:
Your python: python=2.7
If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that.
Any help is highly appreciated it!
Thank you
After confirming that other solution answers have not been uploaded after the issue conversation above, I will write an additional one. Â The reason why the following error message appears after installing and activating stamp with python=2.7 is that other packages necessary for running stamp in the Python environment are not set.
stamp -> python[version='3.4.|3.5.|3.6.*|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.10,<3.11.0a0|>=3.9,<3.10.0a0']
You will need to pre-install the following packages as stated on the stamp installation instructions page.
Therefore, I succeeded in installing the stamp through the code below.
conda create -n stamp python=2.7
conda activate stamp
pip install matplotlib==1.4.2
pip install numpy
pip install cython
pip install biom-format==2.1.7
pip install STAMP
conda install -n stamp -c asmeurer pyqt=4
STAMP
Hope this helps others.
Hello! I have tried all the codes you all have submitted here in the comments, yet this is what I get when I try to install STAMP on my Big Sur 11.7.10
Solving environment: failed
LibMambaUnsatisfiableError: Encountered problems while solving:
Could not solve for environment specs The following packages are incompatible └─ stamp is not installable because there are no viable options ├─ stamp 2.1.3 would require │ └─ pyqt 4.* , which does not exist (perhaps a missing channel); └─ stamp 2.1.3 would require └─ pyqt >=4.11.4,<4.12.0a0 , which does not exist (perhaps a missing channel).
I have also found this issue when I have tried to install the packages mentioned in the last comment:
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Any ideas?
Dear All,
I am also having troubles install STAMP on macOS. It seems that Python 2.7 reached the end of its life on January 1st, 2020 thus we can not install stamp anymore on macOS?
I have tried both :
and got the following error
or :
and got the following error
Any help would be much appreciated.
Best.
Florentin