Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not load libraries #56

Open
puraminy opened this issue Oct 5, 2014 · 2 comments
Open

Does not load libraries #56

puraminy opened this issue Oct 5, 2014 · 2 comments

Comments

@puraminy
Copy link

puraminy commented Oct 5, 2014

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
Copy link

ghost commented Oct 6, 2014

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
Copy link

mvrak commented Mar 12, 2018

import site
site.main()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants