if gensim is a custom package: is your path set up correctly? This can be a 
pain in Pythin imho... There's a great blog post on that by Chris Yeh: 
https://chrisyeh96.github.io/2017/08/08/definitive-guide-python-imports.html



Am March 21, 2019 8:01:18 PM UTC schrieb John kane <[email protected]>:
>output in spyder after importing scipy, numpy, matplotlib, pandas, 
>statsmodels, sklearn, nltk, pydot, pymysql all in same directory as
>gensim:
>
>*OUTPUT:*
>
>scipy: 1.1.0
>numpy: 1.14.6
>matplotlib: 3.0.1
>pandas: 0.23.4
>statsmodels: 0.9.0
>sklearn: 0.20
>nltk: 3.3
>pydot: 1.4.1
>pymysql: 0.9.3
>Traceback (most recent call last):
>
>  File "<ipython-input-1-0027563779b8>", line 1, in <module>
>    runfile('C:/Users/Admin/Documents/Spyder 
>Projects/Brownlee/code/appendix_02/1_versions.py', 
>wdir='C:/Users/Admin/Documents/Spyder
>Projects/Brownlee/code/appendix_02')
>
>  File 
>"C:\Users\Admin\Desktop\WPy-3670\python-3.6.7.amd64\lib\site-packages\spyder_kernels\customize\spydercustomize.py",
>
>line 668, in runfile
>    execfile(filename, namespace)
>
>  File 
>"C:\Users\Admin\Desktop\WPy-3670\python-3.6.7.amd64\lib\site-packages\spyder_kernels\customize\spydercustomize.py",
>
>line 108, in execfile
>    exec(compile(f.read(), filename, 'exec'), namespace)
>
>  File "C:/Users/Admin/Documents/Spyder 
>Projects/Brownlee/code/appendix_02/1_versions.py", line 25, in <module>
>    import gensim
>
>ModuleNotFoundError: No module named 'gensim'
>
>-- 
>You received this message because you are subscribed to the Google
>Groups "spyder" group.
>To unsubscribe from this group and stop receiving emails from it, send
>an email to [email protected].
>To post to this group, send email to [email protected].
>Visit this group at https://groups.google.com/group/spyderlib.
>For more options, visit https://groups.google.com/d/optout.

-- 
Sent from my Java VM aka "Android" phone with K-9 Mail.

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to