EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: Quickstart Error trying P4P
From: Matt Rippa via Tech-talk <tech-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: Talk EPICS Tech <tech-talk at aps.anl.gov>
Date: Wed, 1 Feb 2023 17:55:42 -1000
Hi Michael,

I'm in my lab machine today and it has Rocky8.7 with Python 3.6.8. The output is below. Looks like I need to upgrade python in this case.

I can follow up soon with Fedora 37 and Python 3.11.

Thanks!
-Matt

[mrippa@eioc p4ptest]$ python -V
Python 3.6.8

(anotherenv) [mrippa@eioc p4ptest]$ uname -a
Linux eioc 4.18.0-348.20.1.el8_5.x86_64 #1 SMP Thu Mar 10 20:59:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

[mrippa@eioc p4ptest]$ . anotherenv/bin/activate
(anotherenv) [mrippa@eioc p4ptest]$
(anotherenv) [mrippa@eioc p4ptest]$
(anotherenv) [mrippa@eioc p4ptest]$ python -m pip install -U pip
Requirement already satisfied: pip in ./anotherenv/lib/python3.6/site-packages (21.3.1)
(anotherenv) [mrippa@eioc p4ptest]$ python -m pip install nose2
Collecting nose2
  Using cached nose2-0.12.0-py2.py3-none-any.whl (152 kB)
