How is theano installed? Could it be apache2 is using a different 
pythonversion? In any case, I recommend you use Nginx over Apache.


On Monday, 6 March 2017 14:17:10 UTC-6, Jordan Myers wrote:
>
> Hello
>
> I've migrated my code to start using Apache2 after successful setup just 
> using built-in Rocket server, but now for some reason loading Theano leads 
> to import error. I thought maybe the issue was with Cython or something, 
> but it will successfully import NumPy, Scipy, Gensim, and other libraries 
> that are compiled to c. Again, Theano worked fine in old Rocket setup. 
>
> Does anyone have an idea of what the issue is? If it helps, I once got a 
> different error that Theano complained about not having access to write 
> compile logs, but I then corrected that issue by modifying permissions in 
> the applicable folder and the error just goes back to being a normal 
> "cannot import module applications.[myapp].modules.theano" Theano is 
> installed in /usr/*local*/lib/python2.7/dist-packages/ (verified by 
> running help('theano') in python prompt) instead of 
> /usr/lib/python2.7/dist-packages/ in case that's relevant.
>
> Thanks for any suggestions,
> -Jordan
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to