Python extensions complain about PYTHONPATH
When I try to run extensions or importers that require Python, I always get a dialog saying:
Your PYTHONPATH points to a site-packages dir for Python 3.x but you are running Python 2.x!
PYTHONPATH is currently: "/Applications/
You should `unset PYTHONPATH` to fix this.
However, my PYTHONPATH is being set in the Inkscape launcher file.
When I run Inkscape from the command line with DEBUG set, I see this output:
+ export VERSIONER_
+ VERSIONER_
+ '[' x86_64 = i386 ']'
+ export VERSIONER_
+ VERSIONER_
++ python -V
++ cut -c 8-10
+ PYTHON_VERS=2.7
+ export PYTHONPATH=
+ PYTHONPATH=
I've tried this both with versions
"Inkscape 0.91+devel+osxmenu r12922, built Jun 16 2015, 09:24:00"
and
"Inkscape 0.91 r13725"
I'm running os Mac OS/X 10.12.6; both versions of Inkscape have been working fine for quite a while, and I haven't changed them recently.
PYTHONPATH isn't set in my shell or at the system level.
There is no executable called 'python' other than the system Python 2.7 in /usr/bin .
I do have both Python2.7.14 and Python3.6.4 installed via Homebrew, but its executable is called '/usr/local/
How can I fix this?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Inkscape Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ned Konz
- Solved:
- Last query:
- Last reply: