My package manager reports Python is installed but when I try installing the binwalk software which relies on it the python-magic module cant be found .
Is this put in an unexpected directory and needs a link or is there some other reason please?
Puppy Precise 5.6.1
Python-magic module not found
-
- Posts: 210
- Joined: Thu 18 Nov 2010, 05:39
- Location: The Island Of Long (NY, USA)
Thanks I dont understand
Package manager says I have magic and magic-dev installed
Also have file-5.03-w5c installed but when compiling binwalk the compile process is not finding the python modules .
Have the modules been moved in the distro from where they are expected to be ? Do I need a link created so the compiler finds them?
has anyone worked with python and become familiar with where the modules are supposed to be ?
Package manager says I have magic and magic-dev installed
Also have file-5.03-w5c installed but when compiling binwalk the compile process is not finding the python modules .
Have the modules been moved in the distro from where they are expected to be ? Do I need a link created so the compiler finds them?
has anyone worked with python and become familiar with where the modules are supposed to be ?
hi april,
make sure that you have the 'devx.sfs' installed, then install python-setuptools and its dependencies from the PPM
and then try compiling binwalk again
make sure that you have the 'devx.sfs' installed, then install python-setuptools and its dependencies from the PPM
and then try compiling binwalk again
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Thanks Phil . Tried your suggestion but still not finding the magic module ?
I think it may have done a magic disappearing trick? Hai
I downloaded the latest "file 5.15" as it must be > 5.05
as below from that site but am still getting some error
Can anyone help further a bit ?
I think it may have done a magic disappearing trick? Hai
I downloaded the latest "file 5.15" as it must be > 5.05
as below from that site but am still getting some error
Code: Select all
# python setup.py build
checking pre-requisites
*******************************************************************************************************************
Pre-requisite failure: 'module' object has no attribute 'MAGIC_NO_CHECK_TEXT'
It looks like you have an old or incompatible magic module installed.
Please install the official python-magic module, or download and install it from source: ftp://ftp.astron.com/pub/file/
*******************************************************************************************************************
https://pypi.python.org/pypi/filemagic/
installed by python from the python source it would seem.... not something I am familiar with but have done it in the dim past....
mike
installed by python from the python source it would seem.... not something I am familiar with but have done it in the dim past....
mike
ok .... this was tried on a vanilla precise 5.7.1..
install the devx
install python-setuptools and it's dependencies from the PPM
the next two packages are in the devx, but reinstall them from the PPM
python-magic
libmagic
you should be good to go then
install the devx
install python-setuptools and it's dependencies from the PPM
the next two packages are in the devx, but reinstall them from the PPM
python-magic
libmagic
you should be good to go then
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331