problems installing Rosetta on ubuntu11.10

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install problems installing Rosetta on ubuntu11.10

Viewing 5 reply threads
  • Author
    • #1289

        dear friends, I am going to install rosetta3.4 in Ubuntu11.10,gcc4.6.1,python2.7.2.
        I come across such errors:
        scons: *** [build/src/release/linux/3.0/32/x86/gcc/4.6/] UnicodeDecodeError : ‘ascii’ codec can’t decode byte 0xe4 in position 91: ordinal not in range(128).
        could U help me?

      • #7159

          This is a new one to me. I see you are compiling in 32 bits–is it supposed to be 32 or 64 on your system?

        • #7160

            32 bits.My first language is Chinese, does it have anything with the error?

          • #7161

              Poking around the internet, my best guess is “maybe”. It turns out to be a Python error, which means that SCons itself is crashing, not Rosetta compilation. Perhaps if your python installation is in Chinese that could cause a problem? Is this something you’ve seen for compiling other things?

              There may be a cmake builder available (there is for developer trunk, so maybe there’s one in 3.4) – do you want to try that instead?

            • #7165

                From my experience, 11.10 is buggy. Very buggy and slow compared to older ubuntu versions. I have 12.04 running on most of my machines, and it is much better for the most part. Things you should be aware of if you decide to upgrade – older versions of python and gcc are not available in the repository. This caused problems with PyRosetta, so I needed to build from source, but Rosetta compiled fine. Just a thought.

              • #14332

                  I found the same error:
                  UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe3 in position 4007: ordinal not in range(128)
                  scons: building terminated because of errors.

                  ubuntu 16.04 Rosetta 3.9

                  I have searched the internet, found that this error may correlate with the ubuntu language choice (English will be good, UTF-8) or change the language from ascii to UTF-8.
                  Someone said that the Python error, However, I installed the Python 3.7 but problem remained.

                  This problem is still unresolved…
                  I really appreciate someone to help me to solve this problem…

                  • #14352

                      The Scons which comes with Rosetta expects Python2 — if you try to run it with Python3, you’re likely not going to get good results.

                  • #7162

                      Thank u for helping me.
                      today I found there is something wrong when I use pymol
                      Traceback (innermost last):
                      File “/usr/lib/python2.7/dist-packages/Pmw/Pmw_1_3/lib/”, line 1747, in __call__
                      return apply(self.func, args)
                      File “/usr/lib/pymodules/python2.7/pmg_tk/skins/normal/”, line 607, in file_open
                      print “Error: unable to open file ‘%s'”%ofile
                      : ‘ascii’ codec can’t encode characters in position 38-39: ordinal not in range(128).

                      maybe u tell me the truth.
                      I don’t find the cmake way, could u tell me more?

                    • #7164

                        If PyMOL is also broken, then something is wrong with your python installation (SCons is also written in python). Fixing whatever’s wrong with python will fix both PyMOL and SCons/Rosetta. I know nothing about what’s wrong with your python installation.

                        Unfortunately the cmake build information gets stripped from Rosetta before release. I’ve tarballed it for you and attached it; the .txt extension is a facade to make the forum accept the attachment, it’s really a .tar.gz. Untar it in the rosetta_source directory and follow the directions in its readme; hopefully it will work. I haven’t tested it.

                      • #7218

                          thank you for your replying. When I install Rosetta in Ubuntu12,and don’t include path in Chinese, I install it successfully.

                      Viewing 5 reply threads
                      • You must be logged in to reply to this topic.