pygame是python的第三方程式庫
1.相依性安裝
sudo apt-get install python3-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy libportmidi-dev ffmpeg libswscale-dev libavformat-dev libavcodec-dev checkinstall mercurial
2.下載pygame
hg clone https://bitbucket.org/pygame/pygame
3.變更至該目錄
cd pygame
4.編譯
python3 setup.py build
5.安裝
sudo checkinstall python3 setup.py install
資料摘取自網路
2014年4月16日 星期三
2014年3月27日 星期四
0
ubuntu 12.04 安裝xp網芳印表機epson 6200L
在“系統設定值”-》“列印”-》“加入”中安裝了epson6200L(需安裝samba),原以為這麼簡單就搞定了,ubuntu真是越來越方便了。那知資料送了n次郤沒任何反應。
只好googel一下有沒有解決方案
1. 下載 epsoneplijs-0.4.1.tgz
http://sourceforge.net/projects/epsonepl/files/epsonepl/0.4.1/epsoneplijs-0.4.1.tgz/download
2. 解壓縮(tar zxvf) epsoneplijs-0.4.1.tgz
3. sudo apt-get install build-essential
4. cd epsoneplijs-0.4.1.tgz
5. sudo ./configure
6. sudo make
7. sudo make install
8. sudo mkdir -p /usr/share/cups/model/foomatic-ppds/Epson/
9. sudo mkdir -p /usr/share/foomatic/db/source/driver/
10. sudo mkdir -p /usr/share/foomatic/db/source/opt
11. sudo mkdir -p /usr/share/foomatic/db/source/printer/
12. sudo cp -av foomatic_PPDs/Epson-EPL-*-cups.ppd.gz /usr/share/cups/model/foomatic-ppds/Epson/
13. sudo cp foomatic/driver/epl6200l.xml /usr/share/foomatic/db/source/driver/
14. sudo cp foomatic/opt/epsonepl-* /usr/share/foomatic/db/source/opt/
15. sudo cp foomatic/printer/Epson-EPL-6200L.xml /usr/share/foomatic/db/source/printer/
16. sudo /etc/init.d/cups restart
http://sourceforge.net/projects/epsonepl/files/epsonepl/0.4.1/epsoneplijs-0.4.1.tgz/download
2. 解壓縮(tar zxvf) epsoneplijs-0.4.1.tgz
3. sudo apt-get install build-essential
4. cd epsoneplijs-0.4.1.tgz
5. sudo ./configure
6. sudo make
7. sudo make install
8. sudo mkdir -p /usr/share/cups/model/foomatic-ppds/Epson/
9. sudo mkdir -p /usr/share/foomatic/db/source/driver/
10. sudo mkdir -p /usr/share/foomatic/db/source/opt
11. sudo mkdir -p /usr/share/foomatic/db/source/printer/
12. sudo cp -av foomatic_PPDs/Epson-EPL-*-cups.ppd.gz /usr/share/cups/model/foomatic-ppds/Epson/
13. sudo cp foomatic/driver/epl6200l.xml /usr/share/foomatic/db/source/driver/
14. sudo cp foomatic/opt/epsonepl-* /usr/share/foomatic/db/source/opt/
15. sudo cp foomatic/printer/Epson-EPL-6200L.xml /usr/share/foomatic/db/source/printer/
16. sudo /etc/init.d/cups restart
完成後重設印表機
若出現驅動程式找不到 ijs_server_epsonepl
則 sudo cp ijs_server_epsonepl /usr/bin/ (在重啟前複製即可)
2013年9月13日 星期五
0
Rhino 5.0 插入背景圖無法顯示
Rhino 5.0 插入背景圖無法顯示,三視圖中用來當建模基準線。
解決方法取消 openGL 硬體加速
工具 >選項 >視圖 >openGL > 使用硬體加速模式 (勾選取消)
解決方法取消 openGL 硬體加速
工具 >選項 >視圖 >openGL > 使用硬體加速模式 (勾選取消)
2013年5月9日 星期四
2013年2月2日 星期六
0
中華郵政ATM 錯誤訊息 -win7+ie9
第一次要使用要使用webatm,結果一直出現錯誤"請檢查晶片是否已依正確方向插入讀卡機!"
郵局官網上的Q&A也無法解決問題
https://webatm.post.gov.tw/postatm/QA.htmlQ. 個人電腦為Window 7作業系統、IE8瀏覽器,於網路ATM交易,執行插拔卡後出現錯誤訊息 “請檢查晶片是否已依正確方向插入讀卡機!”該如何處理?
A. 因Windows 7 啟用智慧卡認證機制「Certificate Propagation」服務,會影響網路ATM晶片卡交易操作,如電腦未使用智慧卡時可將此服務停用 (路徑:開始>所有程式>系統管理工具>服務),重新開機後便可正常使用。
照著上面的方法依然無效
直到在網路上找到這方法
參考網址:http://eric1774.pixnet.net/blog/post/28189027
解決方法:
1. 桌面-->電腦-->按右鍵進入-->管理
2. 服務及應用程式-->服務
3. 找尋"smart card", 將它停用再開啟
真的成功了,過程中我還去郵局反應卡片有問題,還重新換了一張卡。真是誤會大了!
郵局官網上的Q&A也無法解決問題
https://webatm.post.gov.tw/postatm/QA.htmlQ. 個人電腦為Window 7作業系統、IE8瀏覽器,於網路ATM交易,執行插拔卡後出現錯誤訊息 “請檢查晶片是否已依正確方向插入讀卡機!”該如何處理?
A. 因Windows 7 啟用智慧卡認證機制「Certificate Propagation」服務,會影響網路ATM晶片卡交易操作,如電腦未使用智慧卡時可將此服務停用 (路徑:開始>所有程式>系統管理工具>服務),重新開機後便可正常使用。
照著上面的方法依然無效
直到在網路上找到這方法
參考網址:http://eric1774.pixnet.net/blog/post/28189027
解決方法:
1. 桌面-->電腦-->按右鍵進入-->管理
2. 服務及應用程式-->服務
3. 找尋"smart card", 將它停用再開啟
真的成功了,過程中我還去郵局反應卡片有問題,還重新換了一張卡。真是誤會大了!
訂閱:
文章 (Atom)



