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
Windows doc installation update is needed for Python 3, Anaconda and VTK support #1248
Comments
Compilation advice for Windows over at http://matthew-brett.github.io/pydagogue/python_msvc.html gives a summary of MSVC and Python versions. |
Yes, I saw that. Good job. |
@Garyfallidis: How did you get `MSC_VER` in the Python command line? Is it
in `os.environ`?
Could you please add these details to the documentation, as long as it's
all fresh in your memory?
…On Fri, May 19, 2017 at 6:56 PM, Eleftherios Garyfallidis < ***@***.***> wrote:
Yes, I saw that. Good job.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1248 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAHPNphCm0rCBPy0UsYiyPcnO78C8TULks5r7khqgaJpZM4NhFaE>
.
|
Just call python or ipython the MSC version is always shown. The real difficulty to figure this out for my case was not find the compiler version the difficulty was that a) they were websites saying that you can compile using later Visual Studio versions and b) that if you have other versions of visual studio and the current version the error messages were coming out very messy. We had two windows computers both with Visual Studio 2017 and Visual Studio Build tools 2015 and they both had different behaviors. Yes, of course we need an installation update that is why I started this issue to gather my thoughts, see what the others say and put them up. |
@Garyfallidis there are also two other older issues: that all seem to be related directly or not to this. Should we close some of them / update them? |
To successfully install dipy in windows 10 with Python 3.6 I had to:
Find which is the correct Visual C++ compiler for Python 3.6.
Cython needs the exact compiler which was used to create CPython for the specific version of Python.
When you run python in a terminal you can get the MSC_VER and then find the relevant compiler using this list
In my case it was MSC_VER=1900 so I installed visual build tools 2015. See more info about that here:
https://wiki.python.org/moin/WindowsCompilers
http://landinghub.visualstudio.com/visual-cpp-build-tools
For vtk 7.1.0 conda-forge or conda do not have vtk 7.1.0 for Python 3. However clinicalgraphics provide a working version.
conda install -c clinicalgraphics vtk=7.1.0
The text was updated successfully, but these errors were encountered: