On 18/09/14 17:57, Grégori Gerebtzoff wrote:
>
> Now on the apache server, I added the same three lines to the
> /etc/apache2/envvars file:
> export RDBASE=/opt/RDKit_2014_03_1
> export LD_LIBRARY_PATH=$RDBASE/lib
> export PYTHONPATH=$RDBASE:$PYTHONPATH
>
> Importing rdkit gives me the "ImportError: No module named rdkit" error;
> looking at the environment variables from within python, only
> LD_LIBRARY_PATH:    /opt/RDKit_2014_03_1/lib
> is available.
>

Did you try adding these settings to the .profile of the user that runs 
apache?

askubuntu.com/questions/146688/why-doesnt-apache2-respect-my-envvars-file

P.


------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to