Comments (3)
Did you initialize the dependencies? See instructions here
If it still does not work for you, please share the commands, system, and architecture that you used.
from hdbscan.
Yes I did it.
I did it inside a conda environment since I don't want to install all the required packages on my base environment because of compatibility issues.
Same error on two different computers, the last one Ubuntu 19.04 (x86_64)
Commands:
conda create -n hdbscan
conda activate hdbscan
conda install pip
git clone https://github.com/wangyiqiu/hdbscan.git
cd hdbscan
git submodule init
git submodule update
pip3 install -r pybindings/requirements.txt
mkdir build
cd build
cmake ..
make -j
and again the last lines of the error:
In file included from /home/nacho/anaconda3/envs/hdbscan/include/python3.11/Python.h:42,
from /home/nacho/hdbscan/external/pybind11/include/pybind11/detail/common.h:124,
from /home/nacho/hdbscan/external/pybind11/include/pybind11/pytypes.h:12,
from /home/nacho/hdbscan/external/pybind11/include/pybind11/cast.h:13,
from /home/nacho/hdbscan/external/pybind11/include/pybind11/attr.h:13,
from /home/nacho/hdbscan/external/pybind11/include/pybind11/pybind11.h:45,
from /home/nacho/hdbscan/pybindings/pyhdbscan.cpp:6:
/home/nacho/anaconda3/envs/hdbscan/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
22 | typedef struct _frame PyFrameObject;
| ^~~~~~
make[2]: *** [pybindings/CMakeFiles/pyhdbscan.dir/build.make:63: pybindings/CMakeFiles/pyhdbscan.dir/pyhdbscan.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:187: pybindings/CMakeFiles/pyhdbscan.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
from hdbscan.
from hdbscan.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hdbscan.