python-sc2 icon indicating copy to clipboard operation
python-sc2 copied to clipboard

Cannot import sc2 - dll error

Open jj01101010 opened this issue 7 years ago • 3 comments

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 avatar Dec 17 '18 15:12 jj01101010

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

jj01101010 avatar Dec 17 '18 15:12 jj01101010

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

jj01101010 avatar Dec 17 '18 15:12 jj01101010

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

Dentosal avatar Jan 04 '19 15:01 Dentosal