-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
The source directory /tmp/pip-install-xx/bpy-cuda does not appear to contain CMakeLists.txt #38
Comments
I have seen this happen before on systems that do not have a recent version of In version 3.13.5, If you have a version less than that, the command generally gives you the error you are showing. The time it takes to install is unfortunate but out of my control until I can publish What does |
yes the cmake version is 3.10. I updated i to 3.17. The thing is that cmake 3.10 is installed during pip install bpy, so it would cause the installation to fail. If I try to install newer cmake before the command, cmake would still get overwritten by the older one. anyways, I try to run it after i replace cmake, I get this error instead
|
Ah, okay. I changed the Also, it seems like your installation of If it's more convenient to you you could install from wheel here: https://drive.google.com/drive/u/0/folders/18HFAbqoPBF6ItYrwbeQB-xSEbq3VudsI python3.7 -m pip install -U pip
python3.7 -m pip install bpy_cuda-2.82-cp37-cp37m-linux_x86_64.whl && bpy_post_install |
I did a fresh install and i can find bpy_post_install, but when I try to import bpy, libraries are missing. I then try to attemtp to add one by one
then it ask for
this one seems to be from blender, I am not sure how I can get it. |
I am quite stuck now.
|
In truth I am not sure what is going on here. Maybe the Amazon Ubuntu image is different somehow from what I am using. When I
Then the import succeeds. What you are showing above is an error commonly associated with not having the What does
Tell you? Note that your current working directory should be the python root of the environment you are installing Also, you might have to ask around on the Blender Dev talk and make a build manually on your system of choice, following the wiki |
I didn't find anything with 2.81, i assume you want 2.82 root@67626b8743a3:/# find . -type d -name "2.82" -print I am doing this in docker, so I didn't use venv, but I will try. to summarize:
anyways, thanks so much for you help. I really appreciate it. really hope I can get this to work. |
looks like I managed to get this to work by copying 2.82 to site-packages, like you suggested.
are there way to resolve these 2 issues? |
There is a bit of something concerning that I noticed, when you ran the Secondly, you appear to be running the
That would normally be the place that Blender 3D the application would put the 2.82 directory, and I'm just nervous that you would be copying that instead of trying to run The full installation process in a fresh environment should look like this after downloading the
That should really be about it.
This is a known issue. I think it does mean it has a memory leak! You should check on Blender Dev talk, a place where Blender Developers get together and talk about how people use Blender and bugs, etc.
I have no idea about this one! This does not appear in my Linux machine. Maybe it's something unique to your system. Does it cause any errors when manipulating mesh data directly? |
I am doing everything in docker container, so I have root priviledge by default. But you are right, I shouldn't run everything as root. Right now it doesn't work as clean as you suggested. If I install your wheel package and do bpy_post_install, 1)directory is still not in the proper place and. 2) it is still missing a lot of .so file. I have to hunt down packages one by one using apt-install or attempt to build from source(even though building from source fails, it does create the .so files I need) and that's really how I got it to work right now. Built once from source, it fails, then install your wheel package and run bpy_post_install, and then move directory.
I only get this when export scene as gltf, which uses draco to compress mesh if option set to True. When I use blender as desktop app it doesn't have this issue. |
I think it would be interesting to see if the I don't think that That may help with the Draco issue, though I'm not sure if I have that. How are you exporting as |
@jl-DaDar If you are still interested in using this repo, I have been debugging usage inside of Docker finally and I don't know if I am just starting to go cross-eyed but it's almost starting to look feasible. I would really appreciate any insight from someone who is actually using |
Try installing the If that does not work for you, then please post what doesn't work in a new issue. Thanks. |
Describe the bug
I am trying to install this on linux ubuntu on ec2.
I am gettin g the following error
cmake -DWITH_PLAYER=OFF -DWITH_PYTHON_INSTALL=OFF -DWITH_PYTHON_MODULE=ON -DPYTHON_VERSION=3.7 -DWITH_CYCLES_CUDA_BINARIES=ON -DWITH_AUDASPACE=OFF -S/tmp/pip-install-5xcwp94i/bpy-cuda/build/temp.linux-x86_64-3.7/blender -B/tmp/pip-install-5xcwp94i/bpy-cuda/build/temp.linux-x86_64-3.7/build CMake Error: The source directory "/tmp/pip-install-5xcwp94i/bpy-cuda" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. error: command 'cmake' failed with exit status 1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I was hoping it would work
Desktop (please complete the following information):
I am trying to build this within Docker container
btw, it takes super long to install. It seems to be very slow at downloading stuff from blender git and svn
The text was updated successfully, but these errors were encountered: