# Workbench does not run after startup

**URL:** <https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542>\
**Category:** Software Support\
**Tags:** invest-workbench\
**Created:** [March 13, 2024, 8:25am UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542 "2024-03-13T08:25:54Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![frederick](https://avatars.discourse-cdn.com/v4/letter/f/ea5d25/32.png) [@frederick](https://community.naturalcapitalalliance.org/u/frederick)\
**Post date:** [March 13, 2024, 8:25am UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/1 "2024-03-13T08:25:54Z")

</div>

new post:

Hi James I’m a newbie to the software and needed to check my windows 10 install as I can’t seem to get it running. version 3.14.1. I have downloaded and installed the software but it doesn’t run after start up.

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [March 13, 2024, 1:17pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/2 "2024-03-13T13:17:02Z")

</div>

@frederick , I moved your post to a new topic since it’s likely to get lost if attached to a two-year old thread.

> [@frederick](#):
>
> I have downloaded and installed the software but it doesn’t run after start up.

Can you describe in any more detail what happens? I assume you click the “InVEST 3.14.1 Workbench” link from your start menu…and then what happens?

Could you look at the Windows Task Manager when you do this to see if the Workbench appears in the “Apps” list?

Also, please check if you have any files in this folder and upload them here:  
`C:\Users\<your username>\AppData\Roaming\invest-workbench\logs`

Thank you,

---

<div class="post-metadata">

**Author:** ![frederick](https://avatars.discourse-cdn.com/v4/letter/f/ea5d25/32.png) [@frederick](https://community.naturalcapitalalliance.org/u/frederick)\
**Post date:** [March 13, 2024, 2:27pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/3 "2024-03-13T14:27:43Z")

</div>

Hi there, thanks for the reply seems to be working now.

---

<div class="post-metadata">

**Author:** ![frederick](https://avatars.discourse-cdn.com/v4/letter/f/ea5d25/32.png) [@frederick](https://community.naturalcapitalalliance.org/u/frederick)\
**Post date:** [March 16, 2024, 6:09pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/4 "2024-03-16T18:09:26Z")

</div>

Hey Dave I seem to still be having trouble running the workbench. any advise? Maybe I spoke too soon.

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [March 18, 2024, 12:56pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/5 "2024-03-18T12:56:06Z")

</div>

> [@frederick](#):
>
> any advise? Maybe I spoke too soon.

Please follow the advice I posted in my first response.

---

<div class="post-metadata">

**Author:** ![frederick](https://avatars.discourse-cdn.com/v4/letter/f/ea5d25/32.png) [@frederick](https://community.naturalcapitalalliance.org/u/frederick)\
**Post date:** [March 18, 2024, 3:57pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/6 "2024-03-18T15:57:41Z")

</div>

[13:54:38.366] [C:\Users\User\AppData\Local\Programs\InVEST 3.14.1 Workbench\resources\app.asar\build\main\main.js] FetchError: request to [http://127.0.0.1:56789/api/ready](http://127.0.0.1:56789/api/ready) failed, reason: connect ECONNREFUSED 127.0.0.1:56789  
at ClientRequest. (C:\Users\User\AppData\Local\Programs\InVEST 3.14.1 Workbench\resources\app.asar\node\_modules\node-fetch\lib\index.js:1505:11)  
at ClientRequest.emit (node:events:513:28)  
at Socket.socketErrorListener (node:\_http\_client:502:9)  
at Socket.emit (node:events:513:28)  
at emitErrorNT (node:internal/streams/destroy:151:8)  
at emitErrorCloseNT (node:internal/streams/destroy:116:3)  
at process.processTicksAndRejections (node:internal/process/task\_queues:82:21)

---

<div class="post-metadata">

**Author:** ![frederick](https://avatars.discourse-cdn.com/v4/letter/f/ea5d25/32.png) [@frederick](https://community.naturalcapitalalliance.org/u/frederick)\
**Post date:** [March 18, 2024, 4:01pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/7 "2024-03-18T16:01:12Z")

</div>

Hi Dave have attached sample log previews of what’s going on with the software

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [March 18, 2024, 5:13pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/8 "2024-03-18T17:13:59Z")

</div>

Thanks, it would be most helpful if you could upload the whole file for all files you find in,  
`C:\Users\<your username>\AppData\Roaming\invest-workbench\logs`

Use the “upload” button when replying here to attach the files. If you tried that previously and it didn’t work, I have adjusted some settings here so hopefully it will work if you try again. Thanks.

In addition, I would exit the Workbench and then check your Windows Task Manager to see if there are any processes still running called,

“InVEST 3.14.1 Workbench”  
“invest-workbench”  
“invest.exe”

Force quit or “End Task” any that you find. Then try starting the Workbench again.

Thank you,

---

<div class="post-metadata">

**Author:** ![frederick](https://avatars.discourse-cdn.com/v4/letter/f/ea5d25/32.png) [@frederick](https://community.naturalcapitalalliance.org/u/frederick)\
**Post date:** [March 25, 2024, 6:06pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/9 "2024-03-25T18:06:37Z")

</div>

Thank you Dave here’s what’s there.

[main.log](https://community.naturalcapitalalliance.org/uploads/short-url/yfQ9gRhTW70vAuPZn5nbjKm2Tt0.log) (203.2 KB)

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [April 2, 2024, 1:29pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/10 "2024-04-02T13:29:57Z")

</div>

Hi @frederick , thanks for sharing your logfile. Sorry I haven’t been able to respond earlier.

From the log, it appears that most of the time the Workbench does not startup correctly, but that maybe it has started correctly once or twice?

One of the startup operations is taking much longer than expected and it ultimately times out. I’m not sure what is causing that. We might try changing a few things and sending you a new version to try, though that might take a few more days.

In the meantime, if you feel like trying something, you could do the following:

1. Make sure the Workbench is closed
2. Open the “Command Prompt” program on Windows
3. Copy/Paste this command and press enter:

```auto
"C:\Users\User\AppData\Local\Programs\InVEST 3.14.1 Workbench\resources\invest\invest.exe" serve --port 56789

```

1. Wait for a message like this to appear in the command prompt (I’m curious how long this takes if you try it):

```auto
 * Serving Flask app 'natcap.invest.ui_server'
 * Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://127.0.0.1:56789
Press CTRL+C to quit

```

1. Open the Workbench, try running a model
2. When you are done and after you have closed the Workbench, you will need to go back to that Command Prompt window and press CTRL+C to exit that invest server program. Or you can leave it running.

Thanks again for reporting this problem. It is certainly something we would like to resolve.

---

<div class="post-metadata">

**Author:** ![frederick](https://avatars.discourse-cdn.com/v4/letter/f/ea5d25/32.png) [@frederick](https://community.naturalcapitalalliance.org/u/frederick)\
**Post date:** [April 3, 2024, 8:40pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/11 "2024-04-03T20:40:12Z")

</div>

thanks dave got it working. stellar stuff.

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [April 3, 2024, 9:03pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/12 "2024-04-03T21:03:16Z")

</div>

Great to hear! Did you have to wait long for that “Serving Flask app” message to appear after entering the command in the terminal? That’s the step that seems like it takes way too long during the Workbench startup, based on your logfile.

---

<div class="post-metadata">

**Author:** ![frederick](https://avatars.discourse-cdn.com/v4/letter/f/ea5d25/32.png) [@frederick](https://community.naturalcapitalalliance.org/u/frederick)\
**Post date:** [April 3, 2024, 9:15pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/13 "2024-04-03T21:15:41Z")

</div>

not that I remember. I haven’t shut the command prompt yet but if it’s likely I’ll have to run the command again  
. Ill keep a look out.

---

<div class="post-metadata">

**Author:** ![lingling](https://avatars.discourse-cdn.com/v4/letter/l/e0b2c6/32.png) [@lingling](https://community.naturalcapitalalliance.org/u/lingling)\
**Post date:** [October 2, 2024, 4:29pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/14 "2024-10-02T16:29:01Z")

</div>

Hi @dave,  
I tried running the command `"C:\Users\liu02034\AppData\Local\Programs\InVEST 3.14.2 Workbench\InVEST 3.14.2 Workbench.exe" serve --port 56789` on my laptop because I was having trouble starting the Workbench. However, I encountered the following errors:

[C:\Users\liu02034\AppData\Local\Programs\InVEST 3.14.2 Workbench\resources\app.asar\build\main\main.js] Windows detected, requesting single instance lock  
[09:20:42.010] [C:\Users\liu02034\AppData\Local\Programs\InVEST 3.14.2 Workbench\resources\app.asar\build\main\main.js] Running invest-workbench version 3.14.2  
[09:20:43.051] [C:\Users\liu02034\AppData\Local\Programs\InVEST 3.14.2 Workbench\resources\app.asar\build\main\main.js] Found invest binaries “C:\Users\liu02034\AppData\Local\Programs\InVEST 3.14.2 Workbench\resources\invest\invest.exe” for version  
[09:20:43.062] [C:\Users\liu02034\AppData\Local\Programs\InVEST 3.14.2 Workbench\resources\app.asar\build\main\main.js] Started python process as PID 936  
[09:20:43.381] [C:\Users\liu02034\AppData\Local\Programs\InVEST 3.14.2 Workbench\resources\app.asar\build\main\main.js] retry # 1  
[09:20:43.696] [C:\Users\liu02034\AppData\Local\Programs\InVEST 3.14.2 Workbench\resources\app.asar\build\main\main.js] retry # 2  
[09:20:44.012] [C:\Users\liu02034\AppData\Local\Programs\InVEST 3.14.2 Workbench\resources\app.asar\build\main\main.js] retry # 3  
[09:20:44.300] [C:\Users\liu02034\AppData\Local\Programs\InVEST 3.14.2 Workbench\resources\app.asar\build\main\main.js] Traceback (most recent call last):  
File “invest\cli.py”, line 16, in   
File “PyInstaller\loader\pyimod02\_importers.py”, line 419, in exec\_module  
File “natcap\invest\datastack.py”, line 37, in   
File “PyInstaller\loader\pyimod02\_importers.py”, line 419, in exec\_module  
File “natcap\invest\utils.py”, line 16, in   
File “PyInstaller\loader\pyimod02\_importers.py”, line 419, in exec\_module  
File “pygeoprocessing\__init_\_.py”, line 15, in   
File “PyInstaller\loader\pyimod02\_importers.py”, line 419, in exec\_module  
File “pygeoprocessing\geoprocessing.py”, line 30, in   
File “PyInstaller\loader\pyimod02\_importers.py”, line 419, in exec\_module  
File “osgeo\gdal\_array.py”, line 10, in   
ImportError: DLL load failed while importing \_gdal\_array: The specified procedure could not be found.  
[7796] Failed to execute script ‘cli’ due to unhandled exception!

Do you have any suggestions on how I can resolve this issue?

Thanks,  
Lingling

---

<div class="post-metadata">

**Author:** ![lingling](https://avatars.discourse-cdn.com/v4/letter/l/e0b2c6/32.png) [@lingling](https://community.naturalcapitalalliance.org/u/lingling)\
**Post date:** [October 2, 2024, 7:00pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/15 "2024-10-02T19:00:46Z")

</div>

related error messages:  
Traceback (most recent call last):  
File “C:\Users\liu02034\miniforge3\envs\invest\Lib\site-packages\osgeo\__init_\_.py”, line 30, in swig\_import\_helper  
return importlib.import\_module(mname)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\Users\liu02034\miniforge3\envs\invest\Lib\importlib\__init_\_.py”, line 126, in import\_module  
return \_bootstrap.\_gcd\_import(name[level:], package, level)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “”, line 1204, in \_gcd\_import  
File “”, line 1176, in \_find\_and\_load  
File “”, line 1147, in _find\_and\_load\_unlocked  
File “”, line 676, in load\_unlocked  
File “”, line 573, in module\_from\_spec  
File “”, line 1233, in create\_module  
File “”, line 241, in call\_with\_frames\_removed  
ImportError: DLL load failed while importing gdal: The specified procedure could not be found.  
During handling of the above exception, another exception occurred:  
Traceback (most recent call last):  
File “d:\Shared drives\NatCapTEEMs\Projects\WB\_MANAGE\_Project\ES\Onil\POLLINATION\execuate\_pollination\_IND.py”, line 1, in   
import natcap.invest.pollination  
File “C:\Users\liu02034\miniforge3\envs\invest\Lib\site-packages\natcap\invest\pollination.py”, line 11, in   
import pygeoprocessing  
File "C:\Users\liu02034\miniforge3\envs\invest\Lib\site-packages\pygeoprocessing\_init.py", line 15, in   
from . import geoprocessing  
File “C:\Users\liu02034\miniforge3\envs\invest\Lib\site-packages\pygeoprocessing\geoprocessing.py”, line 29, in   
from osgeo import gdal  
File "C:\Users\liu02034\miniforge3\envs\invest\Lib\site-packages\osgeo\_init.py", line 46, in   
 gdal = swig\_import\_helper()  
^^^^^^^^^^^^^^^^^^^^  
File "C:\Users\liu02034\miniforge3\envs\invest\Lib\site-packages\osgeo\_init.py", line 42, in swig\_import\_helper  
raise ImportError(traceback\_string + ‘\n’ + msg)  
ImportError: Traceback (most recent call last):  
File "C:\Users\liu02034\miniforge3\envs\invest\Lib\site-packages\osgeo\_init.py", line 30, in swig\_import\_helper  
return importlib.import\_module(mname)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File "C:\Users\liu02034\miniforge3\envs\invest\Lib\importlib\_init_.py", line 126, in import\_module  
return \_bootstrap.\_gcd\_import(name[level:], package, level)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “”, line 1204, in \_gcd\_import  
File “”, line 1176, in \_find\_and\_load  
File “”, line 1147, in \_find\_and\_load\_unlocked  
File “”, line 676, in \_load\_unlocked  
File “”, line 573, in module\_from\_spec  
File “”, line 1233, in create\_module  
File “”, line 241, in \_call\_with\_frames\_removed  
ImportError: DLL load failed while importing \_gdal: The specified procedure could not be found.  
On Windows, with Python \>= 3.8, DLLs are no longer imported from the PATH.  
If gdalXXX.dll is in the PATH, then set the USE\_PATH\_FOR\_GDAL\_PYTHON=YES environment variable  
to feed the PATH into os.add\_dll\_directory().

---

<div class="post-metadata">

**Author:** ![lingling](https://avatars.discourse-cdn.com/v4/letter/l/e0b2c6/32.png) [@lingling](https://community.naturalcapitalalliance.org/u/lingling)\
**Post date:** [October 2, 2024, 7:37pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/16 "2024-10-02T19:37:50Z")

</div>

I have the following conda environments in my laptop:

- `base`: C:\Users\liu02034\AppData\Local\anaconda3
- `env2024`: C:\Users\liu02034\AppData\Local\anaconda3\envs\env2024
- `base`: C:\Users\liu02034\miniforge3
- `env_Hackathon`: C:\Users\liu02034\miniforge3\envs\env\_Hackathon
- `env_MANAGE`: C:\Users\liu02034\miniforge3\envs\env\_MANAGE
- `env_kids`: C:\Users\liu02034\miniforge3\envs\env\_kids
- `invest`: C:\Users\liu02034\miniforge3\envs\invest

I deleted the first two environments and installed InVEST using the following command:  
pip install “git+https://github.com/natcap/invest.git@main#egg=natcap.invest”

I can run InVEST in a development environment, but I’m still unable to open the InVEST Workbench. Any suggestions on how to fix this issue would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![jdouglass](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/jdouglass/32/9_2.png) [@jdouglass](https://community.naturalcapitalalliance.org/u/jdouglass)\
**Post date:** [October 2, 2024, 10:46pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/17 "2024-10-02T22:46:07Z")

</div>

@lingling could you confirm how you are trying to start the workbench? Are you using the start menu link, or are you trying to run the workbench from the command line?

Did the workbench stop working all of a sudden, or has this been happening for some time?

Do you have any values set to the `PYTHONPATH` environment variable?

---

<div class="post-metadata">

**Author:** ![lingling](https://avatars.discourse-cdn.com/v4/letter/l/e0b2c6/32.png) [@lingling](https://community.naturalcapitalalliance.org/u/lingling)\
**Post date:** [October 3, 2024, 4:45am UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/18 "2024-10-03T04:45:41Z")

</div>

I tried both methods:

1. **From the Start Menu:** The InVEST logo appeared, but the Workbench did not show up.
2. **From the command line:** I followed Dave’s previous post with the command:

Copy code

```auto
"C:\Users\liu02034\AppData\Local\Programs\InVEST 3.14.2 Workbench\resources\invest\invest.exe" serve --port 56789

```

However, I encountered the following error:

Copy code

```auto
Traceback (most recent call last):
  File "invest\cli.py", line 16, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "natcap\invest\datastack.py", line 37, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "natcap\invest\utils.py", line 16, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "pygeoprocessing\ __init__.py", line 15, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "pygeoprocessing\geoprocessing.py", line 30, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "osgeo\gdal_array.py", line 10, in <module>
ImportError: DLL load failed while importing _gdal_array: The specified procedure could not be found.
[29820] Failed to execute script 'cli' due to an unhandled exception!

```

Any advice on how to fix this?

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [May 11, 2026, 4:09pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/19 "2026-05-11T16:09:51Z")

</div>

Split this topic on May 11, 2026, 4:09pm UTC

A post was split to a new topic: [Workbench 3.19.0 does not start](https://community.naturalcapitalalliance.org/t/workbench-3-19-0-does-not-start/6404)

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [May 12, 2026, 2:23pm UTC](https://community.naturalcapitalalliance.org/t/workbench-does-not-run-after-startup/4542/20 "2026-05-12T14:23:16Z")

</div>

Closed on May 12, 2026, 2:23pm UTC


