<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t_nkb</author_name>
  <author_url>https://blog.hatena.ne.jp/t_nkb/</author_url>
  <blog_title>技術メモ集</blog_title>
  <blog_url>https://www.robotech-note.com/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>linux</anon>
  </categories>
  <description>virtualenvの仮想環境を作ってしまうと、apt-get等のpip以外で入れたパッケージはそのまま使用できない。 OpenCvを例にあげて、virtualenvの仮想環境にapt-getで入れたパッケージを使用する方法を記載する。 #基本参考サイトのとおりだが、コマンド等をcv2に合わせて若干変更。（参考） vild.hatenablog.com 仮想環境外で以下のコマンドを打ち、opencvのインストールパスを確認する。 $ python -c &quot;import cv2; print cv2.__file__&quot; /usr/lib/python2.7/dist-packages/cv2.x…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.robotech-note.com%2Fentry%2F2016%2F09%2F24%2F222729&quot; title=&quot;virtualenvの仮想環境にapt-getで入れたパッケージ（OpenCv等）を導入する方法 - 技術メモ集&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-09-24 22:27:29</published>
  <title>virtualenvの仮想環境にapt-getで入れたパッケージ（OpenCv等）を導入する方法</title>
  <type>rich</type>
  <url>https://www.robotech-note.com/entry/2016/09/24/222729</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
