# ImportError: DLL load failed: The specified procedure could not be found

**URL:** <https://discuss.streamlit.io/t/importerror-dll-load-failed-the-specified-procedure-could-not-be-found/2318>\
**Category:** Using Streamlit\
**Created:** [March 28, 2020, 5:50pm UTC](https://discuss.streamlit.io/t/importerror-dll-load-failed-the-specified-procedure-could-not-be-found/2318 "2020-03-28T17:50:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vbucaj](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@vbucaj](https://discuss.streamlit.io/u/vbucaj)\
**Post date:** [March 28, 2020, 5:50pm UTC](https://discuss.streamlit.io/t/importerror-dll-load-failed-the-specified-procedure-could-not-be-found/2318/1 "2020-03-28T17:50:24Z")

</div>

I know a similar question was asked before, but I’m getting a different error log and I haven’t been able to resolve the issue following the previous suggestions.

I suddenly started getting a similar error and I can’t run anything, even a streamlit hello.

Below is the message I get:

Traceback (most recent call last):  
File “C:\Users\valmirj\AppData\Local\Programs\Python\Python36\lib\runpy.py”, line 193, in _run\_module\_as\_main  
“ **main** ”, mod\_spec)  
File “C:\Users\valmir\AppData\Local\Programs\Python\Python36\lib\runpy.py”, line 85, in run\_code  
exec(code, run\_globals)  
File “C:\Users\valmir\OneDrive\CovidTrends\venv\Scripts\streamlit.exe\_ main .py”, line 5, in  
File “c:\users\valmir\onedrive\covidtrends\venv\lib\site-packages\streamlit\_ init_ .py”, line 121, in  
from streamlit.DeltaGenerator import DeltaGenerator as \_DeltaGenerator  
File “c:\users\valmir\onedrive\covidtrends\venv\lib\site-packages\streamlit\DeltaGenerator.py”, line 41, in  
from streamlit.proto import Alert\_pb2  
File “c:\users\valmir\onedrive\covidtrends\venv\lib\site-packages\streamlit\proto\Alert\_pb2.py”, line 5, in  
from google.protobuf import descriptor as \_descriptor  
File “c:\users\valmir\onedrive\covidtrends\venv\lib\site-packages\google\protobuf\descriptor.py”, line 47, in  
from google.protobuf.pyext import \_message  
ImportError: DLL load failed: The specified procedure could not be found.

Any suggestions what this may be? I was able to run streamlit with no issues a day or two ago, and as far as I can recall I haven’t made any changes to the code or installed packages.

Thanks

---

<div class="post-metadata">

**Author:** ![tc1](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/tc1/32/70_2.png) [@tc1](https://discuss.streamlit.io/u/tc1)\
**Post date:** [March 30, 2020, 3:41pm UTC](https://discuss.streamlit.io/t/importerror-dll-load-failed-the-specified-procedure-could-not-be-found/2318/2 "2020-03-30T15:41:08Z")

</div>

Hey @vbucaj 👋,

Thiago helped answer your question [on this thread](https://discuss.streamlit.io/t/importerror-dll-load-failed-the-specified-module-could-not-be-found/621/8). Just in case anyone else comes across this thread and has a similar issue, here is Thiago’s response from the other thread:

* * *

Based on this last line in your logs…

> File “c:\users\valmir\onedrive\covidtrends\venv\lib\site-packages\google\protobuf\descriptor.py”, line 47, in  
> from google.protobuf.pyext import \_message

…my guess is this is an issue with the `protobuf` package. Can you try reinstalling it?

But first, please let me know what version of the protobuf package you’re using in case we need to change Streamlit’s requirements to avoid that version 🙂 . For that, just open a Python console, and then:

```py
>>> import google.protobuf                 
>>> print("BAD VERSION: ", google.protobuf. __version__ )

```

Once you do that, please copy the output into this thread.

Then try installing the latest version:

```bash
pip uninstall protobuf
pip install protobuf

```

If that doesn’t work, try this instead:

```bash
pip install protobuf==3.11.2

```

If any of these work for you, please run this and post on this thread what it says:

```py
>>> import google.protobuf                 
>>> print("GOOD VERSION: ", google.protobuf. __version__ )
```

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [November 19, 2021, 5:26pm UTC](https://discuss.streamlit.io/t/importerror-dll-load-failed-the-specified-procedure-could-not-be-found/2318/3 "2021-11-19T17:26:19Z")

</div>


