1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 <2017> 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 <2017> 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: issue with epics in python |
From: | Matt Newville <[email protected]> |
To: | Cyrille Thomas <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Wed, 27 Sep 2017 11:23:49 -0500 |
Hi,
I just installed pyepics on my mac, followed the instruction but got an error message when running a script.
Can you help me to find the bug?
Here is what I have done:
I installed epics base 3.15.4 and make in the folder
I run the command NOLIBCA=1 pip install pyepics
Then run the script and then got the following error:
python DTU_acquisition_script.py
Traceback (most recent call last):
File "/Users/cyrillethomas/anaconda
/lib/python3.6/site-packages/ epics/ca.py", line 252, in initialize_libca libca = load_dll(find_libca())
File "/Users/cyrillethomas/anaconda
/lib/python3.6/ctypes/__init__ .py", line 426, in LoadLibrary return self._dlltype(name)
File "/Users/cyrillethomas/anaconda
/lib/python3.6/ctypes/__init__ .py", line 348, in __init__ self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/cyrillethomas/ep
icsbase/base-3.15.4/lib/darwin -x86/libca.dylib, 6): Symbol not found: _EPICS_CA_ADDR_LIST Referenced from: /Users/cyrillethomas/epicsbase
/base-3.15.4/lib/darwin-x86/ libca.dylib Expected in: flat namespace
in /Users/cyrillethomas/epicsbase
/base-3.15.4/lib/darwin-x86/ libca.dylib Traceback (most recent call last):
File "/Users/cyrillethomas/anaconda
/lib/python3.6/site-packages/ epics/ca.py", line 252, in initialize_libca libca = load_dll(find_libca())
File "/Users/cyrillethomas/anaconda
/lib/python3.6/ctypes/__init__ .py", line 426, in LoadLibrary return self._dlltype(name)
File "/Users/cyrillethomas/anaconda
/lib/python3.6/ctypes/__init__ .py", line 348, in __init__ self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/cyrillethomas/ep
icsbase/base-3.15.4/lib/darwin -x86/libca.dylib, 6): Symbol not found: _EPICS_CA_ADDR_LIST Referenced from: /Users/cyrillethomas/epicsbase
/base-3.15.4/lib/darwin-x86/ libca.dylib Expected in: flat namespace
in /Users/cyrillethomas/epicsbase
/base-3.15.4/lib/darwin-x86/ libca.dylib