Re: [QGIS-Developer] Awating plugin review...

2018-04-02 Thread Germán Carrillo
It seems it's not Paolo who is approving plugins lately, but zimbogisgeek.

2018-04-02 23:11 GMT-05:00 Nyall Dawson :

> On 3 April 2018 at 13:40, Germán Carrillo 
> wrote:
> >
> > And it's a great work he does!
> >
> > I've seen other plugin approvals recently, so i guess the whole process
> doesn't stop if a person is on holiday.
>
> Heh... it's open source work -- nobody ever really FULLY tunes-out
> unless we're forced to by going camping in a forest or somewhere
> there's no mobile reception!
>
> Nyall
>



-- 
---
   |\__
(:>__)(
   |/
Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
http://about.me/germancarrillo


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] [Qgis-user] QGIS 3 Print Composer - Page Properties

2018-04-02 Thread Nyall Dawson
On 3 April 2018 at 07:06, Carlo A. Bertelli (Charta s.r.l.)
 wrote:
> I suggest to provide the same interface as version 2 calling this "default
> page size" and explaining that every page could get a different size,
> right-clicking on the page. Most users make one-page maps and they would
> never need this otherwise vital feature.

I've thought long on this. I'm reasonably convinced it's a short-term
issue as people adjust there 2.x workflows to 3.0.

There's two approaches I can see working to mitigate it:

1. Add a "pages panel", which allows you to pick from existing pages
(e.g. via a drop-down combo box) and then set the properties for that
page. It could also have the actions for adding new pages and deleting
existing pages there too.

and/or

2. Add a "new layout wizard", which shows when you create a new print
layout. This would prompt users to set the page size before the layout
is actually created. It could potentially replace the existing layout
manager approach to creating layouts from a template, e.g. by showing
a nice list of available templates via thumbnail graphics.

Unfortunately both approaches aren't trivial, and would require some
hours to implement.

Nyall


> c
>
> On Mon, Apr 2, 2018 at 10:01 PM, Alessandro Pasotti 
> wrote:
>>
>> The reason for this change is that your can now have different settings
>> for each page.
>>
>> The page size is not a property of the layout anymore but it's a property
>> of the page.
>>
>> But I agree that the page properties might be better exposed.
>>
>>
>> On Mon, Apr 2, 2018, 21:56 C Hamilton  wrote:
>>>
>>> I was just going to ask what happened to the "Page Size" properties in
>>> the QGIS 3 print composer, but I stumbled upon it accidentally by
>>> right-mouse clicking on the page and selecting "Page Properties." This was
>>> not easily found. In the QGIS 2 print compose it is a part of the layout. In
>>> QGIS 3 I just lucked out.
>>>
>>> Could the page properties be more obvious to find? At lease add them to
>>> the Layout or Edit menus or put them back under the layout settings.
>>>
>>> Thanks,
>>>
>>> Calvin
>
>
> --
> --
> Carlo A. Bertelli
>Charta servizi e sistemi per il territorio e la storia ambientale srl
>   Dipendenze del palazzo Doria,
>   vc. alla Chiesa della Maddalena 9/2 16124  Genova (Italy)
>   tel./fax +39(0)10 2475439  +39 0108566195  mobile:+39 393 1590711
>e-mail: berte...@chartasrl.eu  http://www.chartasrl.eu
> --
>
>
>
>
> ___
> Qgis-user mailing list
> qgis-u...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Awating plugin review...

2018-04-02 Thread Nyall Dawson
On 3 April 2018 at 13:40, Germán Carrillo  wrote:
>
> And it's a great work he does!
>
> I've seen other plugin approvals recently, so i guess the whole process 
> doesn't stop if a person is on holiday.

Heh... it's open source work -- nobody ever really FULLY tunes-out
unless we're forced to by going camping in a forest or somewhere
there's no mobile reception!

Nyall
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Awating plugin review...

2018-04-02 Thread Germán Carrillo
And it's a great work he does!

I've seen other plugin approvals recently, so i guess the whole process
doesn't stop if a person is on holiday.

Also, a core developer suggested Paolo to grant me approval permissions,
with no success.

But, of course, I can wait, just wanted to make this case public.


Regards,

Germán

2018-04-02 22:23 GMT-05:00 Nyall Dawson :

