compas
compas copied to clipboard
Blender installation does not work on Windows dus to inability to locate DLLs
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Context [e.g. ST3, Rhino, Blender, ...]
- Sample script
- Sample data
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Python version [e.g. 2.7]
- Python package manager [e.g. macports, pip, conda]
Additional context Add any other context about the problem here.
the following worked on my windows laptop... using the normal command line (not anaconda prompt) with admin privileges
- (this is just for convenience) add Blender
python\bin
to thePATH
- make sure there are no other Pythons on the
PATH
(where python
) -
python -m ensurepip
-
python -m pip install --upgrade pip
-
python -m pip install compas
@Licini could you try this on your machine?
this might also be related https://github.com/ContinuumIO/anaconda-issues/issues/11994
Is it really needed to include ensurepip
and --upgrade pip
? Since Blender ships with a decently updated python, isn't it irrelevant and perhaps even negative to force an update?
no, but running this now again on a fresh windows installation, i had to even modify the prefix to make sure windows doesn't keep adding stuff to the roaming profile.
cd "C:\Program Files\Blender Foundation\Blender 2.93\2.93\python"
.\bin\python.exe -m pip install compas --prefix="." --force-reinstall
Since Blender ships with a decently updated python, isn't it irrelevant and perhaps even negative to force an update?
+1
@gonzalocasas lets keep weeding the tracker ;)
see https://compas.dev/compas/latest/userguide/cad.blender.html