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

Cannot use sklearn? #54

Closed
zwdnet opened this issue Sep 21, 2019 · 1 comment
Closed

Cannot use sklearn? #54

zwdnet opened this issue Sep 21, 2019 · 1 comment

Comments

@zwdnet
Copy link

zwdnet commented Sep 21, 2019

I install the sklearn lib using "pip3 install sklearn",then I import sklearn in the python3,there were many errors like this:
ImportError: cannot import name 'SemLock'
......
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.

I found that maybe we must mount /dev/shm first then install python.
https://blog.csdn.net/u010454261/article/details/80216581 (This web is Chinese)
Could you please solve this problem? Or dose the Aid Learning not support sklearn? Thank you!

@aidlearning
Copy link
Owner

because of the aid learning don't need root privileges...so it cannot support the command:
mount /dev/shm so the SemLock is not supported....
but in the aidlearning support sklearn for python2.7 now..but not sklearn for python3.6...in the next version ,I will added it....thank u for for the testing..
Screenshot_2019-09-23-14-16-07-78

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

2 participants