Skip to content

Faulty Python Installation #27

@RpfR2000

Description

@RpfR2000

Hi, I'm trying to install the Python version of clij2-fft to use it for Lucy-Richardson deconvolution. I first built clFFT, I believe successfully -- although I'm not sure how to test this. Then did pip install pyopencl, pip install clij2-fft. No apparent issues. But when I run the richardson_lucy python function, I get the following error. Do you know what might be wrong? Thanks!

Traceback (most recent call last):
File "B:\Jon\Software\image_processing\extract_psf.py", line 31, in
psf=richardson_lucy(im_32, centroids_32, 300, 0.0002)
File "C:\Users\Jon\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\clij2fft\richardson_lucy.py", line 52, in richardson_lucy
lib = getlib()
File "C:\Users\Jon\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\clij2fft\libs.py", line 29, in getlib
clij2fft=CDLL('clij2fft.dll', mode=RTLD_GLOBAL)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\ctypes_init_.py", line 374, in init
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'clij2fft.dll' (or one of its dependencies). Try using the full path with constructor syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions