pandas実行時に「ModuleNotFoundError: No module named ‘_bz2’」

今回はpandas実行時に下記のようなエラーが起きてしまったときの対処法についてご紹介していこうと思います。
pandasのバージョンは1.5.2で、3.2.16のDjangoを使用してpython manage.py r ...
Docker+AlmaLinux9.3で特定のバージョンのPythonをインストールしたい【備忘録】

今回はDockerを使ってAlmaLinux9.3のイメージをpullしてから特定のバージョンのPythonをインストールしたいときどうすれば良いのかについて備忘録として残そうと思います。
Docker Desktopのバ ...
docker compose buildでログを画面に残したままにする方法

今回はdocker compose buildでコンテナを作る際にログを画面に残したままにする方法についてお伝えしていこうと思います。
docker compose buildでログを画面に残したままにする方法今までdoc ...
mod-wsgi install時に「error: command ‘gcc’ failed with exit status 1」

今回はpipを使ってmod-wsgiをインストールしようとしたときに下記のエラーが出たときの対処法についてお伝えいたします。
動作環境はPython3.8.13で、RHEL系のLinuxディストリビューションであるAlma ...
enable-shared時にpython get-pip.py –userで「cannot open shared object file: No such file or directory」

今回はenable-sharedオプションを使ってPythonを展開した後に
python get-pip.py --user
を叩いて下記のようなエラーが出てしまったときの対処法についてご紹介いたします。 ...
mod-wsgi install時に「ModuleNotFoundError: No module named ‘_ctypes’」

今回はpipでmod-wsgiをインストールしようとしたときに下記のエラーが起きたときの対処法についてご紹介していこうと思います。
動作環境はPython3.8.13で、RHEL系のLinuxディストリビューションであるA ...
docker compose upで「Error response from daemon: network not found」

今回はdocker compose upを叩いたときに「Error response from daemon: network 0d938770ae779c3e3d4e6d7fddb345e90f8d77a583170f036d6b6 ...
coreschema install時に「ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.」

今回はpip installを使ってcoreschemaをインストールしようとしたときに下記のエラーが起きたときの対処法についてご紹介していこうと思います。
動作環境はPython3.8.13で、RHEL系のLinuxディ ...
pythonコマンドでpython3のコマンドを叩く方法【aliasを使わない】

今回はaliasを使わずにpythonコマンドでpython3のコマンドを叩く方法についてご紹介していこうと思います。
pythonコマンドでpython3のコマンドを叩く方法【aliasを使わない】下記の状況を想定してみ ...
CentOSなどRHEL系Linuxで「ERROR: Could not build wheels for mod-wsgi」

今回はCentOSやFedoraなどRHEL系Linuxディストリビューションを使っていてPythonのmod-wsgiをインストールしようとしたときに下記のエラーが出たときの対処法についてお話ししていこうと思います。
私 ...
CentOSなどRHEL系Linuxで「RuntimeError: The ‘apxs’ command appears not to be installed or is not executable」

今回はCentOSやFedoraなどRHEL系Linuxディストリビューションを使っていて、Pythonのmod-wsgiをインストールしようとしたときに下記のエラーが出たときの対処法についてご紹介しようと思います。
私は ...
CentOSやFedoraなどRHEL系Linuxでpipを使えるようにしたいとき

今回はCentOSやFedoraなどRHEL系Linuxディストリビューションでpipを使えるようにしたいときどのようにすれば良いのかについてご紹介していこうと思います。
私はDockerを使ってAlmaLinux9.3で ...
Pythonインストール時の「make altinstall」で「zipimport.ZipImportError: can’t decompress data」

今回はPythonをバージョン指定してインストールする際にmake altinstallを叩く工程がある場合がありますが、make altinstallしたときに下記のエラーが出たときの対処法についてご紹介していこうと思います。
Node.jsをRHEL系のLinuxディストリビューションでインストールするときはyumよりもdnfが良い

今回はNode.jsをCentOSやFedoraなどのRHEL系のLinuxディストリビューションでインストールするときはyumよりもdnfが良いという話をしていこうと思います。
私の動作環境はDocker Desktop ...
Docker+RHEL系Linuxで「Curl error (6): Couldn’t resolve host name for」で名前解決できない

今回はDockerでCentOSやAlmaLinuxなどのRHEL系Linuxを使ったとき、yumやdnfコマンドで「Curl error (6): Couldn’t resolve host name for」と出てDN ...