noamraph / dreampie

DreamPie - The Python shell you've always dreamed about!
www.dreampie.org
GNU General Public License v3.0
235 stars 53 forks source link

Does not load libraries #56

Open puraminy opened 10 years ago

puraminy commented 10 years ago

While the python I installed loads some libraries through import command, the same command doesn't work on dream pie for example 'import nltk' results

Traceback (most recent call last): File "<pyshell#0>", line 1, in import nltk ImportError: No module named 'nltk'

While the nltk has been installed

ghost commented 10 years ago

edit: apparently fixed in #48


same here

DreamPie version: 1.2.1
git commit: None from 2014/10/07
platform: Windows-post2008Server-6.2.9200
architecture: ('32bit', 'WindowsPE')
python_version: 2.7.3
python_implementation: CPython
executable: C:\Program Files (x86)\DreamPie\dreampie.exe
subprocess executable: C:\Python34\python.exe
subprocess description: Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:45:13) [MSC v.1600 64 bit (AMD64)] on win32

from DP

>>> sys.path
['',
 'C:\\Program Files (x86)\\DreamPie\\data',
 'C:\\WINDOWS\\SYSTEM32\\python34.zip',
 'C:\\Python34\\DLLs',
 'C:\\Python34\\lib',
 'C:\\Python34']

from plain interpreter

>>> pprint.pprint(sys.path)
['',
 'C:\\Python34\\lib\\site-packages\\builtinext-0.2.0-py3.4.egg',
 'C:\\Python34\\lib\\site-packages\\steamapi-0.1-py3.4.egg',
 'C:\\WINDOWS\\SYSTEM32\\python34.zip',
 'C:\\Python34\\DLLs',
 'C:\\Python34\\lib',
 'C:\\Python34',
 'C:\\Python34\\lib\\site-packages']
mvrak commented 6 years ago

import site site.main()