You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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/
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.
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
The text was updated successfully, but these errors were encountered: