这是indexloc提供的服务,不要输入任何密码
Skip to content

Ubuntu 20.04 installation issues #33

@LeonhardFS

Description

@LeonhardFS

Hello :)

Instead of opening a new issue I thought I would piggyback onto this one since it's very related. (Do let me know if you'd rather have me open a new one and I will do so.)

I'm following the Ubuntu 20.04 build options specified in the readme and I can't get past the python3 setup.py install step (I'm using Python 3.8). The error I get is the following:

    ERROR: Command errored out with exit status 1:
     command: /home/gorka/dev/tuplex/venv38/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/gorka/dev/tuplex/setup.py'"'"'; __file__='"'"'/home/gorka/dev/tuplex/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps
         cwd: /home/gorka/dev/tuplex/
    Complete output (62 lines):
    running develop
    running egg_info
    writing tuplex/python/tuplex.egg-info/PKG-INFO
    writing dependency_links to tuplex/python/tuplex.egg-info/dependency_links.txt
    writing requirements to tuplex/python/tuplex.egg-info/requires.txt
    writing top-level names to tuplex/python/tuplex.egg-info/top_level.txt
    reading manifest file 'tuplex/python/tuplex.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*' under directory 'tuplex/libexec'
    warning: no files found matching '*' under directory 'tuplex/tuplex/libexec'
    warning: no files found matching '*.so'
    warning: no files found matching '*.dll'
    adding license file 'LICENSE'
    writing manifest file 'tuplex/python/tuplex.egg-info/SOURCES.txt'
    running build_ext
    -- Building dev version
    CMake Error at CMakeLists.txt:9 (project):
      Running
    
       '/tmp/pip-build-env-8hwvbpaz/overlay/bin/ninja' '--version'
    
      failed with:
    
       No such file or directory
    
    
    -- Configuring incomplete, errors occurred!
    See also "/home/gorka/dev/tuplex/build/temp.linux-x86_64-3.8/CMakeFiles/CMakeOutput.log".
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/gorka/dev/tuplex/setup.py", line 308, in <module>
        setup(name="tuplex",
      File "/tmp/pip-build-env-wpou7eah/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-build-env-wpou7eah/overlay/lib/python3.8/site-packages/setuptools/command/develop.py", line 34, in run
        self.install_for_development()
      File "/tmp/pip-build-env-wpou7eah/overlay/lib/python3.8/site-packages/setuptools/command/develop.py", line 114, in install_for_development
        self.run_command('build_ext')
      File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-build-env-wpou7eah/overlay/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
        _build_ext.run(self)
      File "/usr/lib/python3.8/distutils/command/build_ext.py", line 340, in run
        self.build_extensions()
      File "/usr/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
        self._build_extensions_serial()
      File "/usr/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
        self.build_extension(ext)
      File "/home/gorka/dev/tuplex/setup.py", line 205, in build_extension
        subprocess.check_call(
      File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['cmake', '/home/gorka/dev/tuplex/tuplex', '-DPYTHON_EXECUTABLE=/home/gorka/dev/tuplex/venv38/bin/python', '-DCMAKE_BUILD_TYPE=Release', '-DPYTHON3_VERSION=3.8', '-GNinja']' returned non-zero exit status 1.
    configuring cmake with: cmake /home/gorka/dev/tuplex/tuplex -DPYTHON_EXECUTABLE=/home/gorka/dev/tuplex/venv38/bin/python -DCMAKE_BUILD_TYPE=Release -DPYTHON3_VERSION=3.8 -GNinja
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/gorka/dev/tuplex/venv38/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/gorka/dev/tuplex/setup.py'"'"'; __file__='"'"'/home/gorka/dev/tuplex/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.

CMakeFiles/CMakeOutput.log contains the following:

The system is: Linux - 5.4.0-89-generic - x86_64

Thank you in advance.

Cheers,
Gorka.

Originally posted by @gorkaerana in #8 (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