EpistasisLab / tpot

A Python Automated Machine Learning tool that optimizes machine learning pipelines using genetic programming.
http://epistasislab.github.io/tpot/
GNU Lesser General Public License v3.0
9.74k stars 1.57k forks source link

Installation for using TPOT-cuML configuration #1274

Open iura77 opened 2 years ago

iura77 commented 2 years ago

I am getting this error while installing TPOT-cuML on a Debian 11

/anaconda3/lib/python3.9/site-packages/conda_env/env.py", line 37, in validate_keys
        new_data = data.copy() if data else {}
    AttributeError: 'str' object has no attribute 'copy'

The command line is:

conda-env create -n tpot-cuml --file /home/Downloads/tpot-cuml.yml

I have also tried this one:

conda env create -n tpot-cuml --file /home/Downloads/tpot-cuml.yml

But it returns the same error.

The detailed info:

conda version : 22.9.0
conda-build version : 3.21.8
python version : 3.9.7.final.0
virtual packages : __cuda=11.6=0
                          __linux=5.10.0=0
                          __glibc=2.31=0
                          __unix=0=0
                          __archspec=1=x86_64
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
platform : linux-64
user-agent : conda/22.9.0 requests/2.27.1 CPython/3.9.7 Linux/5.10.0-19-amd64 debian/11 glibc/2.31
offline mode : False

The spaces after semicolons also were deleted in the tpot-cuml.yml file. Kinda like this:

{"groups": [],
...
{"groups":[],

To reproduce the issue user needs to install TPOT-cuML using downloaded yaml file.

Expected result: TPOT-cuML installed

Current result: TPOT-cuML installation fails

beckernick commented 2 years ago

Could you please share the full system info, commands you ran, and the error you received? I'm not able to reproduce this error on my system (though it's Ubuntu based).

gb96 commented 1 year ago

@iura77 your tpot-cuml.yml file might be wrong. Maybe you downloaded the github html page that displays the file rather than the raw file? Download the raw file via this github link and try again: https://github.com/EpistasisLab/tpot/raw/master/tpot-cuml.yml