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

Scons problem #1

Open
panyz522 opened this issue Aug 20, 2018 · 3 comments
Open

Scons problem #1

panyz522 opened this issue Aug 20, 2018 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@panyz522
Copy link

SCons import failed. Unable to find engine files in:
  /usr/local/bin/../engine
  /usr/local/bin/scons-local-3.0.1
  /usr/local/bin/scons-local
  /usr/local/lib/scons-3.0.1
  /usr/lib/scons-3.0.1
  /usr/local/lib/scons-3.0.1
  /usr/local/lib/python3.5/site-packages/scons-3.0.1
  /usr/lib/python3.5/site-packages/scons-3.0.1
  /usr/local/lib/python3.5/site-packages/scons-3.0.1
  /usr/lib/scons-3.0.1
  /usr/local/lib/scons
  /usr/lib/scons
  /usr/local/lib/scons
  /usr/local/lib/python3.5/site-packages/scons
  /usr/lib/python3.5/site-packages/scons
  /usr/local/lib/python3.5/site-packages/scons
  /usr/lib/scons
Traceback (most recent call last):
  File "/usr/local/bin/scons", line 192, in <module>
    import SCons.Script
ImportError: No module named 'SCons'
@tcz717
Copy link
Owner

tcz717 commented Aug 20, 2018

You need to install python 3.6 and configuration the scons https://github.com/tcz717/peetcode#how-to-install

@tcz717 tcz717 closed this as completed Aug 20, 2018
@panyz522
Copy link
Author

SCons import failed. Unable to find engine files in:
  /usr/local/bin/../engine
  /usr/local/bin/scons-local-3.0.1
  /usr/local/bin/scons-local
  /usr/local/lib/scons-3.0.1
  /usr/lib/scons-3.0.1
  /usr/local/lib/scons-3.0.1
  /usr/local/lib/python3.6/site-packages/scons-3.0.1
  /usr/lib/python3.6/site-packages/scons-3.0.1
  /usr/local/lib/python3.6/site-packages/scons-3.0.1
  /usr/lib/scons-3.0.1
  /usr/local/lib/scons
  /usr/lib/scons
  /usr/local/lib/scons
  /usr/local/lib/python3.6/site-packages/scons
  /usr/lib/python3.6/site-packages/scons
  /usr/local/lib/python3.6/site-packages/scons
  /usr/lib/scons
Traceback (most recent call last):
  File "/usr/local/bin/scons", line 192, in <module>
    import SCons.Script
ModuleNotFoundError: No module named 'SCons'

same problem

@tcz717
Copy link
Owner

tcz717 commented Aug 21, 2018

One temporary solution is to type export PYTHONPATH=/usr/local/lib/python3.6/dist-packages/scons-3.0.1 before using scons

@tcz717 tcz717 reopened this Aug 21, 2018
@tcz717 tcz717 added the help wanted Extra attention is needed label Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants