Code Monkey home page Code Monkey logo

Comments (3)

coleifer avatar coleifer commented on June 12, 2024

Ah, yeah I don't believe setup works with Python 3.x.

from unqlite-python.

ul avatar ul commented on June 12, 2024

I have the same error with python2:

λ sudo pip2 install unqlite
You are using pip version 7.0.1, however version 7.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting unqlite
  Using cached unqlite-0.2.0.tar.gz
Installing collected packages: unqlite
  Running setup.py install for unqlite
    Complete output from command /usr/bin/python2 -c "import setuptools, tokenize;__file__='/tmp/pip-build-9CQUid/unqlite/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-OqrrYB-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    Traceback (most recent call last):
      File "ctypesgen/ctypesgen.py", line 38, in <module>
        import ctypesgencore
      File "/tmp/pip-build-9CQUid/unqlite/ctypesgen/ctypesgencore/__init__.py", line 56, in <module>
        import processor
    ImportError: No module named 'processor'
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-9CQUid/unqlite/setup.py", line 61, in <module>
        cmdclass={'build_py': GenerateCtypesWrapper},
      File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/lib/python2.7/distutils/command/install.py", line 563, in run
        self.run_command('build')
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/distutils/command/build.py", line 127, in run
        self.run_command(cmd_name)
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/tmp/pip-build-9CQUid/unqlite/setup.py", line 28, in run
        wrapper])
      File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['python', 'ctypesgen/ctypesgen.py', 'unqlite/src/unqlite.h', '-L', './', '-l', 'unqlite', '-o', '/tmp/pip-build-9CQUid/unqlite/unqlite/_unqlite.py']' returned non-zero exit status 1

    ----------------------------------------
Command "/usr/bin/python2 -c "import setuptools, tokenize;__file__='/tmp/pip-build-9CQUid/unqlite/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-OqrrYB-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-9CQUid/unqlite

from unqlite-python.

vivekk1010 avatar vivekk1010 commented on June 12, 2024

hi, anyone got resolution.

from unqlite-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.