Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

How do I use Anaconda environments?

nyck3333
8 - Asteroid

I remember seeing somewhere there is miniconda3 installed under the Alteryx directory in Windows but I'm actually working a lot in WSL2 so prefer if I can use my conda environnments that I create and are saved in my WSL2 miniconda3.  I actually don't want two versions of miniconda3 installed on my machine. 

 

Is there an in-depth tutorial on this?

Also I did import dask in the interactive notebook in the Python example and the cell ran.

So I'm wondering what packages are installed in the alteryx default miniconda env?

I tired !conda list in a cell but it says conda is not recognized...

2 REPLIES 2
nyck3333
8 - Asteroid

https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Manage-packages-for-Python-Too...

 

Only package management and only conda install?

But if miniconda3 is there and I can activate environments, then why can't I create an environment, pip install and use it in Alteryx?

 

apathetichell
19 - Altair

In Alteryx Python is running an Alteryx managed semi-stateful venv. This is your Alteryx python environment. In most cases you would run a containerized separate python environment. That is not the case here. I do not believe you can swap to a self managed Python environment in Alteryx - at least not without using the Alteryx SDK and rebuilding a ton of things - and I have no idea how that would affect stability of any Alteryx based python tools - so without saying you can't do it - I'd say "it's probably not worth your time and effort to re do this." I'd also recommend triggering any WSL2 code you need in CLI and running the CLI commands from Alteryx. Maybe that would work?

Labels
Top Solution Authors