Comments (16)
So I couldn't get virtualenv working on barnacle, but I did a fresh miniconda install on barnacle and got your frozen conda env to successfully install. It just gives me tons of deprecated warnings related to the tensorflow dtypes and numpy every time I run a command, buuut it works! :)
from mmvec.
from mmvec.
So just "pip install tensorflow==1.14.0"?
Unfortunately, that doesn't seem to fix either the standalone install or the one within qiime2
Edit: I do still have rhapsody and minstrel installed successfully so can use those in the meantime
from mmvec.
You're installing within a conda environment, so don't use pip.
On a good note, I recently froze a conda environment for a workshop.
You can install this via
wget https://raw.githubusercontent.com/mortonjt/q2stats-workshops/master/environment.yml
conda env create -n qiime2-2019.7-plus --file environment.yml
This environment has the fixed tensorflow version for both songbird / tensorflow (and deicode and qurro). Let me know if this works for you and I can post this into the readme as an alternative install option.
from mmvec.
Looking at the message more carefully, I'm seeing a GLIBC error popping up your barnacle install.
I remember seeing those in the past with conda installs - I bet a conda install will not work on that machine.
For this sort of thing, I'd recommend using virtual environments instead, namely
virtualenv mmvec_env
source activate mmvec_env/bin/activate
pip install tensorflow==1.14.0
pip install mmvec
I'd recommend using the latest mmvec version, since the outputs are a bit more readable.
from mmvec.
Hi @afvrbanac , great! I'm closing this issue - feel free to follow up if there are further installation issues.
from mmvec.
Hi, mortonjt.
I am a postdoc at the University of Arkansas. I want to do some microbiome-metabolites analysis with mmvec and I found some useful information from the github website. I installed mmvec under qiime2-2020.02. When I try running the mmvec with provided tables, it says "No module named 'tensorflow'". However, when I try to install this module (with different versions), none of them works.
I am not a professional bioinformatic person, so I am not familiar with any "environments".
Could you please provide me with any advice?
I attached the error information below. Looking forward your response.
(qiime2-2020.2) xxxxxx@x86_64-apple-darwin13 omicsstudio % mmvec paired-omics --microbe-file otus_nt.biom --metabolite-file lcms_nt.biom --summary-dir summary
Traceback (most recent call last):
File "/Users/xiaofanwang/opt/miniconda3/envs/qiime2-2020.2/bin/mmvec", line 17, in
import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'
(qiime2-2020.2) xxxxxxx@x86_64-apple-darwin13 omicsstudio %
from mmvec.
from mmvec.
from mmvec.
hmm, I'm getting confused on what is going on. How exactly did you install mmvec?
There are 2 options that I see moving forward
- Uninstall mmvec (either
pip uninstall mmvec
orconda uninstall mmvec
) and reinstall. You've got some missing packages and you may need to just reinstall to get all of the packages you need - Build a new qiime2 environment from scratch. There could be something weird going on with mmvec and qiime2. I do have a qiime2 mmvec conda recipe that you can build from scratch here. That can be installed via
conda create -n q2-mmvec -f environment.yml
using the environment file here. But do note that this is for a linux build, which won't work on your mac.
from mmvec.
from mmvec.
from mmvec.
from mmvec.
um, no don't install virtualenv
Just conda uninstall mmvec
, and pip install mmvec
within your conda environment.
I've just created a fresh qiime2-2020.6 environment on my macbook and confirmed that pip installing mmvec works.
The conda recipe does appear broken though do to tensorflow though ...
from mmvec.
from mmvec.
from mmvec.
Related Issues (20)
- Error from biom table in wrong orientation and some manual suggestions HOT 5
- ranks.qza file for heatmap HOT 7
- paired_omics error - 'arm_the_gpu' HOT 5
- heatmap change "--p-x-labels " size HOT 3
- Error: QIIME 2 has no plugin/command named 'mmvec'. HOT 3
- ranks with full taxonomic hierarqui rather than featureid HOT 2
- Plugin error from mmvec HOT 14
- help with heatmap conditionals to create ranks.qza file HOT 1
- what is the role of example? HOT 4
- Could mmvec measure the consumption of metabolites? HOT 1
- Why 13 metabolites as ground truth in soil dataset? HOT 2
- Tips and Tricks to speed up training
- MMvec refactor HOT 6
- tensorflow.contrib HOT 1
- Plugin error from mmvec: index 0 is out of bounds for axis 0 with size 0
- An qiime2 error has occurred HOT 5
- error: no such option: --o-model-stats HOT 10
- Different results HOT 4
- docs: specify abundance vs frequency HOT 1
- Compatibility issues on macbook pro with M1 chip HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmvec.