-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python lec2, install #169
Python lec2, install #169
Conversation
В этом блоке мы сделаем две вещи: соберем книгу и установим на ваш компьютер все необходимое для прохождения курса, от `Python` и его библиотек до специальных программ, которые занимаются отслеживанием этих самых библиотек. Буквально после пары строк на вашем компьютере появится сотня библиотек, которым ми хвастались в первой лекции -- они позволят как проводить математические расчеты, так и писать программы для квантовых компьютеров. Итак, дальнейшие шаги зависят от вашей операционной системы: | ||
|
||
### Инструкция для Windows | ||
todo, ждем Диму, будет или нет автоматизация |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
тогда ждем @dkorzhov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Добавил PR #170 Для установки использую пакетный менеджер chocolate. Сначала надо установить этот пакетный менеджер. Для этого запустить файл в powershell (ChocolateyInstallNonAdmin.ps1). Затем выполнить команду choco install make curl miniconda3. Затем make install-windows и make build-windows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dkorzhov обновил, проверь пж корректность инструкции. Я часть у себя воспроизвел, но не могу end2end в силу некоторых ограничений (да и сисема не чистая с нуля).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dkorzhov можешь посмотреть по win части, все ли норм, а то пора лить в master и покончить с блоком о python
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vtrokhymenko @stalkermustang Ссори, что поздно отвечаю. Посмотрел, все норм. Единственное, можно было сократить путь студентам, так как файл ps1 со скриптом сейчас в PR#170, предполагалось, что они его просто запустят.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а, кек, я его видел в make-файле для билда, но подумал, что он может быть какой-то специальный для гита и actions, и не стал на него ссылаться.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stalkermustang можешь переделать эту часть в лекции если хочешь, не проблема, создав новый pr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Та нет, кажется так норм, не будем зависеть от гитэкшнс. Уж скопировать файл, надеюсь, люди смогу
make install-macOS-latest && make build | ||
``` | ||
|
||
Если вам интересно, то первая установит `Python`, `poetry` - это еще один менеджер, который отвечает за управление библиотеками `Python` и их версиями, и, наконец, сами библиотеки, необходимые для прохождения курса. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Для MacOS там нет установки python. Я ее убрал, но верну чуть позже. Пока можно оставить текст. И можно наверное добавить раздел с требованиями к компу, где указать какие пакеты должны быть, если кто-то захочет установить вручную.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Хз, я бы так не делал. Если очень умные - сами найдут poetry.lock, если нет, и им нужна инструкция - она вот, зачем усложнять? У них (студентов) и без того жизнь нелегкая..
Co-authored-by: stalkermustang <[email protected]>
все? мерджим? |
last lec sheeeeesh