並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 26 件 / 26件

新着順 人気順

install python 3.12 linux commandの検索結果1 - 26 件 / 26件

  • 第850回 UbuntuにおけるシステムPythonと、Pythonの仮想環境を使い分ける方法 | gihyo.jp

    バージョンについては2025年2月時点での数字です。UbuntuのシステムPythonの場合、同じリリースでもマイクロバージョン(X.Y.Zの「Z」の部分)についてはアップグレードされることがあります。 UbuntuではもともとPython 2を使っていました。その後、Python 3へと段階的に移行し、2017年10月にリリースされた17.10からデスクトップ版でもPython 2が標準ではインストールされなくなりました。それからもPython 2のパッケージ自体は存在したのですが、2024年4月の24.04までにPython 2関連パッケージはすべてインストールできないようになっています。 ちなみにリリースによっては、「⁠複数のバージョンのPython」を提供していることもあります。たとえばUbuntu 22.04 LTSのシステムPythonのバージョンは3.10.6ですが、「⁠py

      第850回 UbuntuにおけるシステムPythonと、Pythonの仮想環境を使い分ける方法 | gihyo.jp
    • さらなる進化を遂げた「uv」の新機能 | gihyo.jp

      福田(@JunyaFff)です。本連載Python Monthly Topicsで2024年3月に公開したRust製のPythonパッケージ管理ツール「uv」を使ってみよう で紹介した「uv」が、さらなる進化を遂げました。今回は、その新機能を紹介します。 はじめに Astral社が開発するRust製の高速なpipの代替ツール「uv」がパッケージマネージャーとして8月にアップデートされました。pipの代替ツールとしてだけでなく、Pythonプロジェクト、コマンドラインツール、単一ファイルスクリプトさらにPython自体を管理できるようになりました。uvは、pipやpipx、venv、poetryやpyenvのような機能を包括していると言え、そしてそのすべてが非常に高速に動作します。 本記事では、アップデートした「uv」の新機能を中心に紹介します。 基本的な使い方は Rust製のPythonパ

        さらなる進化を遂げた「uv」の新機能 | gihyo.jp
      • Bootstrap | mise-en-place

        Bootstrap ​mise bootstrap sets up a machine for the current config in one command: OS packages, git repos, dotfiles, mise shell activation, macOS defaults, macOS LaunchAgents, Linux systemd user services, the user's login shell, tools, and any final project-specific task. You can also add hooks that run at named points in the bootstrap sequence. Use bootstrap for things that are needed before a pr

          Bootstrap | mise-en-place
        • 「自分の環境では動く」から解放される Nix Flake - じゃあ、おうちで学べる

          はじめに 「自分の環境では動くんだけど...」という言葉を、何度聞いたことがあるだろうか。開発環境の差異は、これまで「手順書」「Docker」「asdf/anyenv」で解決を試みてきたが、いずれも時間経過で破綻する。手順書は陳腐化し、Dockerfileのベースイメージは変わり、asdfは言語ごとにツールが分散する。問題の本質は「環境の固定」ではなく「依存関係の完全な追跡」にあった。これを根本から解決するのが、純粋関数型パッケージマネージャ「Nix」と、その最新機能「Nix Flake」だ。 これらの課題感については Infrastructure as Code, 3rd Edition が詳しく論じており、参考になる。2025年 俺が愛した本たち 技術書編 に入れれていなくて悲しいほどよい書籍である。オライリー・ジャパンさん 自分は翻訳の準備できてます!!! Infrastructur

            「自分の環境では動く」から解放される Nix Flake - じゃあ、おうちで学べる
          • 第880回 GPUに画像の文字を解析させる、あるいはPyTorch入門 | gihyo.jp

            Ubuntu Weekly Recipe 第880回GPUに画像の文字を解析させる⁠⁠、あるいはPyTorch入門 今回はAI文章画像解析エンジンであるYomiTokuを通じて、GPUメーカーごとに用意されているPyTorchのインストール方法を紹介します。 PyTorchとGPU PyTorchに関しては本連載でも何度となく登場しており、直近だと第877回でした。筆者も文字起こしをする必要がある場合には使用してみたくなりました。 PyTorchと何かというのは、gihyo.jpの記事「機械学習フレームワークPyTorch、Linux Foundationの傘下プロジェクトに」でも軽く紹介されています。元々はMetaのプロジェクトであったのが現在は独立していること、機械学習用のフレームワークでGPUアクセラレーション機能をサポートしていることがわかります。 GPUアクセラレーションはGPU

              第880回 GPUに画像の文字を解析させる、あるいはPyTorch入門 | gihyo.jp
            • 持ち運べる OpenStack 環境をつくる - NTT docomo Business Engineers' Blog

              この記事は、NTT docomo Business Advent Calendar 2025 2 日目の記事です。 Android 15 から Android 端末上で Linux 環境を動かすことが可能になりました。せっかくなので、 OpenStack をインストールして VM を動かしてみました。 はじめに スマホの Linux 開発環境に SSH する 開発環境を探検する OpenStack のインストール方法について DevStack を実行して minimal な OpenStack 環境をつくる スマホ OpenStack に VM を建ててみる トラブルシューティング Linux 開発環境が落ちる VM が boot しない まとめ はじめに こんにちは。 Smart Data Platform (SDPF) クラウド/サーバー 仮想サーバーチームの杉浦 (@Kumassy_

                持ち運べる OpenStack 環境をつくる - NTT docomo Business Engineers' Blog
              • uv is the best thing to happen to the Python ecosystem in a decade - Blog - Dr. Emily L. Hunt

                uv is the best thing to happen to the Python ecosystem in a decade Programming 23 October 2025 | Reading time: 6 minutes It’s 2025. Does installing Python, managing virtual environments, and synchronizing dependencies between your colleagues really have to be so difficult? Well… no! A brilliant new tool called uv came out recently that revolutionizes how easy installing and using Python can be. uv

                  uv is the best thing to happen to the Python ecosystem in a decade - Blog - Dr. Emily L. Hunt
                • How to improve Python packaging, or why fourteen tools are at least tw

                  There is an area of Python that many developers have problems with. This is an area that has seen many different solutions pop up over the years, with many different opinions, wars, and attempts to solve it. Many have complained about the packaging ecosystem and tools making their lives harder. Many beginners are confused about virtual environments. But does it have to be this way? Are the current

                  • January 2024 (version 1.86)

                    Update 1.86.2: The update addresses these issues. Update 1.86.1: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the January 2024 release of Visual Studio Code. There are many updates in this version that we hope you'll like, some of the key highlights include: Per-window zoom levels - Adjust the zoom leve

                      January 2024 (version 1.86)
                    • A 2025 Survey of Rust GUI Libraries

                      I did this in 2020 and then again in 2021, but I’m in the mood to look around again. Let’s look through Are We GUI Yet? and see what’s up these days. The task today is to have a text label and an input field that can change the text in the label. In React, for example, this is basically free: const Demo = () => { let [state, setState] = useState("Hello, world!"); return ( <div> <p>{state}</p> <inp

                      • Here’s how I use LLMs to help me write code

                        Sponsored by: Cursor — Delegate engineering tasks to Cursor Cloud Agents—even while your laptop is closed. Try Cursor & get 50% off your first month 11th March 2025 Online discussions about using Large Language Models to help write code inevitably produce comments from developers who’s experiences have been disappointing. They often ask what they’re doing wrong—how come some people are reporting s

                          Here’s how I use LLMs to help me write code
                        • Terraform sandboxes: 公式のサンドボックス環境で Terraform を勉強しよう - kakakakakku blog

                          HashiCorp 公式の Terraform サンドボックス環境「Terraform sandboxes」を使うとブラウザ上で Terraform の勉強ができる💡LocalStack(AWS エミュレータ)もプリインストールされてて Terraform AWS Provider の勉強にもなる. 最近までなかったように思うけど(僕の勘違いの可能性もある)さっそく試してみた❗️ developer.hashicorp.com バージョン確認 ドキュメントを読むと Terraform Docker LocalStack AWS CLI の4種類がプリインストールされてると記載されていた. 2026年1月時点でバージョンを確認してみた.ちょっと古めかなと思う😶 Terraform 1.12.2 Terraform AWS Provider 5.87.0 Docker 28.4.0 Loc

                            Terraform sandboxes: 公式のサンドボックス環境で Terraform を勉強しよう - kakakakakku blog
                          • AWS公式のECSハンズオンがとても良かった!! - Qiita

                            はじめに お疲れ様です。矢儀 @yuki_ink です。 こちらのAWS公式ハンズオンをやってみました。 ECSとFargate/EC2を利用した環境構築から、CI/CDパイプラインを利用したデプロイまで、一通り体験できる素晴らしいハンズオンでした。 次のようなみなさんにおすすめです。 ECSを知識として知ってはいるが、実際に触ったことがない コンテナの何が優れているのか、実感を持っては理解できない CI/CDパイプラインでコンテナをデプロイしてみたい ハンズオンで構築する環境の構成イメージはこちら。 1. VS Code Serverの構築 このハンズオンでは、開発環境として Visual Studio Code Server (VS Code Server) を利用するとのことで、まず、CloudFormationでVS Code Serverを構築していきます。 ハンズオンページの

                              AWS公式のECSハンズオンがとても良かった!! - Qiita
                            • Ryeに見る自己完結型Pythonとライセンスの話 - techtekt(テックテクト) | パーソルキャリアのエンジニアブログ

                              目次 目次 はじめに 検証環境 pyenv + Poetryのインストールとプロジェクト作成 pyenvのインストール Poetryのインストール プロジェクト作成 Ryeのインストールとプロジェクト作成 インストール プロジェクト作成 pyenv環境とRye環境のPythonの挙動の違い readlineモジュール なぜRyeのPythonはlibeditを使用するのか pyenvよるPythonのインストール RyeによるPythonのインストール ライセンスの問題 ユーザへの影響 まとめ はじめに Pythonの開発において、pyenvによるバージョンの切り替えと、Poetryによるプロジェクト管理の組み合わせを使用されている方は多いかと思います。 そんな中、ワンストップなプロジェクト・パッケージ管理ツールとして近年登場し、話題となっているのがRyeです。 rye-up.com Ry

                                Ryeに見る自己完結型Pythonとライセンスの話 - techtekt(テックテクト) | パーソルキャリアのエンジニアブログ
                              • Introducing the Amazon Linux 2023 runtime for AWS Lambda | Amazon Web Services

                                AWS Compute Blog Introducing the Amazon Linux 2023 runtime for AWS Lambda This post is written by Rakshith Rao, Senior Solutions Architect. AWS Lambda now supports Amazon Linux 2023 (AL2023) as a managed runtime and container base image. Named provided.al2023, this runtime provides an OS-only environment to run your Lambda functions. It is based on the Amazon Linux 2023 minimal container image rel

                                  Introducing the Amazon Linux 2023 runtime for AWS Lambda | Amazon Web Services
                                • Ubuntu 24.04 LTS (Noble Numbat) Release Notes

                                  Noble Numbat Release Notes Table of Contents Introduction New features in 24.04 LTS Known Issues Official flavours More information Introduction These release notes for Ubuntu 24.04 LTS (Noble Numbat) provide an overview of the release and document the known issues with Ubuntu and its flavours. For details of the changes applied since 24.04, please see the 24.04.2 change summary. Support lifespan

                                  • How virtual environments work

                                    After needing to do a deep dive on the venv module (which I will explain later in this blog post as to why), I thought I would explain how virtual environments work to help demystify them. Why do virtual environments exist?Back in my the day, there was no concept of environments in Python: all you had was your Python installation and the current directory. That meant when you installed something y

                                      How virtual environments work
                                    • Ubuntu 24.04 開発・研究環境構築ガイド|金子邦彦研究室

                                      【概要】本ガイドでは、Ubuntu 24.04 LTSにおける各種ソフトウェアのインストール手順を説明する。プログラミング環境(C/C++、Python、Java、R)、NVIDIA GPU環境(ドライバ、CUDA Toolkit、cuDNN)、データベース(PostgreSQL)、人工知能・機械学習ライブラリ、3次元コンピュータグラフィックス・地理情報システム・メディア処理ツール、エディタ・統合開発環境などを扱う。 【この記事の対象読者】Ubuntu 24.04 LTS上で開発・研究を行う大学生や技術者。C/C++やPythonによるプログラミング、人工知能・機械学習、3次元コンピュータグラフィックス制作、データベース管理などの環境を構築したい人を対象としている。Windows環境向けの情報は別ページ »で説明している。 【重要概念】 LTS(Long Term Support): 長期

                                      • VirtualBox の「Arch Linux」に「OpenBox」デスクトップ〈H123〉 - Linux あれこれ

                                        登録日: 2021-07-11 更新日: 2023-03-18 前回、「Xubuntu 20.04.2 LTS」に、ハードウェアの違いを仮想マシンにより吸収してくれる「VirtualBox」をインストールして、ゲストOS として「Arch Linux」をインストール しました。 今回は、それに「OpenBox」デスクトップ環境をインストールしたので、その備忘録です。 - 「OpenBox」はデスクトップ環境というよりも、デスクトップ環境の一部の機能です。余計な機能がない分、使えるまでに手間がかかりますが、出来上がれば軽量です。このあたりは、Arch Linux に似ています。 - - ホストOS : Xubuntu 20.04.2 LTS ゲストOS : Arch Linux(2021.07.01 のiso イメージ) ←(作業時のバージョン) - - 使用したPC は「ASUS Chro

                                          VirtualBox の「Arch Linux」に「OpenBox」デスクトップ〈H123〉 - Linux あれこれ
                                        • Docker optimization guide: the 12 best tips to optimize Docker image security

                                          You should always build and push images in a clean environment, e.g. a CI/CD pipeline, where the build agent clones your repository into a new directory. The problem with using your local development machine for building is that your local “working tree” of the Git repository might be dirty. For instance, it might contain files with secrets that you need during development, e.g. access keys to sta

                                            Docker optimization guide: the 12 best tips to optimize Docker image security
                                          • Deploy Streamlit using Docker - Streamlit Docs

                                            So you have an amazing app and you want to start sharing it with other people, what do you do? You have a few options. First, where do you want to run your Streamlit app, and how do you want to access it? On your corporate network - Most corporate networks are closed to the outside world. You typically use a VPN to log onto your corporate network and access resources there. You could run your Stre

                                              Deploy Streamlit using Docker - Streamlit Docs
                                            • Bikeshed Documentation

                                              Bikeshed Documentation Living Standard, 27 July 2026 To the extent possible under law, the editors have waived all copyright and related or neighboring rights to this work. In addition, as of 27 July 2026, the editors have made this specification available under the Open Web Foundation Agreement Version 1.0, which is available at https://www.openwebfoundation.org/the-agreements/the-owf-1-0-agreeme

                                              • README

                                                Tartube - The Easy Way To Download and Watch Videos Works with YouTube, Twitch, Odysee, and hundreds of other sites Download Tartube from trustworthy websites - not fake ones! 1 Introduction 2 Why should I use Tartube? 3 Downloads 4 Quick start guide 5 Installation 6 Using Tartube 7 Frequently-Asked Questions 8 Contributing 9 Authors 10 License 1 Introduction Tartube is a GUI front-end for youtube

                                                • Pipenv ユーザーのための uv 入門 - サーバーワークスエンジニアブログ

                                                  はじめに 対象読者 書かないこと uv とは インストール よく使うコマンドの対応 対応表 Python ランタイムの管理 Pipenv uv プロジェクトの初期化 Pipenv uv 仮想環境の有効化 Pipenv uv 依存ライブラリの追加 Pipenv uv 依存ライブラリの削除 Pipenv uv ロックファイルの内容で仮想環境を更新 Pipenv uv 仮想環境の削除 Pipenv uv 依存関係の可視化 Pipenv uv requirements.txt の生成 Pipenv uv タスクランナー Pipenv uv まとめ はじめに サーバーワークスの宮本です。急激に冷え込んで来ましたね。今年こそはエアコン以外の暖房器具を導入したいと考えているところです。 さて、今回は Python の依存管理ツールについてのお話です。個人的にはこれまで Pipenv を使用していたのです

                                                    Pipenv ユーザーのための uv 入門 - サーバーワークスエンジニアブログ
                                                  • DeZog + Z88DK + MAME で MSX アセンブリーをデバッグする手順

                                                    はじめに この文書は、VS Code の Z80 デバッガーである DeZog 拡張と Z80 ツールチェイン Z88DK、及び MSX エミュレータ・gdb スタブとして MAME を使い、VS Code 上の Z80 アセンブリーをデバッグする手順です。 Z88DK でつくられた Z80 ソースコードを、DeZog 拡張と MAME リモートデバッグの機能を使い、VS Code 上でパワフルにデバッグをすることが可能です。 本手順は、Ubuntu 22.04 LTS 及び、Windows 10/11 の WSL2(WSLg) な Ubuntu 22.04 LTS で動作確認しています。 未確認ですがおそらく macOS でも同様の方式で動作するはずです。 Windows 10 WSL2 (WSLg) で動作する MAME Linux バイナリと DeZog: DeZog と MAME

                                                      DeZog + Z88DK + MAME で MSX アセンブリーをデバッグする手順
                                                    • Claude Code を 0 円で動かす:Ollama + CodeRouter で Qwen3.5 や Gemma4 まで全部ローカルで遊ぶ最短セットアップ(2026-04-25 改訂版)|zephel01

                                                      Claude Code を 0 円で動かす:Ollama + CodeRouter で Qwen3.5 や Gemma4 まで全部ローカルで遊ぶ最短セットアップ(2026-04-25 改訂版) 「Claude Code、触ってみたい。でも Anthropic の API キーを発行して課金するのはちょっと怖い」「ローカル LLM ってブログでは見るけど、結局どうやって Claude Code とつなぐの?」——AI コーディングエージェントの入門で最初につまずくのは、たいていこの「お金まわりの不安」と「つなぎ方が分からない」のセットです。 この記事では、ローカルの Ollama と、無料クラウドのフリーティアだけを使って、Claude Code と Codex CLI(OpenAI 公式 CLI)の 2 本を「うっかり課金してしまう心配がない」状態で動かすところまでを、2026 年 4 月

                                                        Claude Code を 0 円で動かす:Ollama + CodeRouter で Qwen3.5 や Gemma4 まで全部ローカルで遊ぶ最短セットアップ(2026-04-25 改訂版)|zephel01
                                                      1