# KNIME and Python — Setting up and managing Conda environments # https://medium.com/@mlxl/knime-and-python-setting-up-and-managing-conda-environments-2ac217792539 # conda update -n base -c conda-forge conda # conda env create -f="C:\Users\a123456789\knime-workspace\hub\kn_example_deeplearning_keras_tensorflow_classification\data\knime_py_tensorflow.yml" # conda remove --name knime_py_tensorflow --all # conda env create -f="/Users/m_lauber/Dropbox/knime-workspace/hub/kn_example_deeplearning_keras_tensorflow_classification/data/knime_py_tensorflow.yml" # conda activate knime_py_tensorflow # conda update -n knime_py_tensorflow --update-all # conda env update -n knime_py_tensorflow --file="/Users/m_lauber/Dropbox/knime-workspace/hub/kn_example_deeplearning_keras_tensorflow_classification/data/knime_py_tensorflow.yml" # conda config --get channels # conda deactivate name: knime_py_tensorflow # Name of the created environment channels: # Repositories to search for packages # - defaults # - anaconda - conda-forge dependencies: # List of packages that should be installed - python=3.9 # Python - py4j # used for KNIME <-> Python communication - nomkl # Prevents the use of Intel's MKL # conda install -n knime_py_tensorflow -c conda-forge pandas numpy --force-reinstall - pandas # Table data structures - jedi<=0.17.2 # Python script autocompletion - python-dateutil # Date and Time utilities - numpy # N-dimensional arrays - cairo # SVG support - pillow # Image inputs/outputs - matplotlib # Plotting - pyarrow=6.0 # Arrow serialization - IPython # Notebook support - nbformat # Notebook support - scipy # Notebook support # https://github.com/tensorflow/tensorflow/issues/51590 # conda remove -n knime_py_tensorflow python-flatbuffers # search for the available package versions on conda-forge # conda search conda-forge::python-flatbuffers # conda install -n knime_py_tensorflow -c conda-forge python-flatbuffers=1.12 - python-flatbuffers<2.0 # because tensorflow expects a version before 2 - h5py<3.0 # must be < 3.0 because they changed whether str or byte is returned - protobuf>3.12 # Lower protobuf versions do not work with TensorFlow 2 - libiconv # MDF Reader node - asammdf=5.19.14 # MDF Reader node - pip - pip: - onnx - onnx-tf - tensorflow==2.5 - tensorflow-hub - JPype1 # Databases