Регистрация
| Вход
Приветствую Вас Гость
Меню сайта
Категории раздела
Статистика

Онлайн всего: 1
Гостей: 1
Пользователей: 0

How to update Python via Anaconda on Alt Linux P8 #7en

That manual appropriates for 64_x86 version.

Download Anaconda installer from Anaconda.com

At the time of article writing Anaconda3-2021.05-Linux-x86_64 version was in use.

Open Terminal and go to the installer folder as superuser. Type bash Anaconda3-2021.05-Linux-x86_64.

Press and hold Enter key to skip text of license terms.

To the question Do you accept the license terms? need to answer Yes.

To the question Anaconda3 will now be installed into this location: press Enter to install in users home directory in anaconda3 folder by default or type installation path as Apps/Anaconda3 and press Enter.

In this case typing Apps/Anaconda3 app will be installed in Apps/Anaconda3 into home directory.

To the question Do you wish the installer to initialize Anaconda3 by running conda init? need to answer Yesthat in the next run of Terminal anaconda will able to be opened by conda command.

Restart Terminal and type conda create -n env1 python=3.9 to create virtual environment. To the question Proceed ([y]/n)? need to answer Y.

env1 is a name of created environment, python=3.9 points to which python version need to update.

Next type conda activate env1 to activate created virtual environment.

Next need in Python IDE, in this case in PyCharm of Community create the new project.

In New project window, in New environment using area need to choose Conda. In Python version arean choose 3.0 and press Enter to create project.

Категория: Информационные технологии (IT) | Добавил: Stanx (16.10.2021)
Просмотров: 117 | Рейтинг: 0.0/0
Всего комментариев: 0
avatar
Вход на сайт
Поиск
Реклама
Материал предоставлен Андреем Изотовым © 2006-2024

При использовании материалов с сайта, ссылка на сайт автора обязательна.


Хостинг от uCoz

Условия использования