Installing collected packages: nose2
Successfully installed nose2-0.12.0
(anotherenv) [mrippa@eioc p4ptest]$ python -m pip install -v p4p
Using pip 21.3.1 from /home/mrippa/work/p4ptest/anotherenv/lib/python3.6/site-packages/pip (python 3.6)
Collecting p4p
  Using cached p4p-4.1.5-cp36-cp36m-manylinux1_x86_64.whl (398 kB)
  Link requires a different Python (3.6.8 not in: '>=3.7'): https://files.pythonhosted.org/packages/c3/97/fd507e48f8c7cab73a9f002e52e15983b5636b4ac6cf69b83ae240324b44/numpy-1.20.0.zip#sha256=3d8233c03f116d068d5365fed4477f2947c7229582dad81e5953088989294cec (from https://pypi.org/simple/numpy/) (requires-python:>=3.7)
  Link requires a different Python (3.6.8 not in: '>=3.7'): https://files.pythonhosted.org/packages/d2/48/f445be426ccd9b2fb64155ac6730c7212358882e589cd3717477d739d9ff/numpy-1.20.1.zip#sha256=3bc63486a870294683980d76ec1e3efc786295ae00128f9ea38e2c6e74d5a60a (from https://pypi.org/simple/numpy/) (requires-python:>=3.7)
  Link requires a different Python (3.6.8 not in: '>=3.7'): https://files.pythonhosted.org/packages/82/a8/1e0f86ae3f13f7ce260e9f782764c16559917f24382c74edfb52149897de/numpy-1.20.2.zip#sha256=878922bf5ad7550aa044aa9301d417e2d3ae50f0f577de92051d739ac6096cee (from https://pypi.org/simple/numpy/) (requires-python:>=3.7)
  Link requires a different Python (3.6.8 not in: '>=3.7'): https://files.pythonhosted.org/packages/f3/1f/fe9459e39335e7d0e372b5e5dcd60f4381d3d1b42f0b9c8222102ff29ded/numpy-1.20.3.zip#sha256=e55185e51b18d788e49fe8305fd73ef4470596b33fc2c1ceb304566b99c71a69 (from https://pypi.org/simple/numpy/) (requires-python:>=3.7)
  Link requires a different Python (3.6.8 not in: '>=3.7'): https://files.pythonhosted.org/packages/66/03/818876390c7ff4484d5a05398a618cfdaf0a2b9abb3a7c7ccd59fe181008/numpy-1.21.0.zip#sha256=e80fe25cba41c124d04c662f33f6364909b985f2eb5998aaa5ae4b9587242cce (from https://pypi.org/simple/numpy/) (requires-python:>=3.7)
  Link requires a different Python (3.6.8 not in: '>=3.7'): https://files.pythonhosted.org/packages/0b/a7/e724c8df240687b5fd62d8c71f1a6709d455c4c09432c7412e3e64f4cbe5/numpy-1.21.1.zip#sha256=dff4af63638afcc57a3dfb9e4b26d434a7a602d225b42d746ea7fe2edf1342fd (from https://pypi.org/simple/numpy/) (requires-python:>=3.7)
  Link requires a different Python (3.6.8 not in: '>=3.7,<3.11'): https://files.pythonhosted.org/packages/3a/be/650f9c091ef71cb01d735775d554e068752d3ff63d7943b26316dc401749/numpy-1.21.2.zip#sha256=423216d8afc5923b15df86037c6053bf030d15cc9e3224206ef868c2d63dd6dc (from https://pypi.org/simple/numpy/) (requires-python:>=3.7,<3.11)
  Link requires a different Python (3.6.8 not in: '>=3.7,<3.11'): https://files.pythonhosted.org/packages/5f/d6/ad58ded26556eaeaa8c971e08b6466f17c4ac4d786cd3d800e26ce59cc01/numpy-1.21.3.zip#sha256=63571bb7897a584ca3249c86dd01c10bcb5fe4296e3568b2e9c1a55356b6410e (from https://pypi.org/simple/numpy/) (requires-python:>=3.7,<3.11)
  Link requires a different Python (3.6.8 not in: '>=3.7,<3.11'): https://files.pythonhosted.org/packages/fb/48/b0708ebd7718a8933f0d3937513ef8ef2f4f04529f1f66ca86d873043921/numpy-1.21.4.zip#sha256=e6c76a87633aa3fa16614b61ccedfae45b91df2767cf097aa9c933932a7ed1e0 (from https://pypi.org/simple/numpy/) (requires-python:>=3.7,<3.11)
  Link requires a different Python (3.6.8 not in: '>=3.7,<3.11'): https://files.pythonhosted.org/packages/c2/a8/a924a09492bdfee8c2ec3094d0a13f2799800b4fdc9c890738aeeb12c72e/numpy-1.21.5.zip#sha256=6a5928bc6241264dce5ed509e66f33676fc97f464e7a919edc672fb5532221ee (from https://pypi.org/simple/numpy/) (requires-python:>=3.7,<3.11)
  Link requires a different Python (3.6.8 not in: '>=3.7,<3.11'): https://files.pythonhosted.org/packages/45/b7/de7b8e67f2232c26af57c205aaad29fe17754f793404f59c8a730c7a191a/numpy-1.21.6.zip#sha256=ecb55251139706669fdec2ff073c98ef8e9a84473e51e716211b41aa0f18e656 (from https://pypi.org/simple/numpy/) (requires-python:>=3.7,<3.11)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/50/e1/9b0c184f04b8cf5f3c941ffa56fbcbe936888bdac9aa7ba6bae405ac752b/numpy-1.22.0.zip#sha256=a955e4128ac36797aaffd49ab44ec74a71c11d6938df83b1285492d277db5397 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/0a/c8/a62767a6b374a0dfb02d2a0456e5f56a372cdd1689dbc6ffb6bf1ddedbc0/numpy-1.22.1.zip#sha256=e348ccf5bc5235fc405ab19d53bec215bb373300e5523c7b476cc0da8a5e9973 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/e9/6c/c0a8130fe198f27bab92f1b28631e0cc2572295f6b7a31e87efe7448aa1c/numpy-1.22.2.zip#sha256=076aee5a3763d41da6bef9565fdf3cb987606f567cd8b104aded2b38b7b47abf (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/64/4a/b008d1f8a7b9f5206ecf70a53f84e654707e7616a771d84c05151a4713e9/numpy-1.22.3.zip#sha256=dbc7601a3b7472d559dc7b933b18b4b66f9aa7452c120e87dfb33d02008c8a18 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/f6/d8/ab692a75f584d13c6542c3994f75def5bce52ded9399f52e230fe402819d/numpy-1.22.4.zip#sha256=425b390e4619f58d8526b3dcf656dde069133ae5c240229821f01b5f44ea07af (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/33/ad/fc5e3fd1077622b2b32fc3fd36176b36475b63da486eb5578d7f8fb2af29/numpy-1.23.0rc1.tar.gz#sha256=3a09d0f564f59b6da54f592909d3fdbd50b492ef9fbe6d699043c992538ba0e0 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/7b/bc/05e61801a3689f81c8569c057c61fd1d302e989be5c96f6ce7acee46250a/numpy-1.23.0rc2.tar.gz#sha256=8e8a88657c028b8b77f3df6f266a5e6ffb4419cbc3dfb525cbbb80ba710f5da2 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/a2/bf/1502d20b4a7f5d5f74c5242748834aaf8cd6ff7cb40b7c64ef58ba47a751/numpy-1.23.0rc3.tar.gz#sha256=6a8fc5573cc8cb8108cec555bca5745d2798c54eef107d478b4320c1f6542102 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/03/c6/14a17e10813b8db20d1e800ff9a3a898e65d25f2b0e9d6a94616f1e3362c/numpy-1.23.0.tar.gz#sha256=bd3fa4fe2e38533d5336e1272fc4e765cabbbde144309ccee8675509d5cd7b05 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/13/b1/0c22aa7ca1deda4915cdec9562f839546bb252eecf6ad596eaec0592bd35/numpy-1.23.1.tar.gz#sha256=d748ef349bfef2e1194b59da37ed5a29c19ea8d7e6342019921ba2ba4fd8b624 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/f4/66/17b8e95770478436bf968353c89683ce6f9e14d92e0d4fb3111c09ba18d2/numpy-1.23.2.tar.gz#sha256=b78d00e48261fbbd04aa0d7427cf78d18401ee0abd89c7559bbf422e5b1c7d01 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/0a/88/f4f0c7a982efdf7bf22f283acf6009b29a9cc5835b684a49f8d3a4adb22f/numpy-1.23.3.tar.gz#sha256=51bf49c0cd1d52be0a240aa66f3458afc4b95d8993d2d04f0d91fa60c10af6cd (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/64/8e/9929b64e146d240507edaac2185cd5516f00b133be5b39250d253be25a64/numpy-1.23.4.tar.gz#sha256=ed2cc92af0efad20198638c69bb0fc2870a58dabfba6eb722c933b48556c686c (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/42/38/775b43da55fa7473015eddc9a819571517d9a271a9f8134f68fb9be2f212/numpy-1.23.5.tar.gz#sha256=1b1766d6f397c18153d40015ddfc79ddb715cabadc04d2d228d4e5a8bc4ded1a (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/8a/b0/bb59e52e4eb90a42fbff1a90d57c45265fa3133c533e67842757068fc731/numpy-1.24.0rc1.tar.gz#sha256=d601180710004799acb8f80e564b84e71490fac9d84e115e2f5b0f6709754f16 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/da/d9/f27cf8e76b9bb015802cb347f208a32383299fd5e30965735a82a92902ae/numpy-1.24.0rc2.tar.gz#sha256=c943c61fa708a6225e199aff755b2c3f5a353a2bbb726e10334a05b8e1fc030b (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/5f/c7/5ca7c100dcc85b5ef1b176bdf87be5e4392c2c3018e13cc7cdef828c6a09/numpy-1.24.0.tar.gz#sha256=c4ab7c9711fe6b235e86487ca74c1b092a6dd59a3cb45b63241ea0a148501853 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
  Link requires a different Python (3.6.8 not in: '>=3.8'): https://files.pythonhosted.org/packages/ce/b8/c170db50ec49d5845bd771bc5549fe734ee73083c5c52791915f95d8e2bc/numpy-1.24.1.tar.gz#sha256=2386da9a471cc00a1f47845e27d916d5ec5346ae9696e01a8a34760858fe9dd2 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
