Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import sc2 - dll error #183

Open
jj01101010 opened this issue Dec 17, 2018 · 3 comments
Open

Cannot import sc2 - dll error #183

jj01101010 opened this issue Dec 17, 2018 · 3 comments

Comments

@jj01101010
Copy link

Hi I am new to sc2 and I installed it tried to just import sc2 and got this error in my python idle
Traceback (most recent call last):
File "M:\Python36\Lib\site-packages\examples\protoss\cannon_rush.py", line 3, in
import sc2
File "M:\Python36\lib\site-packages\sc2_init_.py", line 18, in
from .data import *
File "M:\Python36\lib\site-packages\sc2\data.py", line 2, in
from s2clientprotocol import (
File "M:\Python36\lib\site-packages\s2clientprotocol\sc2api_pb2.py", line 7, in
from google.protobuf import descriptor as _descriptor
File "M:\Python36\lib\site-packages\google\protobuf\descriptor.py", line 47, in
from google.protobuf.pyext import _message
ImportError: DLL load failed: Die angegebene Prozedur wurde nicht gefunden.
what went wrong i dont know :(

@jj01101010
Copy link
Author

sry it is german but i hope you can read it :)

@jj01101010
Copy link
Author

and I also tryed to reinstall sc2 and starcraft 2 nothing worked.
I use python 3.6

@Dentosal
Copy link
Owner

Dentosal commented Jan 4, 2019

You need to upgrade your Python to 3.6.1 or 3.7. Found solution in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants