[Qgis-user] QGIS Python integration

Alex Mandel tech_dev at wildintellect.com
Fri Feb 28 19:26:42 PST 2014


Odd, wonder if that particular mirror is having issues. You could just
change your ubuntu mirror, apt-get update and try again. However I
suggest you just install from other repos.

Yes there are at least 2 other repos you can use to get QGIS and are
recommended because you'll get newer versions.

See http://qgis.org/en/site/forusers/alldownloads.html#ubuntu

There's QGIS.org and UbuntuGIS
QGIS.org version will get you newer QGIS
UbuntuGIS will get you newer QGIS,GDAL,PROJ,GEOS etc

Newer GDAL can often be important for support of certain formats.

Enjoy,
Alex

On 02/28/2014 07:11 PM, Dave Kimble wrote:
> Yes, python-qgis is not installed.
> It seems to be missing from the "saucy universe" repository:
> 
> $ sudo apt-get update
> $ sudo apt-get install python-qgis
> ...
> $ sudo apt-get install python-qgis --fix-missing
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>   gdal-bin libqgis1.7.5 python-gdal python-qgis-common
> The following NEW packages will be installed:
>   gdal-bin libqgis1.7.5 python-gdal python-qgis python-qgis-common
> 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
> Need to get 5,667 kB of archives.
> After this operation, 21.6 MB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Err http://au.archive.ubuntu.com/ubuntu/ saucy/universe gdal-bin i386
> 1.9.0-3.1ubuntu4
>   502  internal error - server connection terminated [IP:
> 202.158.214.106 80]
> Err http://au.archive.ubuntu.com/ubuntu/ saucy/universe python-gdal i386
> 1.9.0-3.1ubuntu4
>   502  internal error - server connection terminated [IP:
> 202.158.214.106 80]
> Err http://au.archive.ubuntu.com/ubuntu/ saucy/universe libqgis1.7.5
> i386 1.7.4+1.7.5~20120320-1.1ubuntu1
>   502  internal error - server connection terminated [IP:
> 202.158.214.106 80]
> Err http://au.archive.ubuntu.com/ubuntu/ saucy/universe
> python-qgis-common all 1.7.4+1.7.5~20120320-1.1ubuntu1
>   502  internal error - server connection terminated [IP:
> 202.158.214.106 80]
> Err http://au.archive.ubuntu.com/ubuntu/ saucy/universe python-qgis i386
> 1.7.4+1.7.5~20120320-1.1ubuntu1
>   502  internal error - server connection terminated [IP:
> 202.158.214.106 80]
> Failed to fetch
> http://au.archive.ubuntu.com/ubuntu/pool/universe/g/gdal/gdal-bin_1.9.0-3.1ubuntu4_i386.deb
> 502  internal error - server connection terminated [IP: 202.158.214.106 80]
> Failed to fetch
> http://au.archive.ubuntu.com/ubuntu/pool/universe/g/gdal/python-gdal_1.9.0-3.1ubuntu4_i386.deb
> 502  internal error - server connection terminated [IP: 202.158.214.106 80]
> Failed to fetch
> http://au.archive.ubuntu.com/ubuntu/pool/universe/q/qgis/libqgis1.7.5_1.7.4+1.7.5~20120320-1.1ubuntu1_i386.deb
> 502  internal error - server connection terminated [IP: 202.158.214.106 80]
> Failed to fetch
> http://au.archive.ubuntu.com/ubuntu/pool/universe/q/qgis/python-qgis-common_1.7.4+1.7.5~20120320-1.1ubuntu1_all.deb
> 502  internal error - server connection terminated [IP: 202.158.214.106 80]
> Failed to fetch
> http://au.archive.ubuntu.com/ubuntu/pool/universe/q/qgis/python-qgis_1.7.4+1.7.5~20120320-1.1ubuntu1_i386.deb
> 502  internal error - server connection terminated [IP: 202.158.214.106 80]
> Unable to correct missing packages.
> E: Aborting install.
> 
> Is there a qgis-managed repository for Ubuntu builds?
> 
> On 01/03/14 12:28, Alex Mandel wrote:
>> On 02/28/2014 04:19 PM, Dave Kimble wrote:
>>> Ubuntu 13.10, QGIS 2.0.1, Python 2.7.5, Python 3.3.2
>>> QGIS > Plugins > Manage Plugins > Settings > is saying "no python
>>> support detected",
>>> but I have v2.7 and v3.3 installed.
>>>
>>> QGIS is working OK, but I guess I'm missing some features.
>>> I need to clip some gigantic shapefiles down to just my locality, which
>>> I think you call geoprocessing, and it looks like ftools will do that,
>>> but it doesn't show up on the plug-in list.
>>>
>>> How do you search the archives for previously asked questions?
>> http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-f4099105.html
>>
>> The most likely answer is your missing the python-qgis package. FYI QGIS
>> uses python 2.x
>>
>> Thanks,
>> Alex
>>
>>
>>
> 




More information about the Qgis-user mailing list