title: Why aren't python packages from Anaconda being detected by Blender?
body: <p>I've recently been using Blender to render 3D models of objects and training an SVM to recognize pictures of object taken from some perspective. To train said SVMs I need to use "sklearn", which comes by default with Anaconda.</p>
  
  <p>Long story short, I want Blender (which runs Python 3.4.2) to use the packages and modules present in my anaconda installation (which runs Python 3.4.3).</p>
  
  <p>I've tried a variety of things following this website:
  <a href="https://www.blender.org/api/blender_python_api_2_60_1/info_tips_and_tricks.html#bundled-python-extensions" rel="nofollow noreferrer">https://www.blender.org/api/blender_python_api_2_60_1/info_tips_and_tricks.html#bundled-python-extensions</a></p>
  
  <p>1.) I deleted the "python" folder within the Blender.app. According to the above website, Blender should fallback to using the version of python installed in the system (i.e. the one installed thru anaconda? Right?) but instead I get this:
  <a href="https://i.stack.imgur.com/uVXCh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uVXCh.png" alt="enter image description here"></a>
  2.) So I go onto option number 2. So, what I do is go to the anaconda folder and copy the two folders "bin" and "lib"
  <a href="https://i.stack.imgur.com/WyDBy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WyDBy.png" alt="enter image description here"></a>
  into Blender.app/Contents/Resources/2.76/python/ (replacing the lib and bin folders that are already there)</p>
  
  <p>So far everything is good, I open Blender (no error) and then I write a simple script:</p>
  
  <pre><code>from sklearn import svm 
  </code></pre>
  
  <p>When I try to run it I get the following error message:</p>
  
  <blockquote>
    <p>Error: Python script fail, look in the console for now...</p>
    
    <p>Traceback (most recent call last):   File
    "/Users/cusgadmin/...
    Perception/blender-2.76b-OSX_10.6-x86_64/Scripts/MarkTwo.blend/SimulationMarkOne.py",
    line 5, in    File
    "/Users/cusgadmin/...
    Perception/blender-2.76b-OSX_10.6-x86_64/blender.app/Contents/Resources/2.76/python/lib/python3.4/site-packages/sklearn/svm/<strong>init</strong>.py",
    line 13, in 
        from .classes import SVC, NuSVC, SVR, NuSVR, OneClassSVM, LinearSVC, \   File
    "/Users/cusgadmin/...
    Perception/blender-2.76b-OSX_10.6-x86_64/blender.app/Contents/Resources/2.76/python/lib/python3.4/site-packages/sklearn/svm/classes.py",
    line 4, in 
        from .base import _fit_liblinear, BaseSVC, BaseLibSVM   File "/Users/cusgadmin/...
    Perception/blender-2.76b-OSX_10.6-x86_64/blender.app/Contents/Resources/2.76/python/lib/python3.4/site-packages/sklearn/svm/base.py",
    line 9, in 
        from . import libsvm_sparse   File "sklearn/svm/libsvm_sparse.pyx", line 5, in init
    sklearn.svm.libsvm_sparse (sklearn/svm/libsvm_sparse.c:7612)   File
    "/Users/cusgadmin/...
    Perception/blender-2.76b-OSX_10.6-x86_64/blender.app/Contents/Resources/2.76/python/lib/python3.4/site-packages/sklearn/utils/<strong>init</strong>.py",
    line 16, in 
        from .class_weight import compute_class_weight, compute_sample_weight   File
    "/Users/cusgadmin/...
    Perception/blender-2.76b-OSX_10.6-x86_64/blender.app/Contents/Resources/2.76/python/lib/python3.4/site-packages/sklearn/utils/class_weight.py",
    line 7, in 
        from ..utils.fixes import in1d   File "/Users/cusgadmin/...
    Perception/blender-2.76b-OSX_10.6-x86_64/blender.app/Contents/Resources/2.76/python/lib/python3.4/site-packages/sklearn/utils/fixes.py",
    line 318, in 
        from scipy.sparse.linalg import lsqr as sparse_lsqr   File "/Users/cusgadmin/...
    Perception/blender-2.76b-OSX_10.6-x86_64/blender.app/Contents/Resources/2.76/python/lib/python3.4/site-packages/scipy/sparse/linalg/<strong>init</strong>.py",
    line 113, in 
        from .matfuncs import *   File "/Users/cusgadmin/...
    Perception/blender-2.76b-OSX_10.6-x86_64/blender.app/Contents/Resources/2.76/python/lib/python3.4/site-packages/scipy/sparse/linalg/matfuncs.py",
    line 20, in 
        import scipy.misc   File "/Users/cusgadmin/...
    Perception/blender-2.76b-OSX_10.6-x86_64/blender.app/Contents/Resources/2.76/python/lib/python3.4/site-packages/scipy/misc/<strong>init</strong>.py",
    line 44, in 
        from . import doccer ImportError: cannot import name 'doccer' Error: Python script fail, look in the console for now...</p>
  </blockquote>
  
  <p>At which point I don't know what else to do. I used the Python console embedded in Blender to explore the sub-packages in sklearn and surprisingly I am getting non-matching sub-packages..
  <a href="https://i.stack.imgur.com/TodQm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TodQm.png" alt="enter image description here"></a></p>
  
  <p>I am very confused and do not know how to proceed. Any help is greatly appreciated folks.</p>
  
  <p>Best,
  MrRed</p>