- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, 'permission denied' when trying to install 'pip' via 'apt install python3-pip', as suggested in the screenshot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anyone?
The packages I've installed previously are simply gone, and I can't install them back without 'pip'. So I'm completely blocked because of this issue
I don't seem to be able to do anything about it since I don't have root permissions!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
Could you please try to install pip using any other alternatives which do not need sudo permission.
For example, you can use conda. please find the below command to install pip:
conda install -c anaconda pip
Also you can use oneapi environment, where pip is already installed. You can activate oneapi environment using the below command:
source /opt/intel/oneapi/setvars.sh --force
For your information, user's don't have have root permission in DevCloud.
Hope this helps. If you have any further issue, please let us know.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! This solution works:
source /opt/intel/oneapi/setvars.sh --force
I'm wondering why is this happening now, it doesn't seem to be affecting other users. This solution works but since I have to 'ssh' into a machine every time I need to run something, I also need to run this command and reinstall the packages every time. Do you have any idea why this might be happening?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Glad to know that the solution provided helped.
You can use the oneAPI environment as default by setting the 'source /opt/intel/inteloneapi/setvars.sh' command in the bash_profile.
Please follow the below steps:
vi ~/.bash_profile
Add and save the source command in the file.
source /opt/intel/inteloneapi/setvars.sh --force
source ~/.bash_profile
Regarding the issue "reinstall the packages every time" ,you can create a conda environment and install all the packages there. Please follow the below steps:
Step 1 : Create conda environment
conda create -n <env_name> python=<version>
Step 2 : Activate conda environment
conda activate <env_name>
Step3 : Install packages you want
conda install <package>
You can activate this environment after login to DevCloud.
Hope this helps. If you face any issue please let us know.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Has the solution provided helped? Could you please give us an update?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page