# Module 'harp' has no attribute 'import\_product'

**URL:** https://forum.atmospherictoolbox.org/t/module-harp-has-no-attribute-import-product/193
**Category:** HARP
**Tags:** sentinel-5p, python
**Created:** [August 1, 2020, 11:38am UTC](https://forum.atmospherictoolbox.org/t/module-harp-has-no-attribute-import-product/193 "2020-08-01T11:38:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![lilymart](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/l/b77776/32.png) [@lilymart](https://forum.atmospherictoolbox.org/u/lilymart)
#### Post date: [August 1, 2020, 11:38am UTC](https://forum.atmospherictoolbox.org/t/module-harp-has-no-attribute-import-product/193/1 "2020-08-01T11:38:32Z")

</div>

Hi, I’m trying to read a Sentinel-5P Level-2 OFFL NO2 product using the harp python interface and the command harp.import\_product.  
I get the error “module ‘harp’ has no attribute ‘import\_product’”.  
Typing dir(harp) I get only:  
[‘ **doc** ’, ‘ **loader** ’, ‘ **name** ’, ‘ **package** ’, ‘ **path** ’, ‘ **spec** ’].  
I guess that some problems occurred during harp configuration, despite no errors displayed. Below the details of the configuration and installation process:

Invocation command line was:  
$ ./configure --enable-python PYTHON=/usr/bin/python3.6 --with-hdf4 HDF4\_LIB=/home/liliana/Scaricati/hdf-4.2.13/hdf4/lib/ HDF4\_INCLUDE=/home/liliana/Scaricati/hdf-4.2.13/hdf4/include --with-hdf5 HDF5\_LIB=/home/liliana/Scaricati/hdf5-1.10.6/hdf5/lib HDF5\_INCLUDE=/home/liliana/Scaricati/hdf5-1.10.6/hdf5/include

Unfortunately I’m unable to attach the config.log file to this post. How can I do?

The output of make is:  
~/Scaricati/harp-1.11$ make  
make all-am  
make[1]: ingresso nella directory “/home/liliana/Scaricati/harp-1.11”  
make[1]: uscita dalla directory “/home/liliana/Scaricati/harp-1.11”

Any help is very much appreciated.  
Thanks.

Liliana

---

<div class="post-metadata">

### Author: ![sander.niemeijer](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/sander.niemeijer/32/5_2.png) [@sander.niemeijer](https://forum.atmospherictoolbox.org/u/sander.niemeijer)
#### Post date: [August 5, 2020, 10:55am UTC](https://forum.atmospherictoolbox.org/t/module-harp-has-no-attribute-import-product/193/2 "2020-08-05T10:55:31Z")

</div>

Please check the output on the console for error messages. This usually explains what is going wrong.

Attaching of log files is not allowed on this forum. You can create an issue on github if you want to share the config.log file. But please first check the error messages yourself.

---

<div class="post-metadata">

### Author: ![lilymart](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/l/b77776/32.png) [@lilymart](https://forum.atmospherictoolbox.org/u/lilymart)
#### Post date: [August 5, 2020, 1:06pm UTC](https://forum.atmospherictoolbox.org/t/module-harp-has-no-attribute-import-product/193/3 "2020-08-05T13:06:16Z")

</div>

Thanks a lot for your reply!  
The problem for me was the absence of error messages to check.  
Aware that it was related to Python, I “solved” using Anaconda.
