GithubHelp home page GithubHelp logo

horizonrobotics / cnest Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 28 KB

An efficient library providing operators on Python's nested data structures, implemented in C++.

License: MIT License

Python 43.22% C++ 51.05% Nix 5.73%

cnest's Introduction

cnest

An efficient library providing operators on Python's nested data structures. It includes C++ implementation of several key nest functions that are performance critical.

This library is developed by Haonan Yu and alf contributors.

cnest's People

Contributors

breakds avatar hnyu avatar

Watchers

 avatar Lisen Mu avatar  avatar  avatar

cnest's Issues

Failed install on python3.6

Hi there.

I installed a vanilla python3.6.9 environment on ubuntu18.04 docker, and tried to install it manually:

(py36) root@46ec1bda927c:~/cnest# pip install -e .
Obtaining file:///root/cnest
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting pybind11<3.0.0,>=2.6.2
  Using cached pybind11-2.9.2-py2.py3-none-any.whl (213 kB)
Building wheels for collected packages: cnest
  Building editable for cnest (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: /opt/conda/envs/py36/bin/python /opt/conda/envs/py36/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_editable /tmp/tmpmh6dre38
       cwd: /root/cnest
  Complete output (25 lines):
  A setup.py file already exists. Using it.
  Traceback (most recent call last):
    File "/root/cnest/setup.py", line 2, in <module>
      from setuptools import setup
  ModuleNotFoundError: No module named 'setuptools'
  Traceback (most recent call last):
    File "/opt/conda/envs/py36/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
      main()
    File "/opt/conda/envs/py36/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/opt/conda/envs/py36/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 283, in build_editable
      return hook(wheel_directory, config_settings, metadata_directory)
    File "/tmp/pip-build-env-jdib3oqq/overlay/lib/python3.6/site-packages/poetry/core/masonry/api.py", line 87, in build_editable
      return unicode(WheelBuilder.make_in(poetry, Path(wheel_directory), editable=True))
    File "/tmp/pip-build-env-jdib3oqq/overlay/lib/python3.6/site-packages/poetry/core/masonry/builders/wheel.py", line 78, in make_in
      wb.build()
    File "/tmp/pip-build-env-jdib3oqq/overlay/lib/python3.6/site-packages/poetry/core/masonry/builders/wheel.py", line 112, in build
      self._build(zip_file)
    File "/tmp/pip-build-env-jdib3oqq/overlay/lib/python3.6/site-packages/poetry/core/masonry/builders/wheel.py", line 162, in _build
      self._run_build_command(setup)
    File "/tmp/pip-build-env-jdib3oqq/overlay/lib/python3.6/site-packages/poetry/core/masonry/builders/wheel.py", line 196, in _run_build_command
      str(self._path / "build"),
    File "/opt/conda/envs/py36/lib/python3.6/subprocess.py", line 311, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['/opt/conda/envs/py36/bin/python', '/root/cnest/setup.py', 'build', '-b', '/root/cnest/build']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building editable for cnest
Failed to build cnest
ERROR: Could not build wheels for cnest, which is required to install pyproject.toml-based projects

It says that setuptools is not installed, but I have it installed for sure.

(py36) root@46ec1bda927c:~/cnest# pip uninstall setuptools
Found existing installation: setuptools 59.6.0
Uninstalling setuptools-59.6.0:
  Would remove:
    /opt/conda/envs/py36/lib/python3.6/site-packages/_distutils_hack/*
    /opt/conda/envs/py36/lib/python3.6/site-packages/distutils-precedence.pth
    /opt/conda/envs/py36/lib/python3.6/site-packages/pkg_resources/*
    /opt/conda/envs/py36/lib/python3.6/site-packages/setuptools-59.6.0.dist-info/*
    /opt/conda/envs/py36/lib/python3.6/site-packages/setuptools/*
Proceed (Y/n)?

I wonder if you ever met this problem or what might be the reason for this?

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.