1、TypeError: ‘module’ object is not callable
Python导入模块的方法有两种:import module 和 from module import,
区别是前者所有导入的东西使用时需加上模块名的限定,而后者不需要。
2、Add Jupyter to the interpreter of the current project.
pip install jupyter
jupyter notebook
3、Pyperclip could not find a copy/paste mechanism for your system
sudo apt-get install xsel
sudo apt-get install xclip
pip install PyQt5
4、python3安装word2vec模块错误处理
利用word2vec源文件进行安装该模块,遇到的问题:
1. 系统找不到指定文件
windows环境下利用win-builds安装gcc环境
2. 找不到# include "win32-port.h"
下载win32-port的zip包,将其中的win32-port.h文件和word2vec-doc2vec.c文件复制到word2vec源文件下/word2vec/src目录下
win32-port:https://github.com/zhangyafeikimi/word2vec-win32
最后到setup.py所在目录执行python setup.py install命令
https://www.cnblogs.com/hufulinblog/articles/8311450.html(转载)