Coder Social home page Coder Social logo

Comments (3)

smusman avatar smusman commented on June 12, 2024

C:\Users\usman\Desktop\concave-hull-master\concave-hull-master>pip install . Processing c:\users\usman\desktop\concave-hull-master\concave-hull-master Requirement already satisfied: pybind11>=2.2 in c:\users\usman\appdata\local\programs\python\python37-32\lib\site-packages (from concave-hull==1.0.0) (2.2.4) Installing collected packages: concave-hull Running setup.py install for concave-hull ... error ERROR: Complete output from command 'c:\users\usman\appdata\local\programs\python\python37-32\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\usman\\AppData\\Local\\Temp\\pip-req-build-4gnpjegs\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\usman\AppData\Local\Temp\pip-record-z1947tzu\install-record.txt' --single-version-externally-managed --compile: ERROR: running install running build running build_ext building 'concave_hull' extension creating build creating build\temp.win32-3.7 creating build\temp.win32-3.7\Release creating build\temp.win32-3.7\Release\src C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.21.27702\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -Ic:\users\usman\appdata\local\programs\python\python37-32\Include -IC:\Users\usman\AppData\Roaming\Python\Python37\Include -Ipath/to/flann/dir\include -Ic:\users\usman\appdata\local\programs\python\python37-32\include -Ic:\users\usman\appdata\local\programs\python\python37-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tpsrc/main.cpp /Fobuild\temp.win32-3.7\Release\src/main.obj /EHsc /DVERSION_INFO=\"1.0.0\" main.cpp src/main.cpp(15): fatal error C1083: Cannot open include file: 'flann/flann.hpp': No such file or directory error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.21.27702\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2 ---------------------------------------- ERROR: Command "'c:\users\usman\appdata\local\programs\python\python37-32\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\usman\\AppData\\Local\\Temp\\pip-req-build-4gnpjegs\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\usman\AppData\Local\Temp\pip-record-z1947tzu\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:\Users\usman\AppData\Local\Temp\pip-req-build-4gnpjegs\
This is my error

from concave-hull.

chrislcs avatar chrislcs commented on June 12, 2024

Cannot open include file: 'flann/flann.hpp': No such file or directory error: command

Seems flann is not installed correctly or not set in the environment variables. Before doing pip install . make sure you set the flann directory in the environment variables either via the control panel or via the command set FLANN_DIR=path/to/flann/dir (note that using the set command only sets the variable for that session in the command prompt.)

from concave-hull.

smusman avatar smusman commented on June 12, 2024

Got it done on Ubuntu. Still no clue why I wasn't able to do it on windows.

from concave-hull.

Related Issues (5)

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.