- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I am attempting to run a program but I need to install GMPXX
I am receiving the following error when attempting to isntall GMPXX
"
uxxxxxx@s001-n012:~$ apt-get install libgmp3-dev -y
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
uxxxxxx@s001-n012:~$ sudo apt-get install libgmp3-dev -y
Dear User,
this server does not allow you to run "sudo".
If you need to install a dependency, please put it in your home directory.
* For autotools, you can do it with "./configure --prefix=~/my-path"
* For Python packages, use "pip install <package_name> --user" or create a Conda environment.
Sincerely,
Admins
uxxxxxx is not in the sudoers file. This incident will be reported.
uxxxxxx@s001-n012:~$"
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel forum.
In Intel Devcloud, there is no root access for users, so you cannot use sudo in devcloud but you can install packages with pip and conda. Please find the below devcloud documentation for your reference.
https://devcloud.intel.com/oneapi/documentation/shell-commands/
Regards,
Janani Chandran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is your issue resolved? Do you have any update?
Regards,
Janani Chandran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can I install a package with pip and conda?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the update.
You can follow the below steps.
1)Before installation, activate your environment with source activate <enc_name> or conda activate <env_name>
2)After activating, you can either install with pip command pip install <package_name> or with conda command conda install <package_name>. If you want to install from a specific channel then add -c and mention the channel like conda install -c intel numpy .
Hope this helps!
Regards,
Janani Chandran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is your issue resolved? Do you have any updates?
Regards,
Janani Chandran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We 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.
Regards,
Janani Chandran
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page