# Installing datadriver library

**URL:** <https://forum.robotframework.org/t/installing-datadriver-library/5639>\
**Category:** DataDriver\
**Created:** [3 May 2023 15:23 UTC](https://forum.robotframework.org/t/installing-datadriver-library/5639 "2023-05-03T15:23:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naresh](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@Naresh](https://forum.robotframework.org/u/Naresh)\
**Post date:** [3 May 2023 15:23 UTC](https://forum.robotframework.org/t/installing-datadriver-library/5639/1 "2023-05-03T15:23:42Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![NikosKoul](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/nikoskoul/32/2512_2.png) [@NikosKoul](https://forum.robotframework.org/u/NikosKoul)\
**Post date:** [4 May 2023 09:00 UTC](https://forum.robotframework.org/t/installing-datadriver-library/5639/2 "2023-05-04T09:00:48Z")

</div>

Try this:

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

---

<div class="post-metadata">

**Author:** ![Naresh](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@Naresh](https://forum.robotframework.org/u/Naresh)\
**Post date:** [4 May 2023 10:15 UTC](https://forum.robotframework.org/t/installing-datadriver-library/5639/3 "2023-05-04T10:15:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![NikosKoul](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/nikoskoul/32/2512_2.png) [@NikosKoul](https://forum.robotframework.org/u/NikosKoul)\
**Post date:** [5 May 2023 07:05 UTC](https://forum.robotframework.org/t/installing-datadriver-library/5639/4 "2023-05-05T07:05:58Z")

</div>

Try the following:

```python
export AIRFLOW_GPL_UNIDECODE=yes

```

OR

```python
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.
