Python: sqlite no matching distribution found for sqlite

前端 未结 3 709
情话喂你
情话喂你 2021-02-19 12:15

I tried to install that library by pip in console. I\'m using win7 and python v. 2.7.10. But failed to achive. Acording to this - It can be used for my version of python too.

相关标签:
3条回答
  • 2021-02-19 12:41

    I had similar issue in RHEL7.4 it worked with below solution

    If you compiled and installed Python 3 yourself, install the dependencies (libsqlite3-dev or sqlite-devel or similar, depending on your Linux distribution, for example), then re-compile and re-install Python 3.

    after installing the sqlite-devel I have reinstall Python3.6 on my machine using below steps

    1. download wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz
    2. tar xvf Python-3.6.3.tar.xz
    3. cd Python-3.6.3 and then run ./configure
    4. make
    5. make install

    after doing this when I launch jupyter notebook it got launch

    Credit goes for this answer to Martijn Link https://stackoverflow.com/a/41440858/5863866

    0 讨论(0)
  • 2021-02-19 12:49

    What makes you think you need to install this? sqlite is part of the standard library, and does not need installing.

    0 讨论(0)
  • 2021-02-19 12:53

    Another simple solution would be

    pip install pysqlite

    0 讨论(0)
提交回复
热议问题