- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all
I am getting following error while installing :
Please help!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all
When I am login in as root and try to compile, I am able to compile for around 45 mins and then I get following error:
I have already installed package for sql:
Could you please help !
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
about first problem ("python setup.py install" under user abhi). You are trying to build and install daal python module. By default, at install stage built module is trying to be written to python folder. user abhi has no writing permissions for it. In such cases I do following:
1) do python module build only
2) before run application which is used this module, I set up PYTHONPATH variable. In your case it will be something like this:
export PYTHONPATH=/opt/intel/compilers_and_libraries_2018.2.199/linux/daal/pydaal_source/build/lib.linux-x86_64-3.6:/opt/intel/compilers_and_libraries_2018.2.199/linux/daal/pydaal_source/build/lib.linux-x86_64-3.6/daal
Second problem ("python setup.py install" under user abhi). I believe that it was described in neighboring thread.
Third problem. You need to install odbc driver dev package. I`m not an expert in ubuntu, but according to the thread at stackowerflow (https://stackoverflow.com/questions/15447386/sql-h-header-file-missing-though-unixodbc-is-installed) it is unixodbc-dev. So, do
sudo apt-get install unixodbc-dev
Andrey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Andrey
Thank you for reply.
What possible problem I could get If i try to execute by becoming super user. Actually I am able to get the result the result now, but I did that after I become "root". Would That cause any problem or I shall choose your way to export PATH ?
Please suggest. Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
> I shall choose your way to export PATH ?
not PATH, but PYTHONPATH.
I see "security" problems only. If somebody else will use this server, he will be able to access pydaal module.
Additionally, you python distribution will not be "clean". You may meet problems if you will transfer you python application (which depend on pydaal) to another server - python at that server will not contain pydaal and your application will fail.
It is up on you to decide - are this problems or not.
Andrey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
If I am not using root and trying with user "abhi", I am still getting the same error:
Where I am going wrong ?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page