Comments (3)
I fixed the problem by reinstalling it. I also fixed the import to grab the Replay class from objects.py.
from sc2reader.
Hi!
I need a little more information before I can help.
What version of sc2reader do you have? Is it from Pypi or did you pull down
the master (or obslibmerge) branch?
~Graylin
On Sat, Apr 16, 2011 at 7:03 AM, getflourish <
[email protected]>wrote:
I recently installed Python 2.7, setuptools, sc2reader, mpyq but I get an
error when running sc2reader. Any ideas whats wrong?$ sc2reader flourish$ sc2printer 'replays/1.SC2Replay'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/sc2printer",
line 5, in
pkg_resources.run_script('sc2reader==0.2.0', 'sc2printer')
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py",
line 489, in run_script
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py",
line 1214, in run_script
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sc2reader-0.2.0-py2.7.egg/EGG-INFO/scripts/sc2printer",
line 6, inImportError: cannot import name Replay
Reply to this email directly or view it on GitHub:
#12
from sc2reader.
I pulled the master branch from github and installed it via the setup.py
A part of the installation was:
Installing sc2printer script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installed /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sc2reader-0.2.0-py2.7.egg
from sc2reader.
Related Issues (20)
- Merging the different repositories HOT 3
- Build Order Update HOT 3
- "Rejoin" events not used for players list on resumed replays. HOT 2
- Store extension mods on the replay HOT 4
- Encoding Error for certain replays HOT 5
- "TypeError: ord() expected a character, but string of length 0 found" in decoders.py v0.6.5 HOT 3
- UnicodeDecodeError for LotV beta replay HOT 30
- `None` in game events
- Would sc2reader adapt for Heroes? HOT 2
- "2207 bytes left!" on newer replays. HOT 10
- How to build the ability csv file? HOT 5
- New s2protocol HOT 4
- Replay object has no expansion HOT 2
- PLEASE USE ggtracker/sc2reader INSTEAD
- Old replay files HOT 2
- sc2reader broken for new replays HOT 1
- Lazy parsing of SC2Replay file to speed up data science HOT 1
- Export replay as .avi? HOT 4
- struct.error: unpack requires a buffer of 4 bytes
- Meaning of decoded data attributes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sc2reader.