Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
linux:spyder [2016/11/21 13:41] – [Know issue:] jansen | linux:spyder [2024/01/29 16:52] (current) – jansen |
---|
See also [[https://github.com/spyder-ide]] | See also [[https://github.com/spyder-ide]] |
| |
===== Know issue: ===== | Latest status: spyder can no longer be offered as a central install; the makers of the software only support local installs in a venv or conda environment. |
When we update ipython, spyder doesn't know about this and refuses to start an ipython kernel. The solution is to tell spyder where to look for python modules, since it doesn't seem to use python's built-in sys.path. | |
Open spyder, go to the tools menu, and choose PYTHONPATH manager. There, enter the path to use. | We have spyder installed as part of the ''Anaconda'' environment module, but that only works in combination with the python version in that environment, so this might not be what you are looking for. |
For python 2.7: | |
/software/local/lib64/python2.7/site-packages | |
For python 3.4: | |
/software/local/lib64/python3.4/site-packages | |
| |
Similarly, it may be necessary to add your own PYTHONPATH additions here as well, if these directories include modules that are needed to start the ipython kernel (probably only for private versions of ipython or jupyter, but perhaps also for software built upon ipython) | |