I have two questions about using ALPS with python I have two macs with both installed alps from binary packages. When I use the *.py files in tutorials. (1) One shows "Fatal Python error PyThreadState_Get : no current thread" Abort trap :6 (2) The other mac has an error : "ImportError: No module named pymcdata_c"
Can anyone help me Thanks
--
刘东皓(Donghao Liu)
International Center for Quantum Materials(ICQM)
Physics WestBuilding 618
Peking University
No. 209 Chengfu Road, Haidian District Beijing, 100871, China
Hi,
We need more information to help you debugging this. Mainly, which Python installation are you using?
The ALPS binaries on Mac are compiled against the Python distributed by the VisTrails application. This means that you will not be able to use your custom Python installation. This is also the reason why the tutorials refer to the “vispython” application, which is just a wrapper pointing to the default installation of VisTrails.
Best regards, Michele
-- ETH Zurich Michele Dolfi Institute for Theoretical Physics HIT G 32.4 Wolfgang-Pauli-Str. 27 8093 Zurich Switzerland
dolfim@phys.ethz.ch www.itp.phys.ethz.ch
+41 44 633 78 56 phone +41 44 633 11 15 fax
On 20 Aug 2016, at 06:18, 刘东皓 xizliu@163.com wrote:
I have two questions about using ALPS with python I have two macs with both installed alps from binary packages. When I use the *.py files in tutorials. (1) One shows "Fatal Python error PyThreadState_Get : no current thread" Abort trap :6 (2) The other mac has an error : "ImportError: No module named pymcdata_c"
Can anyone help me Thanks
-- 刘东皓(Donghao Liu)
International Center for Quantum Materials(ICQM)
Physics WestBuilding 618
Peking University
No. 209 Chengfu Road, Haidian District Beijing, 100871, China
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
Hi,
If you use the binary package you will need to use the Python installation that comes with VisTrails. If you want to use your own version of Python then you'll have to build it from source or use macports.
Matthias
On Aug 20, 2016, at 04:18, 刘东皓 xizliu@163.com wrote:
I have two questions about using ALPS with python I have two macs with both installed alps from binary packages. When I use the *.py files in tutorials. (1) One shows "Fatal Python error PyThreadState_Get : no current thread" Abort trap :6 (2) The other mac has an error : "ImportError: No module named pymcdata_c"
Can anyone help me Thanks
-- 刘东皓(Donghao Liu)
International Center for Quantum Materials(ICQM)
Physics WestBuilding 618
Peking University
No. 209 Chengfu Road, Haidian District Beijing, 100871, China
Comp-phys-alps-users Mailing List for the ALPS Project http://alps.comp-phys.org/
List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users
Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.
comp-phys-alps-users@lists.phys.ethz.ch