GithubHelp home page GithubHelp logo

Comments (8)

Dentosal avatar Dentosal commented on June 3, 2024

You are probably using an older version of python-sc2, since pypi repository was not updated for a while. I just published a new version (v0.4.0, 35a0823), and it should at least fix this issue.

from python-sc2.

njustesen avatar njustesen commented on June 3, 2024

So I uninstalled sc2 and ran:
sudo pip3 install sc2==0.4.0
I get the same error.

Shouldn't I be able to run the examples when I clone the project without installing sc2? That also gives me the same error.

from python-sc2.

njustesen avatar njustesen commented on June 3, 2024

Hi again,

I am hosting a StarCraft AI Workshop tomorrow for 100 people. If I can get this to run I will include it in my presentation. Any help is appreciated :)

Thanks

from python-sc2.

Dentosal avatar Dentosal commented on June 3, 2024

Hi!

I'm currently trying to reproduce the issue, as a clean install works well for me. However, I have not done a linux installation myself, as I'm developing on macOS.

Could you please include the following details:

  • Operating system (Distro + version)
  • StarCraft 2 version
  • Output of pip freeze | grep 'sc\?2'

from python-sc2.

njustesen avatar njustesen commented on June 3, 2024

Thanks,

I am on my other Ubuntu machine now but I get the same error.

Ubuntu 16.04
StarCraft II version 3.16.1 (I get another error with version 4.0.2).

$ pip freeze | grep 'sc\?2'
s2clientprotocol==4.1.3.61021.0
sc2==0.4.2

from python-sc2.

Dentosal avatar Dentosal commented on June 3, 2024

It will take me a while to install ubuntu, but I will hopefully be able to look at it later today.

from python-sc2.

Dentosal avatar Dentosal commented on June 3, 2024

I installed version 4.0.2, and indeed path resolution had a bug on Linux (fixed in 22ed175). It now run on my machine (Ubuntu 14.04, Python 3.6.4, StarCraft II 4.0.2).

from python-sc2.

Dentosal avatar Dentosal commented on June 3, 2024

Closing as fixed. Please reopen if the issue is still present.

from python-sc2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.