Skip to content

Exception concerning __init_memmap() can't be resolved #32

Description

@yageguo1

I am using PyBoof in a conda virtual environment in Windows to caliberate the camera using a chessboard. My pyboof is in version 0.43.1.

detector = pb.FactoryFiducialCalibration.chessboardB(config_grid)

Would lead to exception_use_mmap, which would raise the exception: "Exception: Need to turn on mmap. Add pb.init_memmap() to your code before any other calls to PyBoof". However, even after I added pb.__init_memmap() before the line, the problem persisted.

I've checked the source code and the examples didn't require initialization of mmap before using the detector. Also, when I directly copy paste the example into VSCode, it produced the same error.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions