<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ke_takahashi</author_name>
  <author_url>https://blog.hatena.ne.jp/ke_takahashi/</author_url>
  <blog_title>memorandums</blog_title>
  <blog_url>https://memorandums.hatenablog.com/</blog_url>
  <categories>
    <anon>mac</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>論文でPythonを使ってグラフ作成しているところがありまして（内容はどうでもいい）、少し前までは動いていたはずのコードがエラーが出て動かなくなりました。 環境はMacでpipenv（venv）でプロジェクトごとにPythonおよび必要なライブラリを管理しています。pipenv shellで仮想環境に入ったあとpip listってやると確かにmatplotlibだけがありませんでした。 Pipfileにはあるのになぜ？ とりあえず、プロジェクトの.venvを削除して、pipenv installで入れ直しました。すると。。。ターミナルからは動作するようになりまして。根本原因はわからないけどまぁ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemorandums.hatenablog.com%2Fentry%2F2025%2F05%2F23%2F162645&quot; title=&quot;インポート &amp;quot;matplotlib.pyplot&amp;quot; をソースから解決できませんでした - memorandums&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/k/ke_takahashi/20250523/20250523162311.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-23 16:26:45</published>
  <title>インポート &quot;matplotlib.pyplot&quot; をソースから解決できませんでした</title>
  <type>rich</type>
  <url>https://memorandums.hatenablog.com/entry/2025/05/23/162645</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
