About installing Escript in Ubuntu 16.04
Hi all,
I am running into a problem when installing python-escript 5.5 under the environment of Ubuntu 16.04 and python 3.5.
Following the Installation guide in Section 5.3.2 about installing in Ubuntu system, I used the command:
scons -j1 options_
However, I got the following error message:
customer@
scons: Reading SConscript files ...
3.5.2 (default, Oct 7 2020, 17:19:02)
[GCC 5.4.0 20160609]
Using options in scons/xenial_
/bin/sh: svnversion: command not found
Using svn revision information from file. Got revision = 6948
Checking whether the C++ compiler works... (cached) yes
Checking for C++ function gethostname()... (cached) yes
Checking for C++ header file byteswap.h... (cached) yes
Checking for C++ function SCbswap32()... (cached) yes
Checking for C++ header file sys/endian.h... (cached) no
Checking for C++ header file libkern/
Checking for working complex std::acos()... (cached) yes
Checking for C++ header file Python.h... yes
Checking for C++ function Py_Exit()... yes
Checking for C++ library boost_python-
Checking for C++ header file numpy/ndarrayob
TypeError: a bytes-like object is required, not 'str':
File "/home/
env=
File "/home/
if p.returncode == 0 and 'libmpi' in gmshlibs:
What would be the possible reason for such error? Any clues are greatly appreciated.
Best,
Zheng
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Adam Ellery
- Solved:
- Last query:
- Last reply: