Skip to main content
Tweeted twitter.com/StackGIS/status/804842217722564608
code formatting
Source Link
Kersten
  • 9.9k
  • 3
  • 39
  • 59

I have been trying to get rasterio working with my QGIS setup so that I can take advantage of the fast raster manipulations.

After a day of installing / uninstalling and then piece by piece searching and getting components installed one by one where needed (From upgrading GDAL, numpy, and a whole slew of other modules which were fighting each other) I manged to get to the point where I could import rasterio without any errors.

However now when I run, the first call in the example causes a Traceback:

with rasterio.drivers(CPL_DEBUG=True):  

with rasterio.drivers(CPL_DEBUG=True):
createscreates error => TypeError: 'module' object is not callable

TypeError: 'module' object is not callable

I have noticed that other rasterio objects seem fine, but all functions that are in .pyc files have this same issue.

Any help? - I will continue in the morning, but I was hoping some elves would appear and help solve this one tonight! :-)

I have been trying to get rasterio working with my QGIS setup so that I can take advantage of the fast raster manipulations.

After a day of installing / uninstalling and then piece by piece searching and getting components installed one by one where needed (From upgrading GDAL, numpy, and a whole slew of other modules which were fighting each other) I manged to get to the point where I could import rasterio without any errors.

However now when I run, the first call in the example causes a Traceback:

with rasterio.drivers(CPL_DEBUG=True):
creates error => TypeError: 'module' object is not callable

I have noticed that other rasterio objects seem fine, but all functions that are in .pyc files have this same issue.

Any help? - I will continue in the morning, but I was hoping some elves would appear and help solve this one tonight! :-)

I have been trying to get rasterio working with my QGIS setup so that I can take advantage of the fast raster manipulations.

After a day of installing / uninstalling and then piece by piece searching and getting components installed one by one where needed (From upgrading GDAL, numpy, and a whole slew of other modules which were fighting each other) I manged to get to the point where I could import rasterio without any errors.

However now when I run, the first call in the example causes a Traceback:

with rasterio.drivers(CPL_DEBUG=True):  

creates error =>

TypeError: 'module' object is not callable

I have noticed that other rasterio objects seem fine, but all functions that are in .pyc files have this same issue.

Any help? - I will continue in the morning, but I was hoping some elves would appear and help solve this one tonight! :-)

added 4 characters in body
Source Link
A.A
  • 533
  • 5
  • 14

I have been trying to get rasterio working with my QGIS setup so that I can take advantage of the fast raster manipulations.

After a day of installing / uninstalling and then piece by piece searching and getting components installed one by one where needed (From upgrading GDAL, numpy, and a whole slew of other modules which were fighting each other) I manged to get to the point where I could import rasterio without any errors.

However now when I run, the first call in the example causes a Traceback:

with rasterio.drivers(CPL_DEBUG=True):
creates error => TypeError: 'module' object is not callable

I have noticed that other rasterio objects seem fine, but all functions that are in .pyc files have this same issue.

Any help? - I will continue in the morning, but I was hoping some elves would appear and help solve this one tonight! :-)

I have been trying to get rasterio working with my QGIS setup so that I can take advantage of the fast raster manipulations.

After a day of installing / uninstalling and then piece by piece searching and getting components installed one by one where needed (From upgrading GDAL, numpy, and a whole slew of other modules which were fighting each other) I manged to get to the point where I could import rasterio without any errors.

However now when I run, the first call in the example causes a Traceback:

with rasterio.drivers(CPL_DEBUG=True):
creates error => TypeError: 'module' object is not callable

I have noticed that other rasterio objects seem fine, but all functions that are in .pyc files have this same issue.

Any help? - I will continue in the morning, but I was hoping some elves would appear and help solve this one tonight!

I have been trying to get rasterio working with my QGIS setup so that I can take advantage of the fast raster manipulations.

After a day of installing / uninstalling and then piece by piece searching and getting components installed one by one where needed (From upgrading GDAL, numpy, and a whole slew of other modules which were fighting each other) I manged to get to the point where I could import rasterio without any errors.

However now when I run, the first call in the example causes a Traceback:

with rasterio.drivers(CPL_DEBUG=True):
creates error => TypeError: 'module' object is not callable

I have noticed that other rasterio objects seem fine, but all functions that are in .pyc files have this same issue.

Any help? - I will continue in the morning, but I was hoping some elves would appear and help solve this one tonight! :-)

Corrected spelling
Source Link
whyzar
  • 12.1k
  • 23
  • 39
  • 72

I have been trying to get rasterio working with my QGIS setup so that I can take advantage of the fast raster manipulations.

After a day of installing / uninstalling and then piece by piece searching and getting components installed one by one where needed (From upgrading GDAL, numpy, and a whole slew of other modules which were fighting each other) I manged to get to the point where I could import rasterio without any errors.

However now when I run, the first call in the example causes a Traceback:

with rasterio.drivers(CPL_DEBUG=True):
creates error => TypeError: 'module' object is not callable

I have noticed that other rasterio objects seem fine, but all functions that are in .pyc files have this same issue.

Any help? - I will continue in the morning, but I was hoping some elves would appear and help solve this one tonight! :-)

I have been trying to get rasterio working with my QGIS setup so that I can take advantage of the fast raster manipulations.

After a day of installing / uninstalling and then piece by piece searching and getting components installed one by one where needed (From upgrading GDAL, numpy, and a whole slew of other modules which were fighting each other) I manged to get to the point where I could import rasterio without any errors.

However now when I run, the first call in the example causes a Traceback:

with rasterio.drivers(CPL_DEBUG=True):
creates error => TypeError: 'module' object is not callable

I have noticed that other rasterio objects seem fine, but all functions that are in .pyc files have this same issue.

Any help? - I will continue in the morning, but I was hoping some elves would appear and help solve this one tonight! :-)

I have been trying to get rasterio working with my QGIS setup so that I can take advantage of the fast raster manipulations.

After a day of installing / uninstalling and then piece by piece searching and getting components installed one by one where needed (From upgrading GDAL, numpy, and a whole slew of other modules which were fighting each other) I manged to get to the point where I could import rasterio without any errors.

However now when I run, the first call in the example causes a Traceback:

with rasterio.drivers(CPL_DEBUG=True):
creates error => TypeError: 'module' object is not callable

I have noticed that other rasterio objects seem fine, but all functions that are in .pyc files have this same issue.

Any help? - I will continue in the morning, but I was hoping some elves would appear and help solve this one tonight!

Source Link
A.A
  • 533
  • 5
  • 14
Loading