> On 3 April 2018 at 13:16, Germán Carrillo 
> wrote:
> >
> > Hi All,
> >
> >
> > 16 days waiting for a review of my Remove Empty Layers plugin...
> >
> > I think it's fair to say that something in the Plugin approval process
> is not working properly.
>
> I believe the main (volunteer) plugin maintainer, Paolo, is on
> holiday at the moment.
>
> I'm sure we don't begrudge him a well-deserved break!
>
> Nyall
>
> >
> >
> > Regards,
> >
> > Germán
> >
> > 2018-03-25 9:48 GMT-05:00 Germán Carrillo :
> >>
> >> Hi All,
> >>
> >> my "Remove Empty Layers" plugin was submitted last Monday, but I still
> didn't get any reply. Could you please review it?
> >>
> >> Regards,
> >>
> >> Germán
> >>
> >> --
> >> ---
> >>|\__
> >> (:>__)(
> >>|/
> >> Soluciones Geoinformáticas Libres
> >> http://geotux.tuxfamily.org/
> >> http://twitter.com/GeoTux2
> >> http://about.me/germancarrillo
> >>
> >
> >
> >
> > --
> > ---
> >|\__
> > (:>__)(
> >|/
> > Soluciones Geoinformáticas Libres
> > http://geotux.tuxfamily.org/
> > http://twitter.com/GeoTux2
> > http://about.me/germancarrillo
> >
> >
> > ___
> > QGIS-Developer mailing list
> > QGIS-Developer@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
---
   |\__
(:>__)(
   |/
Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
http://about.me/germancarrillo


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS3 plugin migration issue

2018-04-02 Thread Nyall Dawson
On 31 March 2018 at 14:06, André William  wrote:
> After some digging, I found that while the textShortHelp object is not
> directly available in the AlgorithmDialog class anymore, i was able to
> access it like this:
>>
>> shortHelpObj = dlg.findChild(QTextBrowser, 'textShortHelp')
>
> Is this the expected behavior?

None of this is in stable API, so can change between QGIS versions
(including within minor versions/patch releases).

Stable API for processing is:
- the classes within the core library (unless they are explicitly
marked as non-stable, e.g.  the modeler related classes)
- the base GUI "WidgetWrapper" class (NOT any of its subclasses)
- some methods from the processing namespace:
- processing.algorithmHelp()
- processing.run()
- processing.runAndLoadResults()
- processing.createAlgorithmDialog()
- processing.execAlgorithmDialog()

So, in short, unfortunately this approach is always going to be
fragile. Better wrap it in a big try block! ;)

I gather you're trying to force the "help" panel to resize when the
dialog is opened. Is there a particular reason why you need to do
this?

Nyall


>
> André W.
>
> 2018-03-30 18:54 GMT-03:00 André William :
>>
>> Hi all,
>>
>> I'm porting an existing Geoprocessing Algorithm plugin to QGIS 3 and I'm
>> having some trouble customizing the default dialog.
>> On QGIS 2.x the following code worked:
>>
>>> class TestAlgorithm(GeoAlgorithm):
>>> INPUT = 'INPUT'
>>> OUTPUT = 'OUTPUT'
>>>
>>>
>>>
>>> def getCustomParametersDialog(self):
>>> customDialog = AlgorithmDialog(self)
>>> customDialog.textShortHelp.setFixedWidth(450)
>>> return customDialog
>>
>>
>> On QGIS 3 however, the getCustomParametersDialog() method is gone. I
>> assumed it was replaced by the new createCustomParametersWidget(), but
>> unfortunately this method doesn't seem to get called by the parent class:
>>
>>> def createCustomParametersWidget(self, parent):
>>> customDialog = AlgorithmDialog(self)
>>> customDialog.textShortHelp.setFixedWidth(450)
>>> return customDialog
>>
>>
>> I also tried manually creating the dialog, but I get a message saying that
>> the 'AlgorithmDialog' object has no attribute 'textShortHelp'.
>>
>>> alg =
>>> QgsApplication.processingRegistry().algorithmById('test:testAlgorithm')
>>> dlg = AlgorithmDialog(alg)
>>> dlg.textShortHelp.setFixedWidth(450)
>>> dlg.show()
>>
>>
>> Any thoughts?
>>
>> Thanks in advance!
>> André
>
>
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Awating plugin review...

2018-04-02 Thread Nyall Dawson
On 3 April 2018 at 13:16, Germán Carrillo  wrote:
>
> Hi All,
>
>
> 16 days waiting for a review of my Remove Empty Layers plugin...
>
> I think it's fair to say that something in the Plugin approval process is not 
> working properly.

I believe the main (volunteer) plugin maintainer, Paolo, is on
holiday at the moment.

I'm sure we don't begrudge him a well-deserved break!

Nyall

>
>
> Regards,
>
> Germán
>
> 2018-03-25 9:48 GMT-05:00 Germán Carrillo :
>>
>> Hi All,
>>
>> my "Remove Empty Layers" plugin was submitted last Monday, but I still 
>> didn't get any reply. Could you please review it?
>>
>> Regards,
>>
>> Germán
>>
>> --
>> ---
>>|\__
>> (:>__)(
>>|/
>> Soluciones Geoinformáticas Libres
>> http://geotux.tuxfamily.org/
>> http://twitter.com/GeoTux2
>> http://about.me/germancarrillo
>>
>
>
>
> --
> ---
>|\__
> (:>__)(
>|/
> Soluciones Geoinformáticas Libres
> http://geotux.tuxfamily.org/
> http://twitter.com/GeoTux2
> http://about.me/germancarrillo
>
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Awating plugin review...

2018-04-02 Thread Germán Carrillo
Hi All,


16 days waiting for a review of my Remove Empty Layers plugin...

I think it's fair to say that something in the Plugin approval process is
not working properly.


Regards,

Germán

2018-03-25 9:48 GMT-05:00 Germán Carrillo :

> Hi All,
>
> my "Remove Empty Layers" plugin was submitted last Monday, but I still
> didn't get any reply. Could you please review it?
>
> Regards,
>
> Germán
>
> --
> ---
>|\__
> (:>__)(
>|/
> Soluciones Geoinformáticas Libres
> http://geotux.tuxfamily.org/
> http://twitter.com/GeoTux2
> http://about.me/germancarrillo
>
> 
>



-- 
---
   |\__
(:>__)(
   |/
Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
http://about.me/germancarrillo


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS 3 Print Composer - Page Properties

2018-04-02 Thread Carlo A. Bertelli (Charta s.r.l.)
I suggest to provide the same interface as version 2 calling this "default
page size" and explaining that every page could get a different size,
right-clicking on the page. Most users make one-page maps and they would
never need this otherwise vital feature.
c

On Mon, Apr 2, 2018 at 10:01 PM, Alessandro Pasotti 
wrote:

> The reason for this change is that your can now have different settings
> for each page.
>
> The page size is not a property of the layout anymore but it's a property
> of the page.
>
> But I agree that the page properties might be better exposed.
>
>
> On Mon, Apr 2, 2018, 21:56 C Hamilton  wrote:
>
>> I was just going to ask what happened to the "Page Size" properties in
>> the QGIS 3 print composer, but I stumbled upon it accidentally by
>> right-mouse clicking on the page and selecting "Page Properties." This was
>> not easily found. In the QGIS 2 print compose it is a part of the layout.
>> In QGIS 3 I just lucked out.
>>
>> Could the page properties be more obvious to find? At lease add them to
>> the Layout or Edit menus or put them back under the layout settings.
>>
>> Thanks,
>>
>> Calvin
>>
>
-- 
--
Carlo A. Bertelli
   Charta servizi e sistemi per il territorio e la storia ambientale srl
  Dipendenze del palazzo Doria,
  vc. alla Chiesa della Maddalena 9/2 16124  Genova (Italy)
  tel./fax +39(0)10 2475439  +39 0108566195  mobile:+39 393 1590711
   e-mail: berte...@chartasrl.eu  http://www.chartasrl.eu
--
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS 3 Print Composer - Page Properties

2018-04-02 Thread Alessandro Pasotti
The reason for this change is that your can now have different settings for
each page.

The page size is not a property of the layout anymore but it's a property
of the page.

But I agree that the page properties might be better exposed.


On Mon, Apr 2, 2018, 21:56 C Hamilton  wrote:

> I was just going to ask what happened to the "Page Size" properties in the
> QGIS 3 print composer, but I stumbled upon it accidentally by right-mouse
> clicking on the page and selecting "Page Properties." This was not easily
> found. In the QGIS 2 print compose it is a part of the layout. In QGIS 3 I
> just lucked out.
>
> Could the page properties be more obvious to find? At lease add them to
> the Layout or Edit menus or put them back under the layout settings.
>
> Thanks,
>
> Calvin
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS 3 Print Composer - Page Properties

2018-04-02 Thread Andreas Neumann

Hi Calvin,

Same happened to me, some time ago. However, this issue is not so easy 
to solve - because starting from version 3 you can mix different page 
sizes in the same layout. In QGIS 2 all pages had to be of the same size.


If you have a good solution or proposal how to solve this UI wise, 
please let us know.


Greetings,

Andreas


On 02.04.2018 21:56, C Hamilton wrote:
I was just going to ask what happened to the "Page Size" properties in 
the QGIS 3 print composer, but I stumbled upon it accidentally by 
right-mouse clicking on the page and selecting "Page Properties." This 
was not easily found. In the QGIS 2 print compose it is a part of the 
layout. In QGIS 3 I just lucked out.


Could the page properties be more obvious to find? At lease add them 
to the Layout or Edit menus or put them back under the layout settings.


Thanks,

Calvin


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] QGIS 3 Print Composer - Page Properties

2018-04-02 Thread C Hamilton
I was just going to ask what happened to the "Page Size" properties in the
QGIS 3 print composer, but I stumbled upon it accidentally by right-mouse
clicking on the page and selecting "Page Properties." This was not easily
found. In the QGIS 2 print compose it is a part of the layout. In QGIS 3 I
just lucked out.

Could the page properties be more obvious to find? At lease add them to the
Layout or Edit menus or put them back under the layout settings.

Thanks,

Calvin
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Simultaneous v2 and v3 versions of plugins

2018-04-02 Thread Richard Burkmar
Many thanks Borys - that's very clear.

Rich

On Mon, Apr 2, 2018 at 12:33 PM, Borys Jurgiel 
wrote:

> Yes, QGIS always gets the highest version number matching its
> compatibility range.
>
>
>
> E.g. if TomBio tools 2.8.0 are for qgisMinimumVersion=2.8, and TomBio
> tools 2.9.0 are for qgisMinimumVersion=3.0, then the latter is the
> newest, but is only available for QGISes meeting the >= 3.0 requirement.
>
>
>
> Btw. there is also a second reason the former is not available for QGIS 3
> at all: its qgisMaximumVersion is by default assumed to be x.98 (where x is
> taken from the minVersion), what completely isolates the compatibility
> ranges.
>
>
>
> Regards,
>
> Borys
>
>
>
>
>
> Dnia poniedziałek, 2 kwietnia 2018 13:08:56 CEST Richard Burkmar pisze:
>
> > I'm creating a QGIS v3 compatible version of a plugin which is already
>
> > available from the official repository for QGIS v2 users. My question is,
>
> > when I submit the new version v3 compatible version of the plugin (
>
> > https://plugins.qgis.org/plugins/), will QGIS v2 users still be able to
>
> > download the v2-compatible version from the repository?
>
> >
>
> > Rich
>
>
>
>
>
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Simultaneous v2 and v3 versions of plugins

2018-04-02 Thread Borys Jurgiel
Yes, QGIS always gets the highest version number matching its compatibility 
range. 

E.g. if TomBio tools 2.8.0 are for qgisMinimumVersion=2.8, and TomBio tools 
2.9.0 are 
for qgisMinimumVersion=3.0, then the latter is the newest, but is only 
available for 
QGISes meeting the >= 3.0 requirement. 

Btw. there is also a second reason the former is not available for QGIS 3 at 
all: its 
qgisMaximumVersion is by default assumed to be x.98 (where x is taken from the 
minVersion), what completely isolates the compatibility ranges.

Regards,
Borys


Dnia poniedziałek, 2 kwietnia 2018 13:08:56 CEST Richard Burkmar pisze:
> I'm creating a QGIS v3 compatible version of a plugin which is already
> available from the official repository for QGIS v2 users. My question is,
> when I submit the new version v3 compatible version of the plugin (
> https://plugins.qgis.org/plugins/), will QGIS v2 users still be able to
> download the v2-compatible version from the repository?
> 
> Rich


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Simultaneous v2 and v3 versions of plugins

2018-04-02 Thread Paolo Cavallini
Yes.

Il 2 aprile 2018 07:08:56 GMT-04:00, Richard Burkmar  
ha scritto:
>I'm creating a QGIS v3 compatible version of a plugin which is already
>available from the official repository for QGIS v2 users. My question
>is,
>when I submit the new version v3 compatible version of the plugin (
>https://plugins.qgis.org/plugins/), will QGIS v2 users still be able to
>download the v2-compatible version from the repository?
>
>Rich

-- 
Sorry for being short___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Simultaneous v2 and v3 versions of plugins

2018-04-02 Thread Richard Burkmar
I'm creating a QGIS v3 compatible version of a plugin which is already
available from the official repository for QGIS v2 users. My question is,
when I submit the new version v3 compatible version of the plugin (
https://plugins.qgis.org/plugins/), will QGIS v2 users still be able to
download the v2-compatible version from the repository?

Rich
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1410] ImportPhotos approval notification.

2018-04-02 Thread noreply

Plugin ImportPhotos approval by pcav.
The plugin version "[1410] ImportPhotos 0.7" is now approved
Link: http://plugins.qgis.org/plugins/ImportPhotos/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] GDAL 2.2.4 Python 3.6.4 Install error in Mac OS X El Capitan (10.11.6) and QGIS3.0 : setup.py and gdal-config errors

2018-04-02 Thread Noli Sicad
Hi William,

I am trying python GDAL (GDAL2.2.4 and Python 3.6.4) in Mac OS X El
Capitan (10.11.6) and QGIS3.0.

sudo pip3 install gdal

I got this error:

File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 138, in fetch_config
raise gdal_config_error(e)
__main__.gdal_config_error: [Errno 2] No such file or directory:
'gdal-config': 'gdal-config'

I tried several suggestions in the net however, the error getting
worst that this.

Any suggestion how to fix this?

Here's the log below.


Thanks.

Noli

~~~

Nolis-MBP:AA_QGIS nolisicad$ sudo pip3 install gdal
Password:
The directory '/Users/nolisicad/Library/Caches/pip/http' or its parent
directory is not owned by the current user and the cache has been
disabled. Please check the permissions and owner of that directory. If
executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/nolisicad/Library/Caches/pip' or its parent
directory is not owned by the current user and caching wheels has been
disabled. check the permissions and owner of that directory. If
executing pip with sudo, you may want sudo's -H flag.
Collecting gdal
  Downloading GDAL-2.2.4.tar.gz (475kB)
100% || 481kB 733kB/s
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/GDAL.egg-info
writing pip-egg-info/GDAL.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/GDAL.egg-info/dependency_links.txt
writing top-level names to pip-egg-info/GDAL.egg-info/top_level.txt
writing manifest file 'pip-egg-info/GDAL.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found

Traceback (most recent call last):
  File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 134,
in fetch_config
p = subprocess.Popen([command, args], stdout=subprocess.PIPE)
  File 
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
line 709, in __init__
restore_signals, start_new_session)
  File 
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'../../apps/gdal-config': '../../apps/gdal-config'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 182,
in get_gdal_config
return fetch_config(option, gdal_config = self.gdal_config)
  File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 138,
in fetch_config
raise gdal_config_error(e)
__main__.gdal_config_error: [Errno 2] No such file or directory:
'../../apps/gdal-config': '../../apps/gdal-config'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 134,
in fetch_config
p = subprocess.Popen([command, args], stdout=subprocess.PIPE)
  File 
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
line 709, in __init__
restore_signals, start_new_session)
  File 
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'gdal-config': 'gdal-config'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "", line 1, in 
  File "/private/tmp/pip-build-e4ca_ecz/gdal/setup.py", line 342,
in 
**extra )
  File 
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py",
line 148, in setup
dist.run_commands()
  File 
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py",
line 955, in run_commands
self.run_command(cmd)
  File 
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py",
line 974, in run_command
cmd_obj.run()
  File 
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/egg_info.py",
line 279, in run
self.find_sources()
  File 
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/egg_info.py",
line 306, in find_sources
mm.run()
  File 
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/egg_info.py",
line 533, in run
self.add_defaults()
  File 
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/command/egg_info.py",
line 562, in add_defaults
sdist.add_defaults(self)
  File