package import failure
RB-HGG opened this issue · 2 comments
RB-HGG commented
High there,
I've successfully installed PyGeoStudio via pip, but run into an error when I try to load it in a Jupyter Notebook.
I get the following error below. Any help would be greatly appreciated!
Traceback (most recent call last):
File c:\Users\XXXXX\anaconda3\lib\site-packages\IPython\core\interactiveshell.py:3369 in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
Input In [6] in <cell line: 1>
import PyGeoStudio as pgs
File c:\Users\XXXXX\anaconda3\lib\site-packages\PyGeoStudio_init_.py:1 in
from .PyGeoStudio import GeoStudioFile
File c:\Users\XXXXX\anaconda3\lib\site-packages\PyGeoStudio\PyGeoStudio.py:72
match item:
^
SyntaxError: invalid syntax
MoiseRousseau commented
It seems to me you are using Python version 3.9 or below. You must have
Python 3.10 or above to run PyGeoStudio. Can you upgrade your Python
version ?
I can have a look tomorrow or later to make compatible with older Python
versions.
Le lun. 11 mars 2024 22:19, RB-HGG ***@***.***> a écrit :
… High there,
I've successfully installed PyGeoStudio via pip, but run into an error
when I try to load it in a Jupyter Notebook.
I get the following error below. Any help would be greatly appreciated!
Traceback (most recent call last):
File
c:\Users\XXXXX\anaconda3\lib\site-packages\IPython\core\interactiveshell.py:3369
in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
Input In [6] in <cell line: 1>
import PyGeoStudio as pgs
File c:\Users\XXXXX\anaconda3\lib\site-packages\PyGeoStudio_*init*_.py:1
in
from .PyGeoStudio import GeoStudioFile
File
c:\Users\XXXXX\anaconda3\lib\site-packages\PyGeoStudio\PyGeoStudio.py:72
match item:
^
SyntaxError: invalid syntax
—
Reply to this email directly, view it on GitHub
<#11>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKRTDJU53G4VPM7EA6YWLSLYXZQ4PAVCNFSM6AAAAABERMFRF6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DANJYG4YTMNY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
RB-HGG commented
All good now with Python update. Thanks!