Collecting numpy>=1.12.1
  Using cached numpy-1.19.5-cp36-cp36m-manylinux2010_x86_64.whl (14.8 MB)
Collecting epicscorelibs<7.0.7.99.1,>=7.0.7.99.0.0
  Using cached epicscorelibs-7.0.7.99.0.0-cp36-cp36m-manylinux1_x86_64.whl (5.3 MB)
Requirement already satisfied: nose2>=0.8.0 in ./anotherenv/lib/python3.6/site-packages (from p4p) (0.12.0)
Collecting ply
  Using cached ply-3.11-py2.py3-none-any.whl (49 kB)
Collecting pvxslibs<1.2.0a1,>=1.1.0
  Using cached pvxslibs-1.1.1-cp36-cp36m-manylinux1_x86_64.whl (2.0 MB)
Collecting setuptools-dso>=2.0a1
  Using cached setuptools_dso-2.6-py2.py3-none-any.whl (20 kB)
Requirement already satisfied: setuptools in ./anotherenv/lib/python3.6/site-packages (from epicscorelibs<7.0.7.99.1,>=7.0.7.99.0.0->p4p) (59.6.0)
Installing collected packages: setuptools-dso, numpy, epicscorelibs, pvxslibs, ply, p4p
  changing mode of /home/mrippa/work/p4ptest/anotherenv/bin/f2py to 775
  changing mode of /home/mrippa/work/p4ptest/anotherenv/bin/f2py3 to 775
  changing mode of /home/mrippa/work/p4ptest/anotherenv/bin/f2py3.6 to 775
  changing mode of /home/mrippa/work/p4ptest/anotherenv/bin/pvagw to 775
