Closed mw66 closed 3 years ago
Never mind. I found the problem, it's caused by:
when I first time build the autowrap library via dub, the system default python is symlink-ed to python2, and then I change the symlink to python3, but the dub is still using the ~/.dub/packages/autowrap-0.6.3/autowrap/pynih/source/python/raw.d
generated by dpp on python2 from the 1st time build. Thus causing the confusing error message.
I'm trying to use pynih, with a simple dub.sdl:
but it errors out:
I'm wondering why it pick up Python2 by default? or what config (env var) needed for force pynih use Python3?