Pesso@all,
Preciso de uma ajuda de vocês....Estou tentando executar o SmartMap no QGIS 3.22 LTR (UBUNTU 20.04x64) e aparece este erro. Alguém pode me ajudar?
Um erro ocorreu enquanto executava o código Python:
Traceback (most recent call last):
File "/home/analista/.local/share/QGIS/QGIS3/profiles/default/python/plugins/Smart_Map/Smart_Map.py", line 1814, in pushButton_ImportQGIS_clicked
Semiv = semivariogram.Semivariogram(self.xy, self.z)
File "/home/analista/.local/share/QGIS/QGIS3/profiles/default/python/plugins/Smart_Map/krig/semivariogram.py", line 98, in __init__
self.var=self.var.sort_values(by='lag',ignore_index=True) #o index não é atualizado
TypeError: sort_values() got an unexpected keyword argument 'ignore_index'
Márcio Midon Arquiteto e Urbanista UFPel Especialista Geoprocessamento UFPR Mestre Geomática UFSM Doutorando Geografia UFSM Tel 53 3305 7075 | Cel 53 98100 2020 SKYPE marcio_midon
import pandas as pd
# Get pandas Version
print(pd.__version__)# Using pip3 to upgrade pandas
pip3 install --upgrade pandas# Alternatively you can also try
python -m pip install --upgrade pandasEm 22 de out. de 2023, à(s) 19:43, Márcio Midon <marci...@gmail.com> escreveu:
--
Comunidade QGIS Brasil: http://qgisbrasil.org/
---
You received this message because you are subscribed to the Google Groups "qgisbrasil" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qgisbrasil+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qgisbrasil/fd4493b2-7c04-4399-ac4f-f6e75adc8a7b%40gmail.com.
Olá Sandro,
Fiz o procedimento e o erro continua. Tentei no Windos 10 X 64 com QGIS 3.28LTR e deu erro tbm.
Obrigado pela força.
Att
Marcio Midon.
To view this discussion on the web visit https://groups.google.com/d/msgid/qgisbrasil/68526020-990E-4D79-869A-FDBD403A6CDB%40gmail.com.
No windows aparece esta mensagem:
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin
`float`. To avoid this error in existing code, use `float` by
itself. Doing this will not modify any behavior and is safe. If
you specifically wanted the numpy scalar type, use `np.float64`
here.
The aliases was originally deprecated in NumPy 1.20;
for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
To view this discussion on the web visit https://groups.google.com/d/msgid/qgisbrasil/68526020-990E-4D79-869A-FDBD403A6CDB%40gmail.com.