compilation problem

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install compilation problem

  • This topic has 1 reply, 2 voices, and was last updated 5 years ago by Anonymous.
Viewing 1 reply thread
  • Author
    Posts
    • #3306
      Anonymous

        Hi,everyone:

        Anyone can help me to solve this error:

        Traceback (most recent call last): File “./scons.py”, line 187, in import SCons.Script ImportError: No module named SCons.Script

        Thank you very much!

      • #15079
        Anonymous

          Which directory are you running things from? The scons.py script should be run from the Rosetta/main/source directory.

          The other question is which version of Rosetta, python and operating system you’re using. For older Rosettas (e.g 3.10), the scons we shipped assumed a Python 2 interpreter. More recent versions of Rosetta (e.g. 3.11) can work with Python 2.7 and recent (3.5+) versions of Python 3. If you’re using an OS which has switched over to Python3, you may have issues with using the scons that comes with an older version of Rosetta. (You might be able to get it to work if you explicitly call it with Python 2, e.g. `python2 ./scons.py`.)

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.