- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I cant install packages like matplotlib and seaborn as
When I write !pip3 install seaborn --user then :
ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.
When I write !conda create --name ml_project then:
/bin/bash: conda: command not found
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good day to you.
Thanks for posting in Intel Communities.
You can resolve the issue by activating the oneAPI environment before installing the package or creating the conda environment.
Please find the below command to activate the oneAPI environment:
source /opt/intel/inteloneapi/setvars.sh --force
Please make sure that the python used is "/glob/development-tools/versions/oneapi/<version>/oneapi/intelpython/latest/bin/python" using below command:
which python
If the issue still persists please let us know.
If this resolves your issue, make sure to accept this as a solution. This would help others with similar issues.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Firstly there is no folder named inteloneapi in /opt/intel/
and the second thing is that when i am writing which python, it's showing /usr/bin/python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Install packages into user site and add it to path in notebook:
import datasets
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-652e886d387f> in <module> ----> 1 import datasets ModuleNotFoundError: No module named 'datasets'
Collecting datasets
Using cached datasets-2.4.0-py3-none-any.whl (365 kB)
import site
site.addsitedir(site.getusersitepackages())
import datasets
ds = datasets.load_dataset('emotion')
Using custom data configuration default Reusing dataset emotion (/home/u176845/.cache/huggingface/datasets/emotion/default/0.0.0/348f63ca8e27b3713b6c04d723efe6d824a56fb3d1449794716c0f0296072705)
0%| | 0/3 [00:00<?, ?it/s]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MohammadHaddy,
I would like to confirm if you are using Intel DevCloud for the edge.
For your information, Intel DevCloud for the edge is designed to run an Inference application on Jupyter Notebook and submit jobs for different hardware to see the performance and extract data.
Unfortunately, the current Intel DevCloud for the edge still restricts the usual to install other software into the Intel DevCloud for theedge.
Hope this information help.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MohammadHaddy,
This thread will no longer be monitored since we have provided a solution. Please submit a new question if you need any additional information from Intel.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page