Successfully installed epicscorelibs-7.0.7.99.0.0 numpy-1.19.5 p4p-4.1.5 ply-3.11 pvxslibs-1.1.1 setuptools-dso-2.6
(anotherenv) [mrippa@eioc p4ptest]$
(anotherenv) [mrippa@eioc p4ptest]$ python -m nose2 p4p
E
======================================================================
ERROR: p4p (nose2.loader.LoadTestsFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mrippa/work/p4ptest/anotherenv/lib/python3.6/site-packages/nose2/_vendor/six.py", line 719, in reraise
    raise value
  File "/home/mrippa/work/p4ptest/anotherenv/lib/python3.6/site-packages/nose2/plugins/loader/functions.py", line 81, in loadTestsFromName
    result = util.test_from_name(name, module)
  File "/home/mrippa/work/p4ptest/anotherenv/lib/python3.6/site-packages/nose2/util.py", line 92, in test_from_name
    parent, obj = object_from_name(name, module)
  File "/home/mrippa/work/p4ptest/anotherenv/lib/python3.6/site-packages/nose2/util.py", line 112, in object_from_name
    (module, import_error) = try_import_module_from_name(parts[:])
  File "/home/mrippa/work/p4ptest/anotherenv/lib/python3.6/site-packages/nose2/util.py", line 171, in try_import_module_from_name
    six.reraise(*import_error)
  File "/home/mrippa/work/p4ptest/anotherenv/lib/python3.6/site-packages/nose2/_vendor/six.py", line 719, in reraise
    raise value
  File "/home/mrippa/work/p4ptest/anotherenv/lib/python3.6/site-packages/nose2/util.py", line 165, in try_import_module_from_name
    module = __import__(".".join(splitted_name))
  File "/home/mrippa/work/p4ptest/anotherenv/lib64/python3.6/site-packages/p4p/__init__.py", line 14, in <module>
    from .wrapper import Value, Type
  File "/home/mrippa/work/p4ptest/anotherenv/lib64/python3.6/site-packages/p4p/wrapper.py", line 5, in <module>
    from . import _p4p
ImportError: libpvxs.so.1.1: cannot open shared object file: No such file or directory

----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)

