Why geosoft.gxpy not working

Options
AllenGuan
AllenGuan Posts: 2 Calcite Rank Badge
edited May 2023 in Oasis montaj
Very new to Geosoft. Installed gxpy module (pip install geosoft-9.3.1-cp36-none-win_amd64.whl) and obtained a Geosoft ID. On command line, test the code below, but got a dll error as shown in attached. I guess I need some kind of key file that references my Geosoft ID? Can somebody help?

set PATH=C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3;C:\Program Files\ArcGIS\Pro\bin\Python\Scripts;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts;%PATH%
set PYTHONPATH=C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages

python

>>>import geosoft.gxpy as gxpy

>>>gxc = gxpy.gx.GXpy()

Answers

This discussion has been closed.