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.
An efficient library providing operators on Python's nested data structures, implemented in C++.
License: MIT License
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.