[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo-users] Installation problem

From: Shawn
Subject: Re: [ESPResSo-users] Installation problem
Date: Mon, 15 Jul 2019 12:48:51 -0500

Hi Jean-Noël,
Thanks very much for helping me. Attached please find the script of my build and the cmake output. I just used the default myconfig.hpp file.


Jean-Noël Grad <address@hidden> 于2019年7月15日周一 下午12:26写道:
Hi Shawn,

The 4.0.2 release is tested for both python versions. I'm not familiar
with this error message. It could be due to your Cython version, or to
an unclean build directory. To reproduce your issue, we will need the
cmake command you used for this build and its output in the terminal.
It's only 80 lines long and contains valuable information such as the
Cython version and espresso dependencies. If you're using a custom
myconfig.hpp file, please also post its content.

Best regards,

On 7/15/19 6:58 PM, Shawn wrote:
> Hi everyone,
> I am trying install espresso 4.0.2 with python 3. The cmake command
> could be executed successfully, but when I tried to compile the source
> code, I got errors below:
> [ 61%] Generating code_info.pyx
> Fatal Python error: Py_Initialize: can't initialize sys standard streams
> Traceback (most recent call last):
>    File
> "/home/shawn/sourcecode/espresso/src/python/espressomd/io/",
> line 17, in <module>
>    File
> "/home/shawn/sourcecode/espresso/src/python/espressomd/io/writer/",
> line 17, in <module>
> ValueError: attempted relative import beyond top-level package
> /bin/sh: line 1: 15371 Aborted                 (core dumped)
> /home/shawn/soft/python3/bin/python3
> /home/shawn/sourcecode/espresso/src/features.def
> /home/shawn/sourcecode/espresso/build4/src/python/espressomd/code_info.pyx
> make[2]: *** [src/python/espressomd/code_info.pyx] Error 134
> make[1]: *** [src/python/espressomd/CMakeFiles/code_info.dir/all] Error 2
> make: *** [all] Error 2
> It's so confusing, because I can successfully install espresso with
> python 2 on the same computer and I can also install espresso with
> python 3 on another computer.
> Does anyone know how to fix this? Thank you very much.
> Regards,
> Shawn

Description: Text Data

Attachment: cmake.out
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]