On Wed, Feb 1, 2023 at 9:40 AM Michael Davidsaver <mdavidsaver at gmail.com> wrote:
On 2/1/23 01:59, Matt Rippa via Tech-talk wrote:
> Hi folks,
>
> I'm starting to look at p4p and following this guide https://mdavidsaver.github.io/p4p/starting.html#starting <https://mdavidsaver.github.io/p4p/starting.html#starting>.

Congratulations on being perhaps the first person to try P4P with python 3.11!

I haven't yet published pre-compiled .whl files for python 3.11, so I guess
something went wrong during local compilation.  Could you try the following
with a new virtualenv?

> python -m virtualenv anotherenv
> . anotherenv/bin/activate
> python -m pip install -U pip
> python -m pip install nose2
> python -m pip install -v p4p
> python -m nose2 p4p

This adds a '-v' which will print quite a bit of detail while building p4p
and its dependencies.  Please send me the full output.


> I'm running into this error.
> ImportError: libpvxs.so.1.1: cannot open shared object file: No such file or directory
>
> pip show pvxslibs
> shows it's installed.  Full output below.
>
> But further inspection looks like only the info directory is installed.
> (p4ptest) [mrippa@localhost p4p2]$ ls -ltra /home/mrippa/work/p4p2/p4ptest/lib64/python3.11/site-packages
> total 40
> drwxr-xr-x.  3 mrippa mrippa 4096 Jan 31 23:19 ..
> drwxr-xr-x.  2 mrippa mrippa 4096 Jan 31 23:29 numpy.libs
> drwxr-xr-x. 21 mrippa mrippa 4096 Jan 31 23:29 numpy
> drwxr-xr-x.  2 mrippa mrippa 4096 Jan 31 23:29 numpy-1.24.1.dist-info
> drwxr-xr-x.  9 mrippa mrippa 4096 Jan 31 23:29 epicscorelibs
> drwxr-xr-x.  2 mrippa mrippa 4096 Jan 31 23:29 epicscorelibs-7.0.7.99.0.0.dist-info
> drwxr-xr-x.  2 mrippa mrippa 4096 Jan 31 23:29 pvxslibs-1.1.1.dist-info
> drwxr-xr-x. 10 mrippa mrippa 4096 Jan 31 23:44 .
> drwxr-xr-x.  8 mrippa mrippa 4096 Jan 31 23:44 p4p
> drwxr-xr-x.  2 mrippa mrippa 4096 Jan 31 23:44 p4p-4.1.5.dist-info
>
> I tried to uninstall and reinstall with the same result.
> Tried on Fedora 37 and Rocky8 with the same result.
>
> $ uname -a
> Linux localhost.localdomain 6.1.8-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jan 24 20:32:16 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
> $ python -V
> Python 3.11.1
>
> Thanks for any insight!
> -Matt
>
> (p4ptest) [mrippa@localhost p4p2]$ python -m pip install -U p4p nose2
> Requirement already satisfied: p4p in ./p4ptest/lib64/python3.11/site-packages (4.1.5)
> Requirement already satisfied: nose2 in ./p4ptest/lib/python3.11/site-packages (0.12.0)
> Requirement already satisfied: epicscorelibs<7.0.7.99.1,>=7.0.7.99.0.0 in ./p4ptest/lib64/python3.11/site-packages (from p4p) (7.0.7.99.0.0)
> Requirement already satisfied: pvxslibs<1.2.0a1,>=1.1.1 in ./p4ptest/lib64/python3.11/site-packages (from p4p) (1.1.1)
> Requirement already satisfied: numpy>=1.24.1 in ./p4ptest/lib64/python3.11/site-packages (from p4p) (1.24.1)
> Requirement already satisfied: ply in ./p4ptest/lib/python3.11/site-packages (from p4p) (3.11)
> Requirement already satisfied: setuptools in ./p4ptest/lib/python3.11/site-packages (from epicscorelibs<7.0.7.99.1,>=7.0.7.99.0.0->p4p) (65.6.3)
> Requirement already satisfied: setuptools-dso>=2.0a1 in ./p4ptest/lib/python3.11/site-packages (from epicscorelibs<7.0.7.99.1,>=7.0.7.99.0.0->p4p) (2.6)
>
>
> (p4ptest) [mrippa@localhost p4p2]$ python -m nose2 p4p
> E
> ======================================================================
> ERROR: p4p (nose2.loader.LoadTestsFailure.p4p)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/mrippa/work/p4p2/p4ptest/lib/python3.11/site-packages/nose2/_vendor/six.py", line 719, in reraise
>     raise value
>   File "/home/mrippa/work/p4p2/p4ptest/lib/python3.11/site-packages/nose2/plugins/loader/functions.py", line 81, in loadTestsFromName
>     result = util.test_from_name(name, module)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/home/mrippa/work/p4p2/p4ptest/lib/python3.11/site-packages/nose2/util.py", line 92, in test_from_name
>     parent, obj = object_from_name(name, module)
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/home/mrippa/work/p4p2/p4ptest/lib/python3.11/site-packages/nose2/util.py", line 112, in object_from_name
>     (module, import_error) = try_import_module_from_name(parts[:])
>                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/home/mrippa/work/p4p2/p4ptest/lib/python3.11/site-packages/nose2/util.py", line 171, in try_import_module_from_name
>     six.reraise(*import_error)
>   File "/home/mrippa/work/p4p2/p4ptest/lib/python3.11/site-packages/nose2/_vendor/six.py", line 719, in reraise
>     raise value
>   File "/home/mrippa/work/p4p2/p4ptest/lib/python3.11/site-packages/nose2/util.py", line 165, in try_import_module_from_name
>     module = __import__(".".join(splitted_name))
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/home/mrippa/work/p4p2/p4ptest/lib64/python3.11/site-packages/p4p/__init__.py", line 14, in <module>
>     from .wrapper import Value, Type
>   File "/home/mrippa/work/p4p2/p4ptest/lib64/python3.11/site-packages/p4p/wrapper.py", line 5, in <module>
>     from . import _p4p
> ImportError: libpvxs.so.1.1: cannot open shared object file: No such file or directory
>
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
>
> FAILED (errors=1)
>
> (p4ptest) [mrippa@localhost p4p2]$ pip show pvxslibs
> Name: pvxslibs
> Version: 1.1.1
> Summary: PVXS libraries packaged for python
> Home-page: https://mdavidsaver.github.io/pvxs <https://mdavidsaver.github.io/pvxs>
> Author: Michael Davidsaver
> Author-email: mdavidsaver at gmail.com <mailto:mdavidsaver at gmail.com>
> License: BSD
> Location: /home/mrippa/work/p4p2/p4ptest/lib64/python3.11/site-packages
> Requires: epicscorelibs, setuptools-dso
> Required-by: p4p
>
>
> (p4ptest) [mrippa@localhost p4p2]$ python -m p4p.server.cli my:pv:name=int
> Traceback (most recent call last):
>   File "<frozen runpy>", line 189, in _run_module_as_main
>   File "<frozen runpy>", line 112, in _get_module_details
>   File "/home/mrippa/work/p4p2/p4ptest/lib64/python3.11/site-packages/p4p/__init__.py", line 14, in <module>
>     from .wrapper import Value, Type
>   File "/home/mrippa/work/p4p2/p4ptest/lib64/python3.11/site-packages/p4p/wrapper.py", line 5, in <module>
>     from . import _p4p
> ImportError: libpvxs.so.1.1: cannot open shared object file: No such file or directory
>
>
>


Replies:
Re: Quickstart Error trying P4P Matt Rippa via Tech-talk
References:
Quickstart Error trying P4P Matt Rippa via Tech-talk
Re: Quickstart Error trying P4P Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: EPICS deb/rpm packaging Lucas Russo via Tech-talk
Next: Re: Quickstart Error trying P4P Matt Rippa via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: Re: Quickstart Error trying P4P Michael Davidsaver via Tech-talk
Next: Re: Quickstart Error trying P4P Matt Rippa via Tech-talk
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  <20232024 
ANJ, 01 Feb 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·