Hi Gonzalo,
I don't know what's happening because as you can see in the installation
file:
https://github.com/conda/conda-recipes/blob/master/spyder/meta.yaml
jinja2 is run dependency of Spyder. By the way, I was the last one to
edit that file :-)
Cheers,
Carlos
El 21/12/14 a las 17:35, Gonzalo A. PEÑA CASTELLANOS escribió:
Hi Nate, thanks for the info,
In my case I just simply installed jinja2 manually (through conda) and
then it worked out ok, it is just weird that it was not done by default.
Hey Carlos, so here are the steps to reproduce it and the error trace.
On Ubuntu 14.04:
*1. conda create --name p3 python=3.4*
*2. source activate p3*
*3. conda install spyder*
when running spyder from the command prompt
*
*
*4. spyder*
*Traceback (most recent call last):*
*File
"/home/goanpeca/anaconda/envs/p3/lib/python3.4/site-packages/spyderlib/spyder.py",
line 2354, in main*
* mainwindow = run_spyder(app, options, args)*
*File
"/home/goanpeca/anaconda/envs/p3/lib/python3.4/site-packages/spyderlib/spyder.py",
line 2242, in run_spyder*
* main.setup()*
*File
"/home/goanpeca/anaconda/envs/p3/lib/python3.4/site-packages/spyderlib/spyder.py",
line 793, in setup*
* from spyderlib.plugins.inspector import ObjectInspector*
*File
"/home/goanpeca/anaconda/envs/p3/lib/python3.4/site-packages/spyderlib/plugins/inspector.py",
line 48, in <module>*
* from spyderlib.utils.inspector.sphinxify import (CSS_PATH, sphinxify,*
*File
"/home/goanpeca/anaconda/envs/p3/lib/python3.4/site-packages/spyderlib/utils/inspector/sphinxify.py",
line 29, in <module>*
* from jinja2 import Environment, FileSystemLoader*
*ImportError: No module named 'jinja2'*
*Segmentation fault (core dumped)*
Now I was checking if it was a Python3 only issue but if I do the same
but with python 2
*conda create --name p2 python=2.7 spyder*
I get the same
*
*
*Traceback (most recent call last):*
*File
"/home/goanpeca/anaconda/envs/p2/lib/python2.7/site-packages/spyderlib/spyder.py",
line 2354, in main*
* mainwindow = run_spyder(app, options, args)*
*File
"/home/goanpeca/anaconda/envs/p2/lib/python2.7/site-packages/spyderlib/spyder.py",
line 2242, in run_spyder*
* main.setup()*
*File
"/home/goanpeca/anaconda/envs/p2/lib/python2.7/site-packages/spyderlib/spyder.py",
line 793, in setup*
* from spyderlib.plugins.inspector import ObjectInspector*
*File
"/home/goanpeca/anaconda/envs/p2/lib/python2.7/site-packages/spyderlib/plugins/inspector.py",
line 48, in <module>*
* from spyderlib.utils.inspector.sphinxify import (CSS_PATH, sphinxify,*
*File
"/home/goanpeca/anaconda/envs/p2/lib/python2.7/site-packages/spyderlib/utils/inspector/sphinxify.py",
line 29, in <module>*
* from jinja2 import Environment, FileSystemLoader*
*ImportError: No module named jinja2*
*Segmentation fault (core dumped)*
Cheers!
On Sunday, 21 December 2014 23:18:01 UTC+1, Carlos Córdoba wrote:
Hi,
We use Jinja2 to power the rich text view of the Object Inspector,
but Jinja2 is a Sphinx dependency, and that's what we really
require. But if Sphinx is not installed, we just deactivate the
rich text view.
Could you post the error message you're getting? Maybe the problem
is conda installs Sphinx but without Jinja2 (which would be really
odd :-)
Cheers,
Carlos
El 20/12/14 a las 20:15, Gonzalo A. PEÑA CASTELLANOS escribió:
Hi guys
In order to make some tests on python 3 of some features I am
working on spyder, I installed spyder (through conda) on a
freshly created conda environment running python 3.
When running 'python bootstrap.py' I got a jinja2 module not
installed. Should this be included in the dependencies of conda?
(I am running ubutnu14.04 64)
Cheers
--
You received this message because you are subscribed to the
Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected] <javascript:>.
To post to this group, send email to [email protected]
<javascript:>.
Visit this group at http://groups.google.com/group/spyderlib
<http://groups.google.com/group/spyderlib>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.