Hi,
I think you need to add your system site-packages dir to PYTHONPATH so
that it knows about your packages. You can use our PYTHONPATH manager
for that.
The contents of sys.path are needed so that the App can use its own
internal Python interpreter. But this should be changed appropriately
when using a different interpreter.
Please open an issue in our Issue tracker so that we don't forget to
change this behavior.
Cheers,
Carlos
El 25/10/12 11:59, basti_egger escribió:
Hi Folks,
I would like to use Spyder as Python IDE BUT I would like to use the
standard OSX python install (as all my packages are installed there).
I have changed the python intepreter in 'Preferences' - 'Console' -
Advanced Settings' - 'Path to Python interpreter' : /usr/bin/python
After restarting python the Console starts with Python 2.7.2 which is
the exactly same build as OSX (the build which was started before was
2.7.3 from the Spyder Contents directory)
I try to import e.g. import xlrd (which is installed in the OSX
python) and it tells me 'no module named xlrd'.
When I import sys and do 'print sys.path' it shows me:
['',
'/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/utils/external',
'/Users/sebastian/Dropbox/ITQ/Telecommander/utools/wxTelecommander/src',
'/Applications/Spyder.app/Contents/Resources',
'/Applications/Spyder.app/Contents/Resources/lib/python27.zip',
'/Applications/Spyder.app/Contents/Resources/lib/python2.7',
'/Applications/Spyder.app/Contents/Resources/lib/python2.7/plat-darwin',
'/Applications/Spyder.app/Contents/Resources/lib/python2.7/plat-mac',
'/Applications/Spyder.app/Contents/Resources/lib/python2.7/plat-mac/lib-scriptpackages',
'/Applications/Spyder.app/Contents/Resources/Extras/lib/python',
'/Applications/Spyder.app/Contents/Resources/lib/python2.7/lib-tk',
'/Applications/Spyder.app/Contents/Resources/lib/python2.7/lib-old',
'/Applications/Spyder.app/Contents/Resources/lib/python2.7/lib-dynload',
'/Applications/Spyder.app/Contents/Resources/lib/python2.7/site-packages.zip',
'/Applications/Spyder.app/Contents/Resources/lib/python2.7/site-packages']
--> So why the hack are there still the Spyder-Python settings set in
the path???
Is there any way to change that?
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/spyderlib/-/0wYAmo94ppcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/spyderlib?hl=en.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/spyderlib?hl=en.