- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
How can I make python 3.8 as default python, how can I install packages that are required python 3.8 and above ?
thank you,
WE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you are using Jupyter Hub you are already in a compute note.
You can directly open terminal from there it will connected to compute node and use it.
If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!
Thanks,
Shyam Sundar
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
You can use the below command for creating a virtual environment with python 3.8.
conda create -n <env name> intelpython3_full python=3.8
Then, activate the environment as follows:
conda activate <env_name>
If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!
Regards,
Shyam Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Shyam Sundar,
How can I connect this <env_name> to jupyter notebook ?
thank you,
WE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Follow these commands in DevCloud (Jupyter Notebook/ Terminal)
If you not created any new environment create one using:
conda create -n <env name>
1. Activate the new environment
source activate <env_name>
2. Install ipykernel
conda install ipykernel
3. Add new kernel in jupyter notebook
python -m ipykernel install --user --name <env_name>
4. Open the jupyter lab and set the kernel to this environment
Kernel-->change kernel --> select one you want
If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!
Thanks,
Shyam Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Shyam Sundar,
how can I enable this in the job file, when I use qsub command to submit job?
Thank you for your great answers, I appreciate your help and support.
regards
WE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you are using Jupyter Hub you are already in a compute note.
You can directly open terminal from there it will connected to compute node and use it.
If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!
Thanks,
Shyam Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please give us an update? Is your issue resolved?
Thanks,
Shyam Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Shyam,
Thank you for the great efforts and detailed reply. How can I inform the qsub in the shell script file to use this new version of python instead of the default python ?
thank you,
WE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Add below lines to the job script file (.sh file) to activate and use an environment when submitting job to Intel DevCloud:
eval "$(conda shell.bash hook)"
conda activate <env-name>
<commands>
Thus we can run with any environment while using qsub
If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!
Thanks,
Shyam Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please give us an update? Is your issue resolved?
Thanks,
Shyam Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Shyam!, the problem is solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Glad to know 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,
Shyam Sundar

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page