Skip to content

Conversation

@yoonkt200
Copy link

Check the issue #311
some error cases when installed by pip in latest ubuntu(or CentOS). because of c compiler version issue, the init_log()'s parameter is empty. maybe specify the parameter is needed.

@binayakpokhrel
Copy link

xlearn c++ code uses multi-threading, so while accessing the hardware it need the user variable in the environment. And because if c compiler version issue the init_log() parameter is empty. So we have to initialize it by ourself.
So basically write USER = 'Test' before command.
I solved it in python using os.environ['USER'] = 'test'

@ankane
Copy link

ankane commented Feb 10, 2020

Thanks @yoonkt200, this PR fixed the issue for me. I came across it when building xLearn with -march=nehalem on Ubuntu:

https://github.com/ankane/ml-builds/blob/51001ef53c982221780206dd633b82d3eb1ba7be/.github/workflows/xlearn-linux.yml

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

Successfully merging this pull request may close these issues.

3 participants