Updating Anaconda and Tensorflow breaks the execute Python extension.
hughesfleming68
New Altair Community Member
Just updated my Tensorflow env which was working fine in Rapidminer before I did my conda update tensorflow 20 minutes ago. I am surprised that updating Anaconda would do this.
I am running in to problems everyday with 9.2.
I am running in to problems everyday with 9.2.
Tagged:
0
Best Answer
-
Hi @hughesfleming68,
I'm running on 3.7.2 without problems.
When you install a new Python distribution with conda update, you create a bare one as if you would have installed Miniconda. The problem isn't solved by downgrading but by installing Pandas on the new version after upgrading.
What I normally do:- Install Anaconda.
- Create an environment solely for RapidMiner:
$ conda create --name=rapidminer python=3.7 - Activate the environment for RapidMiner:
$ conda activate rapidminer - Install pandas for the new environment:
$ conda install pandas - List the environments I have:
$ conda env list - Copy the path of the environment I created, add /bin/python to the end and use that path to configure the Python extension.
- Deactivate the environment:
$ conda deactivate
Hope this helps,
Rodrigo.0
Answers
-
I solved the problem by downgrading Python to 3.6.5. The question is.....what is happening? Obviously, not upgrading Anaconda can only last so long as a workaround. Is there anything on the Anaconda side that needs to be done?1
-
Hi @hughesfleming68,
I'm running on 3.7.2 without problems.
When you install a new Python distribution with conda update, you create a bare one as if you would have installed Miniconda. The problem isn't solved by downgrading but by installing Pandas on the new version after upgrading.
What I normally do:- Install Anaconda.
- Create an environment solely for RapidMiner:
$ conda create --name=rapidminer python=3.7 - Activate the environment for RapidMiner:
$ conda activate rapidminer - Install pandas for the new environment:
$ conda install pandas - List the environments I have:
$ conda env list - Copy the path of the environment I created, add /bin/python to the end and use that path to configure the Python extension.
- Deactivate the environment:
$ conda deactivate
Hope this helps,
Rodrigo.0 -
Thanks Rodrigo. This looks like an Anaconda problem. I have an older RM version installed as well with older versions of the extensions and it is doing the same thing so this has nothing to do with Rapidminer. Worse, this is Sunday, I should be doing something else!0
-
I have it working now with 3.7.2 so setting up a new environment works while updating an older one breaks. Thanks again Rodrigo.0
-
Hi @hughesfleming68,
The idea behind anaconda is to have different environments per project or kind of project at least. I do have this separation:- base
- rapidminer
- servers
- selenium
- fileparsing
- datamining
- webapps
- daemons
- project***
All the best,
Rodrigo.0 -
Thank you Rodrigo. I understand the benefits of different environments. I already had Rapidminer working in a custom tensorflow env. It is unfortunate that the solution is to create a new env and basically set everything up again because a tensorflow update broke the connection with Rapidminer.
regards,
Alex0