Did you install cpyrit-stream from the repos? Can you type the following from a command line:
python -c "from _cpyrit import _cpyrit_stream"
Hi All,
I searched a lot in the forum but I did not find why Pyrit does not recognize the ATI core.
So I would like to explain to you what I did.
- 1 I have installed the ATI drivers in BT4 final from the ati-driver-installer-10-2-x86.x86_64.run and it is working fine
- 2 I have installed the ATI_Stream_SDK_v2.01 and the installation was fine without any errors
- 3 I tried to execute pyrit list_cores
An the result is the following:
root@bt:~# pyrit list_cores
Pyrit 0.2.5-dev (C) 2008, 2009 Lukas Lueg pyrit - Project Hosting on Google Code
This code is distributed under the GNU General Public License v3
Connecting to storage... connected
The following cores seem available...
#1: 'CPU-Core (SSE2)'
#2: 'CPU-Core (SSE2)'
Can someone help me to identify where the problem is?
Thanks a lot.
Did you install cpyrit-stream from the repos? Can you type the following from a command line:
python -c "from _cpyrit import _cpyrit_stream"
I may have been born with a silver spoon in my mouth but it does not mean I like to be spoon fed.
Hi skinnypuppy,
I think you are right the cpyrit_stream is missing....
I tried your command but is not working properly
root@bt:~# python -c "from _cpyrit import _cpyrit_stream"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named _cpyrit
root@bt:~#
thanks for your help...
The author of pyrit recomends the 10.1 driver as the 10.2 drivers has issues.
I'm having the issue too. It seems to be an incompatibility between pyrit and cpyrit-stream packages. pyrit files are under /usr/lib/python2.5/site-packages/cpyrit. There's a file named _cpyrit_cpu.so. You can import it from the python shell
cpyrit-stream files are installed under /usr/lib/python2.5/site-packages/_cpyrit, in particular _cpyrit_stream.so. I cannot import it.Code:python -c "from cpyrit import _cpyrit_cpu"
Nor from the cpyrit packageCode:python -c "from _cpyrit import _cpyrit_stream" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named _cpyrit
So I tried to copy it to cpyrit moduleCode:python -c "from cpyrit import _cpyrit_stream" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: cannot import name _cpyrit_stream
Now if you start pyrit the module is found... but...Code:root@bt:/usr/lib/python2.5/site-packages/cpyrit# cp ../_cpyrit/_cpyrit_stream.so .
They seem incompatible. Are they from different software versions?Code:# pyrit list_cores Pyrit 0.2.5-dev (C) 2008, 2009 Lukas Lueg http://pyrit.googlecode.com This code is distributed under the GNU General Public License v3 Connecting to storage... connected WARNING: Version mismatch between <module 'cpyrit._cpyrit_cpu' from '/usr/lib/python2.5/site-packages/cpyrit/_cpyrit_cpu.so'> ('0.2.5-dev') and <module 'cpyrit._cpyrit_stream' from '/usr/lib/python2.5/site-packages/cpyrit/_cpyrit_stream.so'> ('unknown') Traceback (most recent call last): File "/usr/bin/pyrit", line 6, in <module> pyrit_cli.Pyrit_CLI().initFromArgv() File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 114, in initFromArgv func(self, **options) File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 259, in list_cores from cpyrit import cpyrit File "/usr/lib/python2.5/site-packages/cpyrit/cpyrit.py", line 171, in <module> class StreamCore(Core, _cpyrit_stream.StreamDevice): AttributeError: 'module' object has no attribute 'StreamDevice'
Trying to figure out the same thing. Subscribing.
This may help. Not sure if you may have looked at it already or not.
ati-driver-|-stream-sdk-2-2-opencl-1-1-|-cal-|-cpyrit_calpp-|.html
Haven't tried it myself. ATI drivers have been broken since bt4-final. I haven't tried the method myself as I haven't need to run pyrit or OCLhashcat in awhile. Before this write-up was around, I was booting a livecd of Pentoo64 solely for using pyrit because cpyrit works out of the box on that. Haven't needed to do that in some time also though. FYI backtrack is infinitely better than pentoo simply for the fact is it much more actively developed.