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

current master CI fails #2010

Closed
StrikerRUS opened this issue Feb 13, 2019 · 0 comments · Fixed by #2016
Closed

current master CI fails #2010

StrikerRUS opened this issue Feb 13, 2019 · 0 comments · Fixed by #2016
Assignees

Comments

@StrikerRUS
Copy link
Collaborator

StrikerRUS commented Feb 13, 2019

Strange error related to numpy import happens.

ImportError while importing test module 'D:\a\1\s\tests\python_package_test\test_sklearn.py'.
2019-02-12T23:20:11.0503983Z Hint: make sure your test modules/packages have valid Python names.
2019-02-12T23:20:11.0504035Z Traceback:
2019-02-12T23:20:11.0504095Z C:\Users\VssAdministrator\.conda\envs\test-env\lib\site-packages\numpy\core\__init__.py:16: in <module>
2019-02-12T23:20:11.0504174Z     from . import multiarray
2019-02-12T23:20:11.0504233Z E   ImportError: DLL load failed: The specified module could not be found.
2019-02-12T23:20:11.0504277Z 
2019-02-12T23:20:11.0504332Z During handling of the above exception, another exception occurred:
2019-02-12T23:20:11.0504416Z ..\..\tests\python_package_test\test_sklearn.py:7: in <module>
2019-02-12T23:20:11.0504470Z     import lightgbm as lgb
2019-02-12T23:20:11.0504539Z C:\Users\VssAdministrator\.conda\envs\test-env\lib\site-packages\lightgbm\__init__.py:8: in <module>
2019-02-12T23:20:11.0504620Z     from .basic import Booster, Dataset
2019-02-12T23:20:11.0504682Z C:\Users\VssAdministrator\.conda\envs\test-env\lib\site-packages\lightgbm\basic.py:13: in <module>
2019-02-12T23:20:11.0504737Z     import numpy as np
2019-02-12T23:20:11.0504822Z C:\Users\VssAdministrator\.conda\envs\test-env\lib\site-packages\numpy\__init__.py:142: in <module>
2019-02-12T23:20:11.0504878Z     from . import add_newdocs
2019-02-12T23:20:11.0504940Z C:\Users\VssAdministrator\.conda\envs\test-env\lib\site-packages\numpy\add_newdocs.py:13: in <module>
2019-02-12T23:20:11.0505097Z     from numpy.lib import add_newdoc
2019-02-12T23:20:11.0505161Z C:\Users\VssAdministrator\.conda\envs\test-env\lib\site-packages\numpy\lib\__init__.py:8: in <module>
2019-02-12T23:20:11.0505217Z     from .type_check import *
2019-02-12T23:20:11.0505301Z C:\Users\VssAdministrator\.conda\envs\test-env\lib\site-packages\numpy\lib\type_check.py:11: in <module>
2019-02-12T23:20:11.0505367Z     import numpy.core.numeric as _nx
2019-02-12T23:20:11.0505429Z C:\Users\VssAdministrator\.conda\envs\test-env\lib\site-packages\numpy\core\__init__.py:26: in <module>
2019-02-12T23:20:11.0505507Z     raise ImportError(msg)
2019-02-12T23:20:11.0505558Z E   ImportError: 
2019-02-12T23:20:11.0505615Z E   Importing the multiarray numpy extension module failed.  Most
2019-02-12T23:20:11.0505697Z E   likely you are trying to import a failed build of numpy.
2019-02-12T23:20:11.0505759Z E   If you're working with a numpy git repo, try `git clean -xdf` (removes all
2019-02-12T23:20:11.0505821Z E   files not under version control).  Otherwise reinstall numpy.
2019-02-12T23:20:11.0505879Z E   
2019-02-12T23:20:11.0505960Z E   Original error was: DLL load failed: The specified module could not be found.

It affects (yet) only Azure Pipelines Windows sdist and bdist jobs.

I suppose this is due to new corrupted Python package which has been uploaded on Anaconda recently:

image

Please note that only a few Windows versions have been updated, so, that's why other CI jobs (other OSes and Python versions) work fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant