pyarchinit / pyarchinit

Official repository of pyArchInit since Python 3 porting
GNU General Public License v2.0
9 stars 9 forks source link

Errore installazione plugin. Mac OS Catalina #227

Closed tommasozanca closed 4 years ago

tommasozanca commented 4 years ago

Cercando di installare il plugin mi dice che ho alcuni plugin mancanti. Dopo che accetto di installarli Python si chiude e mi compare questo messaggio d'errore

Impossibile caricare il plugin 'pyarchinit-master' a causa di un errore chiamando il metodo classFactory()

ModuleNotFoundError: No module named 'pyper' Traceback (most recent call last): File "/Applications/QGIS3.12.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 334, in _startPlugin plugins[packageName] = package.classFactory(iface) File "/Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/pyarchinit-master/init.py", line 158, in classFactory from .pyarchinitPlugin import PyArchInitPlugin File "/Applications/QGIS3.12.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 744, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/pyarchinit-master/pyarchinitPlugin.py", line 32, in from .pyarchinitDockWidget import PyarchinitPluginDialog File "/Applications/QGIS3.12.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 744, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/pyarchinit-master/pyarchinitDockWidget.py", line 30, in from .tabs.Archeozoology import pyarchinit_Archeozoology File "/Applications/QGIS3.12.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 744, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/pyarchinit-master/tabs/Archeozoology.py", line 39, in from pyper import R File "/Applications/QGIS3.12.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 744, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'pyper'

Versione Python: 3.7.3 (default, Mar 27 2019, 09:23:15) [Clang 10.0.1 (clang-1001.0.46.3)] Versione di QGIS: 3.12.1-București București, 121cc00ff0

Percorso Python: /Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/pyarchinit-master/gui/ui /Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/pyarchinit-master/resources /Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/pyarchinit-master/gui/ui /Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/pyarchinit-master/resources /Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/pyarchinit-master/gui/ui /Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/pyarchinit-master/resources /Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/contour /Applications/QGIS3.12.app/Contents/MacOS/../Resources/python /Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python /Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins /Applications/QGIS3.12.app/Contents/MacOS/../Resources/python/plugins /Applications/QGIS3.12.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/site-packages/geos /Applications/QGIS3.12.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7 /Applications/QGIS3.12.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/site-packages /Applications/QGIS3.12.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python37.zip /Applications/QGIS3.12.app/Contents/Resources/python /Applications/QGIS3.12.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/lib-dynload /Users/tommasozanca/Library/Application Support/QGIS/QGIS3/profiles/default/python /Users/tommasozanca/Desktop/robe varie università/GIS/Progetto prova

enzococca commented 4 years ago

ciao stesso problema evidenziato qui #225 non ti sta installando dei pacchetti python che servono per il funzionamento del plugin. prova ad installare manualmente i seguenti pacchetti tramite pip apri la shell e scrivi python3 -m pip install "nome pacchetto che vedi sotto in elenco" SQLAlchemy SQLAlchemy-Utils reportlab networkx matplotlib PypeR graphviz==0.8.3 pysftp xlsxwriter pandas

fa sapere

tommasozanca commented 4 years ago

Il comando mi restituisce questo ollecting SQLAlchemy Downloading https://files.pythonhosted.org/packages/d0/31/ac4c21281373a49a826ecbede21f0e6cf29b1d9a129b81794164566fa705/SQLAlchemy-1.3.16-cp36-cp36m-macosx_10_13_x86_64.whl (1.2MB) 100% |████████████████████████████████| 1.2MB 5.1MB/s Installing collected packages: SQLAlchemy Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.16.dist-info' Consider using the --user option or check the permissions.

You are using pip version 10.0.1, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command

enzococca commented 4 years ago

ok allora usa il comando sudo python3 -m pip install "nome pacchetto

tommasozanca commented 4 years ago

Installati tutti, ma mi dà lo stesso errore The 'graphviz==0.8.3' distribution was not found and is required by the application, No module named 'pyper', No module named 'sqlalchemy', No module named 'reportlab', No module named 'sqlalchemy_utils', No module named 'pysftp', No module named 'xlsxwriter'

