Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail with ImportError #142

Open
anderslindho opened this issue May 23, 2024 · 0 comments
Open

Tests fail with ImportError #142

anderslindho opened this issue May 23, 2024 · 0 comments

Comments

@anderslindho
Copy link

Following the instructions in the README (as well as in docs/building.rst under "Local (re)build as Python package", regardless if I install from pypi or directly from source), I get the following failure:

E
======================================================================
ERROR: p4p (nose2.loader.LoadTestsFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/anderslindh/p4p/src/p4p/__init__.py", line 14, in <module>
    from .wrapper import Value, Type
  File "/home/anderslindh/p4p/src/p4p/wrapper.py", line 5, in <module>
    from . import _p4p
ImportError: cannot import name '_p4p'

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

FAILED (errors=1)

This on a centos7 machine with python 3.6.8 and

Cython==3.0.10
epicscorelibs==7.0.7.99.0.2
nose2==0.13.0
numpy==1.19.5
p4p @ file:///home/anderslindh/p4p
ply==3.11
pvxslibs==1.3.1
setuptools-dso==2.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant