Skip to content

Instantly share code, notes, and snippets.

@mhash1m
Created July 12, 2020 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhash1m/89078859969b6a1268bd189f63c9a404 to your computer and use it in GitHub Desktop.
Save mhash1m/89078859969b6a1268bd189f63c9a404 to your computer and use it in GitHub Desktop.
logs for running `python3 setup.py test -s model.daal4py.tests.test_lr`
(base) hash1m@hash1m-ThinkPad-W520:~/dffml$ python3 setup.py test -s model.daal4py.tests.test_lr
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
writing dffml.egg-info/PKG-INFO
writing dependency_links to dffml.egg-info/dependency_links.txt
writing entry points to dffml.egg-info/entry_points.txt
writing requirements to dffml.egg-info/requires.txt
writing top-level names to dffml.egg-info/top_level.txt
reading manifest file 'dffml.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'dffml.egg-info/SOURCES.txt'
running build_ext
test_lr (unittest.loader._FailedTest) ... ERROR
======================================================================
ERROR: test_lr (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_lr
Traceback (most recent call last):
File "/home/hash1m/miniconda3/lib/python3.7/unittest/loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
File "/home/hash1m/dffml/model/daal4py/tests/test_lr.py", line 5, in <module>
from dffml_model_daal4py.daal4pylr import DAAL4PyLRModel
ModuleNotFoundError: No module named 'dffml_model_daal4py'
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment