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 build wsperf #9

Open
arun-gupta opened this issue Mar 4, 2014 · 2 comments
Open

Cannot build wsperf #9

arun-gupta opened this issue Mar 4, 2014 · 2 comments

Comments

@arun-gupta
Copy link

Environment variable has:

WSPP_ROOT=/Users/arungupta/workspaces/websocketpp
BOOST_ROOT=/Users/arungupta/tools/boost_1_55_0

Invoking "scons" in wsperf directory gives the following error:

Traceback (most recent call last):
File "/usr/local/bin/scons", line 5, in
pkg_resources.run_script('SCons==2.3.0', 'scons')
File "build/bdist.macosx-10.9-intel/egg/pkg_resources.py", line 488, in run_script
ns['name'] = name
File "build/bdist.macosx-10.9-intel/egg/pkg_resources.py", line 1354, in run_script
def _extract_resource(self, manager, zip_path):
File "/Library/Python/2.7/site-packages/SCons-2.3.0-py2.7.egg/EGG-INFO/scripts/scons", line 188, in
import SCons.Script
ImportError: No module named SCons.Script

@vincent-chen
Copy link

here need to copy some file to under lib , then python could find those file
cp -r /usr/local/lib/python2.7/dist-packages/scons-2.5.1-py2.7.egg/scons-2.5.1/ /usr/local/lib/python2.7/dist-packages/scons-2.5.1-py2.7.egg/lib/

@rszalski
Copy link

How did you install scons? Via pip or some OS' package manager? Ubuntu has an issue when using the system's Python version, If you were to install scons via pip, same error would result due to improperly/not set $LIBPATH. A workaround is to install scons via apt-get.

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

3 participants