I have the exact same problem as here: https://community.intel.com/t5/Intel-oneAPI-Registration/Error-during-installing-oneAPI-basekit-on-W...
I receive this error:
ERROR: kernel source directory "/usr/src/linux-188.8.131.52-microsoft-standard-WSL2" either does not exist or not a valid kernel source directory.
Please use the following command to install kernel header on Ubuntu:
apt install linux-headers-184.108.40.206-microsoft-standard-WSL2
I tried to install the suggestion above, but that resulted in:
E: Unable to locate package linux-headers-220.127.116.11-microsoft-standard-WSL
E: Couldn't find any package by glob 'linux-headers-18.104.22.168-microsoft-standard-WSL'
I am installing on Ubuntu 20.04 LTS on WSL 2 according to https://estuarine.jp/2021/03/install-oneapi/?lang=en
Thanks for posting your concern in our forum. We appreciate your patience. Our higher team is already investigating a few other similar reports. Please provide us the below details and output of the commands. They will allow us to look into the issue better.
- The version of the Intel® oneAPI Base Toolkit
- The complete output from the installation
- The installation log
- The output of the below commands:
- which python
- 2. which bzip2
- 3. echo $PATH
- 3. echo $LD_LIBRARY_PATH
Looking forward to your update. Have a nice day ahead.
Thanks for updating us on the progress status. Glad to know that your issue is resolved. Proceeding further we are closing this thread. However, if you need any additional information, please feel free to post a new question as this thread will no longer be monitored by Intel®.