python - Spyder doesn't load from Anaconda 3.4 -
python - Spyder doesn't load from Anaconda 3.4 -
i've installed anaconda 3 (for python 3.4) on fresh ubuntu 14.04 installation.
when go launch spyder ide, receive next error message:
no module named 'version' traceback (most recent phone call last): file "/home/daniel/anaconda3/bin/spyder", line 3, in <module> start_app.main() file "/home/daniel/anaconda3/lib/python3.4/site-packages/spyderlib/start_app.py", line 91, in main spyderlib import spyder file "/home/daniel/anaconda3/lib/python3.4/site-packages/spyderlib/spyder.py", line 158, in <module> spyderlib.utils.environ import winuserenvdialog file "/home/daniel/anaconda3/lib/python3.4/site-packages/spyderlib/utils/environ.py", line 17, in <module> spyderlib.widgets.dicteditor import dicteditor file "/home/daniel/anaconda3/lib/python3.4/site-packages/spyderlib/widgets/dicteditor.py", line 28, in <module> spyderlib.utils.qthelpers import mimedata2url file "/home/daniel/anaconda3/lib/python3.4/site-packages/spyderlib/utils/qthelpers.py", line 24, in <module> spyderlib.guiconfig import get_shortcut file "/home/daniel/anaconda3/lib/python3.4/site-packages/spyderlib/guiconfig.py", line 24, in <module> spyderlib.widgets.sourcecode import syntaxhighlighters sh file "/home/daniel/anaconda3/lib/python3.4/site-packages/spyderlib/widgets/sourcecode/syntaxhighlighters.py", line 32, in <module> required_version=pygments_reqver) file "/home/daniel/anaconda3/lib/python3.4/site-packages/spyderlib/dependencies.py", line 70, in add together installed_version)] file "/home/daniel/anaconda3/lib/python3.4/site-packages/spyderlib/dependencies.py", line 32, in __init__ self.installed_version = programs.get_module_version(modname) file "/home/daniel/anaconda3/lib/python3.4/site-packages/spyderlib/utils/programs.py", line 218, in get_module_version mod = __import__(module_name)
file "/home/daniel/qiime_software/sphinx-1.0.4-release/lib/python2.7/site-packages/pygments-1.6-py2.7.egg/pygments/init.py", line 46 except typeerror, err: ^ syntaxerror: invalid syntax
i installed conda 3.7 downloading .sh file through http://continuum.io/downloads#py34 , installing through terminal "bash anaconda3-2.1.0-linux-x86_64.sh"
what issue?
i may have spotted issue still need help:
when first made ubuntu installation, set qiime on here (which suite of programs have been made work in own environment bioinformatics).
i see in list of file calls, coming .../anaconda3/... until lastly line, mistakenly (?) called .../qiime_software/...
i'm assuming both software suites containing python in paths... how may fixed? granted when check "which python" in terminal, (correctly) outputs:
/home/daniel/anaconda3/bin/python
i thought prior question asked here: anaconda spyder qt library error on launch lead me on right path nail deadend.
update:
echo $pythonpath spits out:
/home/daniel/qiime_software/qiime-galaxy-0.0.1-repository-c2814c3c/lib/:/home/daniel/qiime_software/qiime-1.8.0-release/lib/python2.7/site-packages:/home/daniel/qiime_software/qiime-1.8.0-release/lib/:/home/daniel/qiime_software/matplotlib-1.3.1-release/lib/python2.7/site-packages:/home/daniel/qiime_software/pprospector-1.0.1-release/lib/python2.7/site-packages:/home/daniel/qiime_software/tax2tree-1.0-release/lib/python2.7/site-packages:/home/daniel/qiime_software/pynast-1.2.2-release/lib/python2.7/site-packages:/home/daniel/qiime_software/emperor-0.9.3-release/lib/python2.7/site-packages:/home/daniel/qiime_software/pycogent-1.5.3-release/lib/python2.7/site-packages:/home/daniel/qiime_software/biom-format-1.3.1-release/lib/python2.7/site-packages:/home/daniel/qiime_software/ipython-latest-repository-184467d4/lib/python2.7/site-packages:/home/daniel/qiime_software/sphinx-1.0.4-release/lib/python2.7/site-packages:/home/daniel/qiime_software/pyqi-0.3.1-release/lib/python2.7/site-packages:/home/daniel/qiime_software/mysql-python-1.2.3-release/lib/python2.7/site-packages:/home/daniel/qiime_software/mpi4py-1.2.2-release/lib/python2.7/site-packages:/home/daniel/qiime_software/setuptools-0.6c11-release/lib/python2.7/site-packages:/home/daniel/qiime_software/gdata-2.0.17-release/lib/python2.7/site-packages:/home/daniel/qiime_software/pysqlite-2.6.3-release/lib/python2.7/site-packages:/home/daniel/qiime_software/qcli-0.1.0-release/lib/python2.7/site-packages:/home/daniel/qiime_software/tornado-3.1.1-release/lib/python2.7/site-packages:/home/daniel/qiime_software/sqlalchemy-0.7.1-release/lib/python2.7/site-packages:/home/daniel/qiime_software/pyzmq-2.1.11-release/lib/python2.7/site-packages:/home/daniel/qiime_software/numpy-1.7.1-release/lib/python2.7/site-packages:
any help appreciated.
python looks modules in environment variable pythonpath
, seek echo $pythonpath
on shell. normally, should empty.
otherwise can seek run spyder dedicated environment, seek like:
$ conda create -n spydertest spyder $ source activate spydertest $ spyder
python ubuntu anaconda spyder
Comments
Post a Comment