[issue34809] On MacOSX with 3.7 python getting "Symbol not found: _PyString_AsString"

2018-09-26 Thread Zachary Ware


Change by Zachary Ware :


--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type: crash -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34809] On MacOSX with 3.7 python getting "Symbol not found: _PyString_AsString"

2018-09-26 Thread Ruslan Kharitonov


Ruslan Kharitonov  added the comment:

Yes, this was the issue. Thank you.

> On Sep 26, 2018, at 8:05 AM, Ronald Oussoren  wrote:
> 
> 
> Ronald Oussoren  added the comment:
> 
> Do you have a $PYTHONPATH in your environment?
> 
> For some reason the 3.7 install is looking in the site-packages directory for 
> the 2.7 install. This is probably configuration on your system.
> 
> --
> 
> ___
> Python tracker 
> 
> ___

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34809] On MacOSX with 3.7 python getting "Symbol not found: _PyString_AsString"

2018-09-26 Thread Ronald Oussoren


Ronald Oussoren  added the comment:

Do you have a $PYTHONPATH in your environment?

For some reason the 3.7 install is looking in the site-packages directory for 
the 2.7 install. This is probably configuration on your system.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34809] On MacOSX with 3.7 python getting "Symbol not found: _PyString_AsString"

2018-09-26 Thread Ruslan Kharitonov


Change by Ruslan Kharitonov :


--
type:  -> crash

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34809] On MacOSX with 3.7 python getting "Symbol not found: _PyString_AsString"

2018-09-26 Thread Ruslan Kharitonov

New submission from Ruslan Kharitonov :

Getting the following error on MacOSX after installing Python 3.7.0 from the 
Python download. Also, tried installing from brew.

➜  ~ python3
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from bin.test import *
>>> help(fetch_words)
Traceback (most recent call last):
  File "", line 1, in 
  File 
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/_sitebuiltins.py",
 line 102, in __call__
import pydoc
  File 
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/pydoc.py", 
line 66, in 
import platform
  File 
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/platform.py", 
line 116, in 
import sys, os, re, subprocess
  File 
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py",
 line 139, in 
import _posixsubprocess
ImportError: 
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/_posixsubprocess.so,
 2): Symbol not found: _PyString_AsString
  Referenced from: 
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/_posixsubprocess.so
  Expected in: flat namespace
 in 
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/_posixsubprocess.so

--
components: macOS
messages: 326451
nosy: ned.deily, ronaldoussoren, therk
priority: normal
severity: normal
status: open
title: On MacOSX with 3.7 python getting "Symbol not found: _PyString_AsString"
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com