I am having a similar error, but the above does not resolve the issue. I am running macOS 10.13.2, and the latest builds of node and npm. The qiime 2 environment is installed and works properly, but i get a blank electron screen when I follow the installation instructions. See the following error:
q2studio@2017.11.0 start /Users/kent/qiime2-moving-pictures-tutorial/q2studio-2017.11.0/q2studio-2017.11.0/q2studio-2017.11.0
cross-env NODE_ENV=production electron -r babel-register build/main.js
API (error): Traceback (most recent call last):
File "/Users/kent/miniconda3/envs/qiime2-2017.11/lib/python3.5/runpy.py", line 183, in _run_module_as_main
API (error): mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/Users/kent/miniconda3/envs/qiime2-2017.11/lib/python3.5/runpy.py", line 142, in _get_module_details
API (error): return _get_module_details(pkg_main_name, error)
File "/Users/kent/miniconda3/envs/qiime2-2017.11/lib/python3.5/runpy.py", line 109, in _get_module_details
API (error): import(pkg_name)
File "/Users/kent/qiime2-moving-pictures-tutorial/q2studio-2017.11.0/q2studio-2017.11.0/q2studio-2017.11.0/q2studio/init.py", line 11, in
API (error): from .server import start_server
File "/Users/kent/qiime2-moving-pictures-tutorial/q2studio-2017.11.0/q2studio-2017.11.0/q2studio-2017.11.0/q2studio/server.py", line 14, in
API (error): from gevent.pywsgi import WSGIServer
ImportError: No module named 'gevent'
API process exited with code 1
Hmm!! This new error looks like the same issue as before --- not all the dependencies appear to be there (this time it is greenlet, which is related to gevent). Maybe it would make sense for you to remove this conda environment and try again?
I reinstalled everything: miniconda3, Node.js and qiime2. When I get to pip install . I get the following error: Could not find a version that satisfies the requirement qiime2==2017.11.* (from q2studio==2017.11.0) (from versions: )
No matching distribution found for qiime2==2017.11.* (from q2studio==2017.11.0)
Hi @babyDoc - that error usually crops up when you forget to activate your conda environment prior to running commands. I suggest you go back to the install guide and make sure you read all of the content there, including the Notes (in blue), and all of the supporting prose - there should be enough information there to get you moving in the right direction!
Two things worth noting though - the Studio is a prototype interface - not all QIIME 2 actions are available through the Studio, so you likely won't be able to use it for every aspect of your analysis. The second point is that we do distribute the Studio pre-built in the official VirtualBox image, so if you are still having issues with installing locally, you could give the VirtualBox image a shot!