This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
How can I run "conda" to install dependencies? I'm trying to use the Python Tool, and here's the scenario we've uncovered --
One of our Python developers has made great use of a library, pymc3. I'm able to install it using --
However, when I go to import it --
I get some warnings:
WARNING (theano.configdefaults): g++ not available, if using conda: `conda install m2w64-toolchain`
c:\users\***user***\appdata\local\alteryx\bin\miniconda3\pythontool_venv\lib\site-packages\theano\configdefaults.py:560: UserWarning: DeprecationWarning: there is no c++ compiler.This is deprecated and with Theano 0.11 a c++ compiler will be mandatory
warnings.warn("DeprecationWarning: there is no c++ compiler."
WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.
WARNING (theano.configdefaults): install mkl with `conda install mkl-service`: No module named 'mkl'
WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions.
I highlighted a couple of conda commands that may resolve these warnings. However, I'm unable to, from Jupyter, run
!conda install m2w64-toolchain
I saw that conda-script.py and conda.exe are located here --
g++: This is a bit difficult and tricky if you don't know (except if you are not Bahubali!). Nonetheless, follow the steps on: http://www.msys2.org/ and install mingw-64 toolchain.
IF THIS DOES NOT WORK, THEN UNFORTUNATELY YOU HAVE TO INSTALL MINICONDA FROM here: https://conda.io/miniconda.html and enter conda install m2w64-toolchain [You have to rely on conda! can't do much on this]
I thought that Alteryx was using conda (or at least Miniconda) because of the paths that I mention in my original post? I just wasn't able to actually execute the conda commands. I will try installing mingw tomorrow. For what it's worth, my coworker mentioned that I could try installing mingw by using Chocolatey. I'll try this and report back.
(Pymc3 relies on Theano, which is why the link above is relevant)