-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install pyembree
on Windows without Conda
#468
Comments
@akaszynski I think part of my problem might be that I'm trying to use Embree 3. Am I right? Does |
Main issue seems to be python isn't able to figure out where msbuild is. Surprising that it's not able to find it considering how you've made it available in your path. What about trying without activating the developer command prompt? |
Agreed. Let me try that. I also downgraded Embree from v3 to v2.17.7. |
@akaszynski Unfortunately, I have the same problem. From within a regular Command Prompt in my virtual environment, I ran
and I still get that it can't find
However (it's been a while), if I run
I can't recall if |
@akaszynski Oh, I should also add that I've installed |
@akaszynski I added
However, I still get the same error:
|
@akaszynski I'm beginning to suspect that I must actually install Have you built this on Windows before? |
I've never build pyembree on Windows. I'm a 90% linux developer and have always run into issues compiling anything other than "hello world" on windows. You may want to checkout this SO question as well |
@akaszynski Thank you! Yes, agreed. I am a Linux developer at home and a Windows developer at work out of necessity. I too have pretty much never been able to get Windows to compile anything well ever, haha! |
Adding this SO link as well. Will report back with results shortly... |
@akaszynski I was able to do it. I needed to install Visual Studio 2015 and the Windows 10 SDK and add their
The output becomes (replacing my username and project path for security purposes):
|
@akaszynski Should we add install instructions to |
Install instructions would be really helpful. If you can, add it to our optional features guide at: https://github.com/pyvista/pyvista/blob/main/doc/user-guide/optional_features.rst I think they would be interested in creating a pip package. Would be much easier than building from source. Really, they'll need to make a pipeline that does it. |
Installation InstructionsSystemOS: Windows 10 x64, Build 1909 Steps
If all goes according to plan,
|
@akaszynski I will try to do a PR as soon as I'm able. One thing for me though is that my code seems to run slower. It works, but I'm not sure why it's so much slower. Does |
If you forget to, I'll add it.
Depends on how they build it. It's possible they enable O3 or OpenMP by default. |
@akaszynski Two questions:
|
@akaszynski FYI, I'd wait to make a PR with install instructions. The build of |
@akaszynski Okay, I digged a little deeper into the speed issue. I installed
Any idea how I can build with those as well? |
I'm not sure, but if you check the conda recipe for |
@akaszynski I think I see what's going on: your suspicions were correct. I'm running through the documentation right now to figure out how to build |
Good point. Didn't consider that. That's the nice thing about using conda, is that they can package this holistically. |
@akaszynski Correct, agreed. Conda takes out the work of figuring out how to install such packages and their dependencies for heavy-lifting scientific applications. |
@akaszynski I'm nearly there. I'm trying to build this with
I think |
It's absolutely due to the dlls, but as for which one, it's a mystery since symbol names tend to change with release and build toolset. |
@akaszynski Well that's promising to know that that's indeed the problem. FYI, I think the pressure is going to be on for us (or more appropriately me) to get a working port of |
@akaszynski Let me provide you my updated steps to-date: Installation InstructionsSystemTested on: OS: Windows 10 x64 Professional, Build 1909 Steps
choco install ninja
C:
mkdir vcpkg
cd C:\\vcpkg
git clone https://github.com/Microsoft/vcpkg.git
bootstrap-vcpkg.bat
vcpkg integrate install
vcpkg install embree2:x64-windows
py -m pip install numpy cython cmake ninja scikit-build wheel setuptools pyvista pykdtree
git clone https://github.com/scopatz/pyembree.git
cmake_minimum_required(VERSION 3.21.0)
project(pyembree
VERSION 0.1.6
LANGUAGES CXX
)
set(CMAKE_CXX_COMPILER "g++")
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD_REQUIRED True)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
endif()
set(CMAKE_TOOLCHAIN_FILE "C:/vcpkg/scripts/buildsystems/vcpkg.cmake")
find_package(PythonExtensions REQUIRED)
find_package(Cython REQUIRED)
find_package(embree 2 CONFIG REQUIRED)
add_subdirectory(${PROJECT_NAME})
add_cython_target(mesh_construction.pyx CXX)
add_cython_target(rtcore_scene.pyx CXX)
add_cython_target(rtcore.pyx CXX)
add_cython_target(triangles.pyx CXX)
add_library(${PROJECT_NAME} STATIC ${mesh_constructions} ${rtcore_scene} ${rtcore} ${triangles})
target_sources(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories(${PROJECT_NAME}
PUBLIC "<system python path>/include"
PUBLIC "C:/vcpkg/installed/x64-windows/include/embree2"
PUBLIC "<virtual environment folder>/Lib/site-packages/numpy/core/include"
)
target_link_directories(${PROJECT_NAME}
PUBLIC "<system python path>/libs"
PUBLIC "C:/vcpkg/installed/x64-windows/lib"
PUBLIC "C:/vcpkg/installed/x64-windows/bin"
PUBLIC "<virtual environment folder>/Lib/site-packages/numpy/core/lib"
)
target_link_libraries(${PROJECT_NAME}
embree
)
python_extension_module(${PROJECT_NAME})
install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION lib) replacing
from setuptools import find_packages
from skbuild import setup
import numpy as np
from Cython.Build import cythonize
include_path = [np.get_include()]
ext_modules = cythonize('pyembree/*.pyx', language_level=3, include_path=include_path)
for ext in ext_modules:
ext.include_dirs = include_path
ext.libraries = ["embree"]
setup(
name="pyembree",
version='0.1.6',
ext_modules=ext_modules,
zip_safe=False,
packages=find_packages(),
include_package_data=True
)
# distutils: language=c++
py -m pip install rtree trimesh |
@akaszynski I am still very new to CMake, so if you can get the equivalent of the above CMake recipes to work for Linux, that would be a step in the right direction. I'm also very new to |
Currently, running py setup.py build yields the following output --------------------------------------------------------------------------------
-- Trying "Ninja (Visual Studio 15 2017 Win64 v141)" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/usr/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is GNU 10.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/usr/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Project/.venv/Lib/site-packages/pyembree/_cmake_test_compile/build
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Ninja (Visual Studio 15 2017 Win64 v141)" generator - success
--------------------------------------------------------------------------------
Configuring Project
Working directory:
C:\Project\.venv\lib\site-packages\pyembree\_skbuild\win-amd64-3.8\cmake-build
Command:
cmake 'C:\Project\.venv\lib\site-packages\pyembree' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Project\.venv\lib\site-packages\pyembree\_skbuild\win-amd64-3.8\cmake-install' '-DPYTHON_EXECUTABLE:FILEPATH=C:\Project\.venv\Scripts\python.exe' -DPYTHON_VERSION_STRING:STRING=3.8.5 '-DPYTHON_INCLUDE_DIR:PATH=C:\Program Files\Python38\Include' '-DPYTHON_LIBRARY:FILEPATH=C:\Program Files\Python38\libs\python38.lib' -DSKBUILD:BOOL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Project\.venv\lib\site-packages\skbuild\resources\cmake' -DCMAKE_BUILD_TYPE:STRING=Release
-- The CXX compiler identification is GNU 10.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/usr/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/Project/.venv/Scripts/python.exe (found version "3.8.5")
-- Found PythonLibs: optimized;C:/Program Files/Python38/libs/python38.lib;debug;C:/Program Files/Python38/libs/python38_d.lib (found version "3.8.5")
-- Found Cython: C:/Project/.venv/Scripts/cython.exe
-- Found PythonLibs: optimized;optimized;optimized;C:/Program Files/Python38/libs/python38.lib;optimized;debug;optimized;C:/Program Files/Python38/libs/python38_d.lib;debug;C:/Program Files/Python38/libs/python38_d.lib (found version "3.8.5")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
SKBUILD
-- Build files have been written to: C:/Project/.venv/Lib/site-packages/pyembree/_skbuild/win-amd64-3.8/cmake-build
[1/5] Building CXX object pyembree/CMakeFiles/pyembree.dir/rtcore_scene.cxx.obj
FAILED: pyembree/CMakeFiles/pyembree.dir/rtcore_scene.cxx.obj
C:\msys64\usr\bin\c++.exe -I"C:/Program Files/Python38/include" -IC:/vcpkg/installed/x64-windows/include/embree2 -IC:/vcpkg/installed/x64-windows/include/tbb -IC:/Project/.venv/Lib/site-packages/numpy/core/include -I"C:/Program Files/Python38/Include" -O3 -DNDEBUG -std=c++17 -MD -MT pyembree/CMakeFiles/pyembree.dir/rtcore_scene.cxx.obj -MF pyembree\CMakeFiles\pyembree.dir\rtcore_scene.cxx.obj.d -o pyembree/CMakeFiles/pyembree.dir/rtcore_scene.cxx.obj -c C:/Project/.venv/Lib/site-packages/pyembree/_skbuild/win-amd64-3.8/cmake-build/pyembree/rtcore_scene.cxx
In file included from C:/Project/.venv/Lib/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
from C:/Project/.venv/Lib/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from C:/Project/.venv/Lib/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from C:/Project/.venv/Lib/site-packages/pyembree/_skbuild/win-amd64-3.8/cmake-build/pyembree/rtcore_scene.cxx:634:
C:/Project/.venv/Lib/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
C:/Project/.venv/Lib/site-packages/pyembree/_skbuild/win-amd64-3.8/cmake-build/pyembree/rtcore_scene.cxx:642:10: fatal error: embree2/rtcore.h: No such file or directory
642 | #include "embree2/rtcore.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
[2/5] Building CXX object pyembree/CMakeFiles/pyembree.dir/rtcore.cxx.obj
FAILED: pyembree/CMakeFiles/pyembree.dir/rtcore.cxx.obj
C:\msys64\usr\bin\c++.exe -I"C:/Program Files/Python38/include" -IC:/vcpkg/installed/x64-windows/include/embree2 -IC:/vcpkg/installed/x64-windows/include/tbb -IC:/Project/.venv/Lib/site-packages/numpy/core/include -I"C:/Program Files/Python38/Include" -O3 -DNDEBUG -std=c++17 -MD -MT pyembree/CMakeFiles/pyembree.dir/rtcore.cxx.obj -MF pyembree\CMakeFiles\pyembree.dir\rtcore.cxx.obj.d -o pyembree/CMakeFiles/pyembree.dir/rtcore.cxx.obj -c C:/Project/.venv/Lib/site-packages/pyembree/_skbuild/win-amd64-3.8/cmake-build/pyembree/rtcore.cxx
In file included from C:/Project/.venv/Lib/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
from C:/Project/.venv/Lib/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from C:/Project/.venv/Lib/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from C:/Project/.venv/Lib/site-packages/pyembree/_skbuild/win-amd64-3.8/cmake-build/pyembree/rtcore.cxx:634:
C:/Project/.venv/Lib/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
C:/Project/.venv/Lib/site-packages/pyembree/_skbuild/win-amd64-3.8/cmake-build/pyembree/rtcore.cxx:642:10: fatal error: embree2/rtcore.h: No such file or directory
642 | #include "embree2/rtcore.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
[3/5] Building CXX object pyembree/CMakeFiles/pyembree.dir/triangles.cxx.obj
FAILED: pyembree/CMakeFiles/pyembree.dir/triangles.cxx.obj
C:\msys64\usr\bin\c++.exe -I"C:/Program Files/Python38/include" -IC:/vcpkg/installed/x64-windows/include/embree2 -IC:/vcpkg/installed/x64-windows/include/tbb -IC:/Project/.venv/Lib/site-packages/numpy/core/include -I"C:/Program Files/Python38/Include" -O3 -DNDEBUG -std=c++17 -MD -MT pyembree/CMakeFiles/pyembree.dir/triangles.cxx.obj -MF pyembree\CMakeFiles\pyembree.dir\triangles.cxx.obj.d -o pyembree/CMakeFiles/pyembree.dir/triangles.cxx.obj -c C:/Project/.venv/Lib/site-packages/pyembree/_skbuild/win-amd64-3.8/cmake-build/pyembree/triangles.cxx
In file included from C:/Project/.venv/Lib/site-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
from C:/Project/.venv/Lib/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from C:/Project/.venv/Lib/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from C:/Project/.venv/Lib/site-packages/pyembree/_skbuild/win-amd64-3.8/cmake-build/pyembree/triangles.cxx:634:
C:/Project/.venv/Lib/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
C:/Project/.venv/Lib/site-packages/pyembree/_skbuild/win-amd64-3.8/cmake-build/pyembree/triangles.cxx:642:10: fatal error: embree2/rtcore.h: No such file or directory
642 | #include "embree2/rtcore.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "C:\Project\.venv\lib\site-packages\skbuild\setuptools_wrap.py", line 589, in setup
cmkr.make(make_args, env=env)
File "C:\Project\.venv\lib\site-packages\skbuild\cmaker.py", line 496, in make
raise SKBuildError(
An error occurred while building with CMake.
Command:
cmake --build . --target install --config Release --
Source directory:
C:\Project\.venv\lib\site-packages\pyembree
Working directory:
C:\Project\.venv\lib\site-packages\pyembree\_skbuild\win-amd64-3.8\cmake-build
Please see CMake's output for more information. I need Have I written it incorrectly? |
@akaszynski I am also reaching out for further help on StackOverflow here. |
Looks like cmake can't find the embree headers. Sadly, I'm not enough of an expert with cmake to be of help here. |
@akaszynski I updated a bit more on the SO question. Now I'm stuck at a linker error. |
@akaszynski Also seeing if I can post question on scikit-build |
@akaszynski I solved the problem. I needed to manually copy and paste the Installation InstructionsTested on:OS: Windows 10 x64 Professional, Build 1909 Steps
cd C:\vcpkg
git clone https://github.com/Microsoft/vcpkg.git
bootstrap-vcpkg.bat
vcpkg integrate install Alternatively, you can download and install the embree-2.17.7.x64.msi Installer on Embree's GitHub page (to learn more about Embree, visit their website).
vcpkg install embree2:x64-windows
py -m pip install numpy cython wheel setuptools pyvista pykdtree rtree trimesh
git clone https://github.com/scopatz/pyembree.git and remove the underlying
import os
from setuptools import find_packages, setup
import numpy as np
from Cython.Build import cythonize
from Cython.Distutils import build_ext
include_path = [
np.get_include(),
]
ext_modules = cythonize("pyembree/*.pyx", language_level=3, include_path=include_path)
for ext in ext_modules:
ext.include_dirs = include_path
ext.libraries = [
"pyembree/embree2/lib/embree",
"pyembree/embree2/lib/tbb",
"pyembree/embree2/lib/tbbmalloc",
]
setup(
name="pyembree",
version="0.1.6",
cmdclass={"build_ext": build_ext},
ext_modules=ext_modules,
zip_safe=False,
packages=find_packages(),
include_package_data=True,
package_data={"pyembree": ["*.cpp", "*.dll"]},
)
and dynamic libraries
# distutils: language=c++ and change every relative import of an cimport rtcore as rtc to cimport pyembree.rtcore as rtc
>>> import pyembree
>>> from pyembree import rtcore_scene
>>> If you get no errors, then
The
import numpy as np
from pykdtree.kdtree import KDTree
import pyvista as pv
from pyvista import examples
# Load data
data = examples.load_random_hills()
data.translate((10, 10, 10))
# Create triangular plane (vertices [10, 0, 0], [0, 10, 0], [0, 0, 10])
size = 10
vertices = np.array([[size, 0, 0], [0, size, 0], [0, 0, size]])
face = np.array([3, 0, 1, 2])
planes = pv.PolyData(vertices, face)
# Subdivide plane so we have multiple points to project to
planes = planes.subdivide(8)
# Get origins and normals
origins = planes.cell_centers().points
normals = planes.compute_normals(cell_normals=True, point_normals=False)["Normals"]
# Vectorized Ray trace
points, pt_inds, cell_inds = data.multi_ray_trace(
origins, normals
) # Must have rtree, trimesh, and pyembree installed
# Filter based on distance threshold, if desired (mimics VTK ray_trace behavior)
# threshold = 10 # Some threshold distance
# distances = np.linalg.norm(origins[inds] - points, ord=2, axis=1)
# inds = inds[distances <= threshold]
tree = KDTree(data.points.astype(np.double))
_, data_inds = tree.query(points)
elevations = data.point_arrays["Elevation"][data_inds]
# Mask points on planes
planes.cell_arrays["Elevation"] = np.zeros((planes.n_cells,))
planes.cell_arrays["Elevation"][pt_inds] = elevations
planes.set_active_scalars("Elevation") # Probably not necessary, but just in case
# Create axes
axis_length = 20
tip_length = 0.25 / axis_length * 3
tip_radius = 0.1 / axis_length * 3
shaft_radius = 0.05 / axis_length * 3
x_axis = pv.Arrow(
direction=(axis_length, 0, 0),
tip_length=tip_length,
tip_radius=tip_radius,
shaft_radius=shaft_radius,
scale="auto",
)
y_axis = pv.Arrow(
direction=(0, axis_length, 0),
tip_length=tip_length,
tip_radius=tip_radius,
shaft_radius=shaft_radius,
scale="auto",
)
z_axis = pv.Arrow(
direction=(0, 0, axis_length),
tip_length=tip_length,
tip_radius=tip_radius,
shaft_radius=shaft_radius,
scale="auto",
)
x_label = pv.PolyData([axis_length, 0, 0])
y_label = pv.PolyData([0, axis_length, 0])
z_label = pv.PolyData([0, 0, axis_length])
x_label.point_arrays["label"] = [
"x",
]
y_label.point_arrays["label"] = [
"y",
]
z_label.point_arrays["label"] = [
"z",
]
# Plot results
p = pv.Plotter()
p.add_mesh(x_axis, color="r")
p.add_point_labels(x_label, "label", show_points=False, font_size=24)
p.add_mesh(y_axis, color="r")
p.add_point_labels(y_label, "label", show_points=False, font_size=24)
p.add_mesh(z_axis, color="r")
p.add_point_labels(z_label, "label", show_points=False, font_size=24)
p.add_mesh(data)
p.add_mesh(planes)
p.show() |
Closing as the solution has been found. 🥇 |
This will be super helpful for anyone wanting to install pyembree outside of conda. Thanks for posting this, and I'll upload these docs to our extras section. |
@akaszynski Thank you very much! I went through the steps again to make sure I had documented everything correctly. I made some minor changes (e.g. I forgot to include that the |
@akaszynski One last thing: The "Project to Finite Plane" demo, though on the GitHub docs, doesn't show up on the |
It's here on the development docs: We're still working on the next release, should be relatively soon. |
Excellent! Thanks @akaszynski ! |
@akaszynski As a recommendation, would you be able to test this install process for Mac/Linux? I do not have a Mac, so I wouldn't be able to confirm. However, I believe if you replace It would be nice if it worked for all users, not just those on Windows. |
@adamgranthendry Hello! I am following your step-by-step instructions to install pyembree without conda. Just a precursor, I am fairly new to programming, so I am following the instructions to the dot. Currently, I am stuck at step number 12.
I am getting
I am not sure where I went wrong. I don't know if this is relevant, there are a couple of things I am not sure about.
Apart from that my folder structure looks exactly like you showed in the instructions. Could you please help me figure this out? Thank you very much! |
@Vysakh5391 Glad to hear you're trying it out!
that should solve your problem.
Please reply back and let me know you got it working! |
@adam-grant-hendry Thank you so much for responding and confirming this! I was able to install it without any errors. The code in https://docs.pyvista.org/user-guide/optional_features.html#vectorised-ray-tracing seems to be working fine for me. I was even able to run the Surprisingly, the 'https://dev.pyvista.org/user-guide/optional_features.html#project-to-finite-plane' is taking more than the 1-2 seconds as you mentioned in the instructions. I saw there was a mention of generating an installation of Thanks! |
@Vysakh5391
If it works, then the code may be slower than 1-2 seconds depending on how powerful your hardware is, but it will be much faster than the non-pyembree code.
|
Sure, I will make a feature request on the Github page. Just to be clear, I am not getting any errors when I run the two commands from step 13. Does that mean my I am using a workstation with 64 GB RAM on Intel Xeon Processor. For 6 million points on a STL file, the ray tracing is taking around 7.5 minutes. Not that it is bad, but do you think that is ok? I am afraid if I have made any error installing Could you please let me know? Thank you very much! |
@Vysakh5391 I'm unsure of benchmarks. The only one I have currently is for the example I wrote projecting the Hills Data to a Finite Plane. I have a similar system (192 GB RAM, dual Xeon Processors (24 cores each)). If you run step 13 and can import without getting errors, then yes, that means it is installed correctly. If you try the Hills Data example, it should only take a couple seconds on your system. Compared to with it turned off, for me, the example takes about 30 minutes. |
Surprisingly, it is taking more than 1-2 seconds even though I am not getting any errors. It has been 10 minutes and the code is still running. I believe my |
@Vysakh5391 Yes, the installation is incorrect then. The best I can tell you is to go through all the steps in order again and keep trying. |
I am trying to install
pyembree
withoutconda
(I have been successful usingconda
, but I would prefer to usepoetry
). I have placed a question here and am looking for some help. I am able to installtrimesh
andrtree
withpoetry
, but notpyembree
. I need all three libraries to use Vectorized Ray Tracing and am looking for some help here.So far, my steps have been:
System: Windows 10 x64, Build 1909, Python 3.8.10
(a) Desktop development with C++
(b) .NET desktop build tools
(c) Universal Windows Platform build tools
(d) .NET build tools
(e) Vistual Studio extension development
git clone https://github.com/scopatz/pyembree.git
vcvarsall.bat
forx64
buildsHowever, no matter what, I get the following output:
Any ideas what I'm doing wrong?
The text was updated successfully, but these errors were encountered: