Npm start: No module named 'flask' error

I got this error when I ran npm start…

Jeongsus-MacBook-Pro:q2studio-2017.9.0 Jeongsu$ npm start

[email protected] start /Users/Jeongsu/q2studio-2017.9.0
cross-env NODE_ENV=production electron -r babel-register build/main.js

API (error): Traceback (most recent call last):
File “/Users/Jeongsu/miniconda3/lib/python3.5/”, line 174, in _run_module_as_main
API (error): mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/Users/Jeongsu/miniconda3/lib/python3.5/”, line 133, in _get_module_details
return _get_module_details(pkg_main_name, error)
File “/Users/Jeongsu/miniconda3/lib/python3.5/”, line 109, in _get_module_details
File “/Users/Jeongsu/q2studio-2017.9.0/q2studio/”, line 11, in
from .server import start_server
File “/Users/Jeongsu/q2studio-2017.9.0/q2studio/”, line 13, in
from flask import Flask
ImportError: No module named 'flask’
API process exited with code 1

Hi @Jeongsu_Kim! It looks like you might have missed the first step in the Tutorial - you need to activate your QIIME 2 environment before installing and launching QIIME 2 Studio. Please review that tutorial and give it a shot - thanks!

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.