Skip to content

Errors while building the package #242

Open

Description

@threenadh38

CMake Error at swig/python/cmake_install.cmake:60 (file):
file cannot create directory:
/usr/local/lib/python3.12/dist-packages/fields2cover. Maybe need
administrative privileges.
Call Stack (most recent call first):
swig/cmake_install.cmake:47 (include)
cmake_install.cmake:188 (include)

when i am trying to build the latest commit (245abf4) in i7 ubuntu 24.04 with jazzy and jetson orin nx running jetpack 7.2.1 with jazzy , in both the devices i am getting this error

Activity

  1. Gonzalo-Mier commented on Aug 24, 2026

    @Gonzalo-Mier
    Member

    Hi @threenadh38,
    According to the error shown, it seems you are not running it with administrative privileges. I cannot replicate your error in my systems. Have you tried running it with sudo?

  2. lcsvillela commented on Aug 29, 2026

    @lcsvillela
    Contributor

    I don't know what you are doing @threenadh38, but if possible, it's a better way! You can use the Dockerfile, you can just make a clone from repository:

    git clone https://github.com/Fields2Cover/Fields2Cover.git

    after this, you need access the directory:

    cd Fields2Cover

    so, if you alredy have docker installed at you system, just need to run:

    sudo docker build . -t fields2cover

    after this, your docker image will be generated and you can run:

    sudo docker run -it fields2cover bash

    with this method, you can use the project without the necessity to install any software at you localhost

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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