Comments (9)
The cmake file assumes python
is an alias to python-3. I'll fix this at some point, but currently I would suggest installing miniconda with python 3, or alias python python-3
.
from redner.
I tried installing again using conda this time and I am still getting the same error. This time the proper version is selected during the CMake configuration, but during the install_lib
installation step python 2.7 is still used to compile the byte code for mitsuba.pyc. Is there perhaps another build script that gets run when running that task and should I look into fixing the error there? I included a screenshot below:
from redner.
If you type python
in the command line, does it execute python2 or python3?
from redner.
When I am in the anaconda environment it shows as being 3.7
Python 3.7.3 (default, Mar 27 2019, 22:11:17) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information.
from redner.
The problem is at the following line
install(CODE "execute_process(COMMAND python ${CMAKE_CURRENT_SOURCE_DIR}/setup.py install
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})")
where CMake still uses python2.7 in the system to execute the setup script.
Did you include the initialization scripts added by the conda installer to your shell profile?
e.g. Do you see the following two lines in ~/.profile, ~/.bashrc, ~/.bash_profile, ...etc?
. /home/tim/src/miniconda3/etc/profile.d/conda.sh
conda activate
If so, maybe try to restart the shell or relogin.
from redner.
Thanks for the prompt responses :) Yes, I actually just tried a clean build with cloning the project and that seems to have partially fixed this issue. However, I am now not able to build the OpenEXR library, which worked fine before. I attached another screenshot with the error. Sounds like the linker is not able to deal with a certain file, but I did not change any configurations in the CMake files for that. Do you have an idea on how to fix this?
from redner.
Seems related:
MTG/sms-tools#85
pytorch/pytorch#16683 (comment)
from redner.
Hi, using the suggestion of renaming the Anaconda linker temporarily fixed things, however there is one more issue now. Should I open another issue for this?
When I now try to run the example I get the following error:
Traceback (most recent call last):
File "two_d_mesh.py", line 1, in <module> import pyredner
File "/home/tim/src/miniconda3/lib/python3.7/site-packages/pyredner/__init__.py", line 2, in <module> from .camera import *
File "/home/tim/src/miniconda3/lib/python3.7/site-packages/pyredner/camera.py", line 4, in <module> import redner
ImportError: liboptix_prime.so.6.0.0: cannot open shared object file: No such file or directory
I have double checked that the files are where they are supposed to be and that I have permissions to access the shared objects. I included a screenshot of the CMake variables I set with ccmake. Would you happen to know what could be going wrong here?
from redner.
I am closing this issue for now since the initial issue was resolved. I will open a new issue for further discussion.
from redner.
Related Issues (20)
- Inconsistent formulation of SH_reconstruct
- CUDA Runtime Error: out of memory at E:\redner\src\buffer.h:55 HOT 2
- Can redner support glasses/transparent material now?
- RTX 30 Series Compatibility HOT 14
- weird render behavior
- Windows package on PyPI is at version 0.4.25 while OSX and Linux packages are at 0.4.28
- I have intrinsic parameters in terms of fx, fy, skew, cx, cy. I tried extracting parameters from the file (param: vertices, indices, normals and colors) and creating an object, and using intrinsic parameters to set up the perspective camera. But orientation of scene in output is not lining up, can I get some guidance?
- build from source problem HOT 3
- Icosphere normals generation seems buggy
- Unable to load some obj files with pyredner.load_obj()
- Support pointLight in "render_pathtracing".
- Build for 3.9 no attribute 'CameraType' HOT 1
- How to get the z_buffer or depth information at the rendering process?
- [Question] What is AABB6 and BVHNode6 in "aabb.h" and "edge_tree.h" used for?
- Assertion `false' failed when running the test scripts. HOT 2
- How to set material and environment map obtained by inverse rendering in blender ? HOT 1
- Pip install not compatible with python 3.9? HOT 2
- Is warp-area sampling method easier to understand and implement in path space? HOT 1
- How to realize automatic differentiable in interior term?
- Edge Sampling Integrator broken in Warped Area Integrator branch?
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 redner.