I get an error. As you can see from the attached image, my database folder and location have been created successfully.
---------------------------------------------------------------------------
CalledModuleError Traceback (most recent call last)
<ipython-input-12-7d7a61234f98> in <module>()
----> 1 grass.core.create_location(user["gisdb"], user["location"], epsg=user["locationepsg"], overwrite=False)
C:\OSGeo4W64\apps\grass\grass-7.3.svn\etc\python\grass\script\core.pyc in create_location(dbase, location, epsg, proj4, filename, wkt, datum, datum_trans, desc, overwrite)
1457 if epsg or proj4 or filename or wkt:
1458 # FIXME: changing GISDBASE mid-session is not background-job safe
-> 1459 gisdbase = gisenv()['GISDBASE']
1460 run_command('g.gisenv', set='GISDBASE=%s' % dbase)
1461 # create dbase if not exists
C:\OSGeo4W64\apps\grass\grass-7.3.svn\etc\python\grass\script\core.pyc in gisenv()
1008 :return: list of GRASS variables
1009 """
-> 1010 s = read_command("g.gisenv", flags='n')
1011 return parse_key_val(s)
1012
C:\OSGeo4W64\apps\grass\grass-7.3.svn\etc\python\grass\script\core.pyc in read_command(*args, **kwargs)
472 if _capture_stderr and returncode:
473 sys.stderr.write(stderr)
--> 474 return handle_errors(returncode, stdout, args, kwargs)
475
476
C:\OSGeo4W64\apps\grass\grass-7.3.svn\etc\python\grass\script\core.pyc in handle_errors(returncode, result, args, kwargs)
328 args = make_command(*args, **kwargs)
329 raise CalledModuleError(module=None, code=repr(args),
--> 330 returncode=returncode)
331
332 def start_command(prog, flags=b"", overwrite=False, quiet=False,
CalledModuleError: Module run None ['g.gisenv', '-n'] ended with error
Process ended with non-zero return code -1073741515. See errors in the (error) output.