Installing datadriver library

I am installing the datadriver library using pip install datadriver command.

but here i’m getting some error like this.
whats wrong with this.

Collecting datadriver
Using cached datadriver-0.1.3-py2.py3-none-any.whl (2.4 kB)
Collecting pyddapi (from datadriver)
Using cached pyddapi-3.0.3-py2.py3-none-any.whl (74 kB)
Collecting ddui (from datadriver)
Using cached ddui-3.0.4-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: pandas in e:\robotframework\automation\env\lib\site-packages (from ddui->datadriver) (2.0.1)
Collecting jinja2<2.9.0,>=2.7.3 (from ddui->datadriver)
Using cached Jinja2-2.8.1-py2.py3-none-any.whl (264 kB)
Collecting flask<0.13,>=0.12.4 (from ddui->datadriver)
Using cached Flask-0.12.5-py2.py3-none-any.whl (81 kB)
Collecting apache-airflow==1.10.* (from ddui->datadriver)
Using cached apache_airflow-1.10.15-py2.py3-none-any.whl (4.7 MB)
Requirement already satisfied: click in e:\robotframework\automation\env\lib\site-packages (from ddui->datadriver) (8.1.3)
Requirement already satisfied: dash==0.37.* in e:\robotframework\automation\env\lib\site-packages (from ddui->datadriver) (0.37.0)
Requirement already satisfied: dash-html-components==0.13.* in e:\robotframework\automation\env\lib\site-packages (from ddui->datadriver) (0.13.5)
Requirement already satisfied: dash-core-components==0.43.* in e:\robotframework\automation\env\lib\site-packages (from ddui->datadriver) (0.43.1)
Collecting dash-dagre>=0.0.2 (from ddui->datadriver)
Using cached dash_dagre-0.0.2.tar.gz (830 kB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Requirement already satisfied: dash-table==3.4.* in e:\robotframework\automation\env\lib\site-packages (from ddui->datadriver) (3.4.0)
Collecting alembic<2.0,>=1.0 (from apache-airflow==1.10.->ddui->datadriver)
Using cached alembic-1.10.4-py3-none-any.whl (212 kB)
Collecting argcomplete~=1.10 (from apache-airflow==1.10.
->ddui->datadriver)
Using cached argcomplete-1.12.3-py2.py3-none-any.whl (38 kB)
Collecting attrs<21.0,>=20.0 (from apache-airflow==1.10.->ddui->datadriver)
Using cached attrs-20.3.0-py2.py3-none-any.whl (49 kB)
Collecting cached-property~=1.5 (from apache-airflow==1.10.
->ddui->datadriver)
Using cached cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
Collecting colorlog==4.0.2 (from apache-airflow==1.10.->ddui->datadriver)
Using cached colorlog-4.0.2-py2.py3-none-any.whl (17 kB)
Collecting configparser<3.6.0,>=3.5.0 (from apache-airflow==1.10.
->ddui->datadriver)
Using cached configparser-3.5.3-py3-none-any.whl (21 kB)
Collecting croniter<0.4,>=0.3.17 (from apache-airflow==1.10.->ddui->datadriver)
Using cached croniter-0.3.37-py2.py3-none-any.whl (13 kB)
Collecting dill<0.4,>=0.2.2 (from apache-airflow==1.10.
->ddui->datadriver)
Using cached dill-0.3.6-py3-none-any.whl (110 kB)
Collecting email-validator (from apache-airflow==1.10.->ddui->datadriver)
Using cached email_validator-2.0.0.post2-py3-none-any.whl (31 kB)
INFO: pip is looking at multiple versions of apache-airflow to determine which version is compatible with other requirements. This could take a while.
Collecting apache-airflow==1.10.
(from ddui->datadriver)
Using cached apache_airflow-1.10.14-py2.py3-none-any.whl (4.7 MB)
Using cached apache_airflow-1.10.12-py2.py3-none-any.whl (4.7 MB)
Collecting attrs~=19.3 (from apache-airflow==1.10.->ddui->datadriver)
Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting cattrs~=1.0 (from apache-airflow==1.10.
->ddui->datadriver)
Using cached cattrs-1.10.0-py3-none-any.whl (29 kB)
Collecting apache-airflow==1.10.* (from ddui->datadriver)
Using cached apache_airflow-1.10.10-py2.py3-none-any.whl (4.7 MB)
Collecting cattrs~=0.9 (from apache-airflow==1.10.->ddui->datadriver)
Using cached cattrs-0.9.2-py2.py3-none-any.whl (61 kB)
Collecting apache-airflow==1.10.
(from ddui->datadriver)
Using cached apache_airflow-1.10.9-py2.py3-none-any.whl (4.6 MB)
Using cached apache_airflow-1.10.8-py2.py3-none-any.whl (4.6 MB)
Using cached apache_airflow-1.10.7-py2.py3-none-any.whl (4.5 MB)
Using cached apache_airflow-1.10.6-py2.py3-none-any.whl (4.5 MB)
INFO: pip is looking at multiple versions of apache-airflow to determine which version is compatible with other requirements. This could take a while.
Using cached apache_airflow-1.10.5-py2.py3-none-any.whl (5.9 MB)
Collecting dill<0.3,>=0.2.2 (from apache-airflow==1.10.->ddui->datadriver)
Using cached dill-0.2.9.tar.gz (150 kB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Collecting dumb-init>=1.2.2 (from apache-airflow==1.10.
->ddui->datadriver)
Using cached dumb-init-1.2.5.post1.tar.gz (11 kB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Collecting apache-airflow==1.10.* (from ddui->datadriver)
Using cached apache_airflow-1.10.4-py2.py3-none-any.whl (5.9 MB)
Using cached apache_airflow-1.10.3-py2.py3-none-any.whl (5.8 MB)
Collecting alembic<1.0,>=0.9 (from apache-airflow==1.10.->ddui->datadriver)
Using cached alembic-0.9.10.tar.gz (1.0 MB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Collecting apache-airflow==1.10.
(from ddui->datadriver)
Using cached apache-airflow-1.10.2.tar.gz (5.2 MB)
Installing build dependencies … done
Getting requirements to build wheel … error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
:23: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module’s documentation for alternative uses
Traceback (most recent call last):
File “E:\RobotFramework\Automation\env\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py”, line 353, in
main()
File “E:\RobotFramework\Automation\env\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py”, line 335, in main
json_out[‘return_val’] = hook(**hook_input[‘kwargs’])
File “E:\RobotFramework\Automation\env\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py”, line 118, in get_requires_for_build_wheel
return hook(config_settings)
File “C:\Users\NARESHKUMAR\AppData\Local\Temp\pip-build-env-cpfpwf9w\overlay\Lib\site-packages\setuptools\build_meta.py”, line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[‘wheel’])
File “C:\Users\NARESHKUMAR\AppData\Local\Temp\pip-build-env-cpfpwf9w\overlay\Lib\site-packages\setuptools\build_meta.py”, line 323, in _get_build_requires
self.run_setup()
File “C:\Users\NARESHKUMAR\AppData\Local\Temp\pip-build-env-cpfpwf9w\overlay\Lib\site-packages\setuptools\build_meta.py”, line 487, in run_setup
super(_BuildMetaLegacyBackend,
File “C:\Users\NARESHKUMAR\AppData\Local\Temp\pip-build-env-cpfpwf9w\overlay\Lib\site-packages\setuptools\build_meta.py”, line 338, in run_setup
exec(code, locals())
File “”, line 429, in
File “”, line 287, in do_setup
File “”, line 53, in verify_gpl_dependency
RuntimeError: By default one of Airflow’s dependencies installs a GPL dependency (unidecode). To avoid this dependency set SLUGIFY_USES_TEXT_UNIDECODE=yes in your environment when you install or upgrade Airflow. To force installing the GPL version set AIRFLOW_GPL_UNIDECODE
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Try this:

pip install --upgrade pip
pip install wheel
pip install --upgrade wheel

HI @NikosKoul Thanks for the reply.But it is not working for me.I am getting the same issue.

Try the following:

export AIRFLOW_GPL_UNIDECODE=yes

OR

export SLUGIFY_USES_TEXT_UNIDECODE=yes

Using export makes the environment variable available to all the subprocesses.

Also, make sure you are using pip install apache-airflow[postgres] and not pip install airflow[postgres]

Which should you use: if using AIRFLOW_GPL_UNIDECODE, airflow will install a dependency that is under GPL license, which means you won’t be able to distribute your resulting application commercially. If that’s a problem for you, go for SLUGIFY_USES_TEXT_UNIDECODE.