PyOpenGL installation using Anaconda

For Windows 32bit or other OS
conda install pyopengl

For WIndows 64bit
The above command does not install some dll files to execute glut related function. So, a solution is (1) to copy necessary dll files to one of bin  directory such as C:\Windows\System32 or (2) to take the following steps.

  1. download appropriate file from the unofficial pytyon library from here (for my case PyOpenGL‑3.1.1a1‑cp27‑none‑win_amd64.whl cp27 means Python 2.7).
  2. install the PyOpenGL by running the following command.
    pip install PyOpenGL‑3.1.1a1‑cp27‑none‑win_amd64.whl (change the .whl file name)

Windows 32bit もしくは その他のOS
conda install pyopengl

WIndows 64bit

  1. ここ から非公式なpython libraryファイルをダウンロード(手元のPCでは PyOpenGL‑3.1.1a1‑cp27‑none‑win_amd64.whl cp27はPython 2.7を意味している).
  2. 以下のコマンドを実行してPyOpenGLをインストール.
    pip install PyOpenGL‑3.1.1a1‑cp27‑none‑win_amd64.whl (.whl ファイルの名前はダウンロードしたファイル名と同じファイル名にする)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s