Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

SciPy not found when trying to build #240

Open
AranoDimenco opened this issue Jul 8, 2020 · 2 comments
Open

SciPy not found when trying to build #240

AranoDimenco opened this issue Jul 8, 2020 · 2 comments

Comments

@AranoDimenco
Copy link

Hey Creators of Cura,

I am trying to make myself a custom build of ultimaker cura.
Mainly we want to have a special viewport using eye trackers.

It's quite a tricky and long process doing everything with cmake (not that familiar with it).
Also working on windows makes things a bit more difficult when looking for solutions online.
However, so far ive been able to progress slowly though the errors getting further each day.

today i've managed to build/install the dependencies pack that is available on the git.

Next step would be to run this cura build with cmake and compile/build it.

The problem i run into now is with SciPy.
It seems to be correctly installed on my machine (running "python -c "import scipy; print(scipy.version)"" returns 1.4.1)
now when i try to run the commands on the cura-build github page for windows i get this error:

CMake Error at C:/Program Files/CMake/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find SciPy: Found unsuitable version "", but required is at least
  "0.17" (found )

running "Python 3.5.2 :: Anaconda 4.2.0 (64-bit)"
Ive tried different versions of Cmake
it should be using VS2015 compilers (this was needed for the dependencies pack, ran the 'vcvarsall.bat' inside the VS 14.0 folder to do this)

Any tips are welcome.
Any other places i could go with these problems?

Regards,

Tom

@nallath
Copy link
Member

nallath commented Jul 8, 2020

If you want a special viewport with eye-trackers, why not just do this with a plugin? I obviously don't know what it is that you exactly want, but I assume that having an actual installer isn't a requirement (since it sounds more like a research/prototype tool kind of thing?)
With a plugin, you could just use the standard version of Cura that just adds the eyetracking that you need/want.

@Ghostkeeper
Copy link
Contributor

Which Python version did it find? Perhaps you have multiple. In CMake-GUI you can see this by reading the PYTHON_EXECUTABLE variable.

Then find if it's installed there, for example by running that Python version like you did before:

"C:\Program Files\CPython\python.exe" -c "import scipy; print(scipy.__version__)"

This is pretty much what cura-build itself does too to show that error message.

In order to install Scipy what I did is to run python3 -m pip install scipy. However since you're using Anaconda I suppose that would be a little different.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants