09-05-2011, 04:18 PM
Problem ketika running Creepy
fix nya
Cek versi pythonnya atau run pythonnya
install modulenya
coba cek cachenya
setelah itu
fixnya pada intinya begini
Thanks to : Liyan Oz
Code:
root@bt:~# creepymap
/usr/lib/pymodules/python2.6/flickrapi/__init__.py:45: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "creepymap.py", line 29, in <module>
import osmgpsmap
ImportError: No module named osmgpsmap
fix nya
Cek versi pythonnya atau run pythonnya
Code:
root@bt:~# python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
install modulenya
Code:
root@bt:~# apt-get install libosmgpsmap-dev python-osmgpsmap
Reading package lists... Done
Building dependency tree
Reading state information... Done
libosmgpsmap-dev is already the newest version.
python-osmgpsmap is already the newest version.
The following packages were automatically installed and are no longer required:
libdmraid1.0.0.rc16 python-pyicu libdebian-installer4 cryptsetup libecryptfs0 reiserfsprogs rdate bogl-bterm ecryptfs-utils libdebconfclient0 dmraid
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
coba cek cachenya
Code:
root@bt:~# apt-cache search python-osmgpsmap
python-osmgpsmap - GTK+ library to embed OpenStreetMap maps - Python bindings
root@bt:~# apt-cache search libosmgpsmap-dev
libosmgpsmap-dev - GTK+ library to embed OpenStreetMap maps - development files
setelah itu
Code:
root@bt:~# locate osmgpsmap
/usr/lib/python2.5/site-packages/gtk-2.0/osmgpsmap.a
/usr/lib/python2.5/site-packages/gtk-2.0/osmgpsmap.la
/usr/lib/python2.5/site-packages/gtk-2.0/osmgpsmap.so
/usr/share/doc/python-osmgpsmap
/usr/share/doc/python-osmgpsmap/README
/usr/share/doc/python-osmgpsmap/changelog.Debian.gz
/usr/share/doc/python-osmgpsmap/changelog.gz
/usr/share/doc/python-osmgpsmap/copyright
/usr/share/pygtk/2.0/defs/osmgpsmap-compat.defs
/usr/share/pygtk/2.0/defs/osmgpsmap.defs
/var/lib/dpkg/info/python-osmgpsmap.list
/var/lib/dpkg/info/python-osmgpsmap.md5sums
fixnya pada intinya begini
Code:
apt-get autoremove creppy
apt-get remove libosmgpsmap-dev python-osmgpsmap
apt-get install libosmgpsmap-dev python-osmgpsmap
apt-get install creepy
Thanks to : Liyan Oz