espressomd-users
[Top][All Lists]
Advanced

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

[ESPResSo-users] Python Interface


From: haozeke
Subject: [ESPResSo-users] Python Interface
Date: Tue, 02 Jun 2015 18:23:05 +0530

The details are attached. I'm running an ArchLinux 64-bit system with espresso 
compiled from the git source. With ./configure --with-python
The program compiles correctly however, on running ./pypresso and trying to 
import espressomd;

Python 3.4.3 (default, Mar 25 2015, 17:13:50) 
[GCC 4.9.2 20150304 (prerelease)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import espressomd
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/haozeke/Github/LabBom/espresso/espressomd/__init__.py", line 32, 
in <module>
    tcl = espressomd._tcl.TclInterpreter()
  File "espressomd/_tcl.pyx", line 37, in 
espressomd._tcl.TclInterpreter.__init__ (_tcl.cpp:654)
    self.eval('global argv; set argv ""')
  File "espressomd/_tcl.pyx", line 43, in espressomd._tcl.TclInterpreter.eval 
(_tcl.cpp:745)
    result = Tcl_Eval(self.interp, string)
TypeError: expected bytes, str found
>>> 


Any help would be greatly appreciated.



reply via email to

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