enzococca commented 4 years ago

prova ad installare solo graphviz senza ==0.83

Il giorno lun 20 apr 2020 alle ore 19:19 tommasozanca < notifications@github.com> ha scritto:

Installati tutti, ma mi dà lo stesso errore The 'graphviz==0.8.3' distribution was not found and is required by the application, No module named 'pyper', No module named 'sqlalchemy', No module named 'reportlab', No module named 'sqlalchemy_utils', No module named 'pysftp', No module named 'xlsxwriter'

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pyarchinit/pyarchinit/issues/227#issuecomment-616696149, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2P5KCF4SEDT4PRW3S6TVDRNR73NANCNFSM4MMR42OQ .

-- Enzo Cocca PhD in "Science and Technology for Archaeology and Cultural Heritage"

ISMEO International Association of Mediterranean and Oriental Studies

mail: enzo.ccc@gmail.com cell: +393495087014

tommasozanca commented 4 years ago

Io sto inserendo i comandi in una shell di terminale, sto sbagliando? Graphviz dice che è già installato

enzococca commented 4 years ago

Bene

Il lun 20 apr 2020, 19:24 tommasozanca notifications@github.com ha scritto:

Io sto inserendo i comandi in una shell di terminale, sto sbagliando? Graphviz dice che è già installato

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pyarchinit/pyarchinit/issues/227#issuecomment-616699027, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2P5KFICQO6ZW455DJ6KR3RNSAODANCNFSM4MMR42OQ .

enzococca commented 4 years ago

Ora se avvi qgis cosa ti dice?

Il lun 20 apr 2020, 19:33 Enzo Cocca enzo.ccc@gmail.com ha scritto:

Bene

Il lun 20 apr 2020, 19:24 tommasozanca notifications@github.com ha scritto:

Io sto inserendo i comandi in una shell di terminale, sto sbagliando? Graphviz dice che è già installato

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pyarchinit/pyarchinit/issues/227#issuecomment-616699027, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2P5KFICQO6ZW455DJ6KR3RNSAODANCNFSM4MMR42OQ .

tommasozanca commented 4 years ago

Aprendolo mi dice così The 'graphviz==0.8.3' distribution was not found and is required by the application, No module named 'pyper', No module named 'sqlalchemy', No module named 'reportlab', No module named 'sqlalchemy_utils', No module named 'pysftp', No module named 'xlsxwriter'

enzococca commented 4 years ago

Come hai installato qgis sul mac?

Il lun 20 apr 2020, 19:36 tommasozanca notifications@github.com ha scritto:

Aprendolo mi dice così The 'graphviz==0.8.3' distribution was not found and is required by the application, No module named 'pyper', No module named 'sqlalchemy', No module named 'reportlab', No module named 'sqlalchemy_utils', No module named 'pysftp', No module named 'xlsxwriter'

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pyarchinit/pyarchinit/issues/227#issuecomment-616705116, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2P5KBCPD46GKK2S4KTSKTRNSBYBANCNFSM4MMR42OQ .

enzococca commented 4 years ago

Sentiamoci domani se non hai risolto, Scrivimi in privato. Ciao

Il lun 20 apr 2020, 19:54 Enzo Cocca enzo.ccc@gmail.com ha scritto:

Come hai installato qgis sul mac?

Il lun 20 apr 2020, 19:36 tommasozanca notifications@github.com ha scritto:

Aprendolo mi dice così The 'graphviz==0.8.3' distribution was not found and is required by the application, No module named 'pyper', No module named 'sqlalchemy', No module named 'reportlab', No module named 'sqlalchemy_utils', No module named 'pysftp', No module named 'xlsxwriter'

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pyarchinit/pyarchinit/issues/227#issuecomment-616705116, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2P5KBCPD46GKK2S4KTSKTRNSBYBANCNFSM4MMR42OQ .