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

Install problem #12

Closed
getflourish opened this issue Apr 16, 2011 · 3 comments
Closed

Install problem #12

getflourish opened this issue Apr 16, 2011 · 3 comments
Assignees

Comments

@getflourish
Copy link

I recently installed Python 2.7, setuptools, sc2reader, mpyq but I get an error when running sc2reader. Any ideas what’s 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, in

ImportError: cannot import name Replay

@getflourish
Copy link
Author

I fixed the problem by reinstalling it. I also fixed the import to grab the Replay class from objects.py.

@GraylinKim
Copy link
Owner

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 <
reply@reply.github.com>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, in

ImportError: cannot import name Replay

Reply to this email directly or view it on GitHub:
#12

@getflourish
Copy link
Author

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

@ghost ghost assigned GraylinKim Apr 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants