pyparallel

weemel

Registered
Not sure where to post this...

Have been trying to get pyparallel to work. The current error i'm being given for

>>> import parallel
>>> p = parallel.Parallels()

is this:

Code:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.5/site-packages/parallel/parallelppdev.py", line 186, in __init__
    self._fd = os.open(self.device, os.O_RDWR)
OSError: [Errno 2] No such file or directory: '/dev/parport0'

Doing a search reveals that i should be doing this:

sudo rmmod lp
sudo modprobe ppdev

which seems to work for linux, with modules that i haven't been successful trying to install... anyone have a solution?

Thanks muchly, let me know if more info is needed/what i'm saying doesn't make sense.
 
Back
Top