Missing sqlite3 after Python3 compile

后端 未结 3 1312
暖寄归人
暖寄归人 2021-01-02 22:09

My question is much like several others. Having manually compiled Python, sqlite3 is missing:

\"enter

3条回答
  •  臣服心动
    2021-01-02 22:46

    If you only have limited user access (no root or sudo permission) you can install to a local, user accessible, environment like so:

    tar -xvf sqlite-autoconf-3270200.tar.gz
    cd sqlite-autoconf-3270200
    ./configure --prefix=$HOME/.local
    make && make install
    

    This will install on your ~/.local tree.

    Add ~/.local/bin to your path if missing.

提交回复
热议问题