Jdaviz on Windows 11 #926
duytnguyendtn
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Jdaviz on Windows 11
I figure a picture is worth a thousand words, so here ya go! Congrats to the team for developing jdaviz to maintain it's cross-platform nature!
This is running NATIVELY (no WSL) on the first public release of Windows 11, using Python 3.9.7. I tried using Python 3.10.0, but it's so new that the numpy doesn't have wheels for 3.10.0 up yet, so a lot of our dependencies couldn't build properly (see https://pythonspeed.com/articles/switch-python-3.10/).
For posterity, here's what I needed to get it running from a fresh install of Windows:
For those using this as a guide, I will make a small note about the Optional Features part of the python install. I'd highly suggest installing everything here. Of particular note, I have run into issues with jdaviz when running with Python installations without tcl/tk/tkinter
Probably the most complicated was getting the C++ Build Tools required (which mainly includes a C compiler that is normally provided in *nix systems by default). I got mine bundled in with Visual Studio: https://visualstudio.microsoft.com/downloads/. Importantly, you'll need the "Desktop Development with C++". I also installed "MSVC v140 -VS2015 C++ build tools (v14.00)", since it was the one that was called out in the python traceback, but a new one is bundled with the "Desktop Development with C++" Workload
When actually installing jdaviz, I had to run it as my System Administrator to actually get it to install. I reported it as a bug in Windows setup.py: Symlinking requires Admin Privileges #925 since I think ideally we wouldn't put that requirement on the user.
Anyways, Python on Windows is sometimes viewed as a black sheep in the family, so I thought I'd write this up and capture what I needed to get it working. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions