python小问题
小狮子要炸boom
在红尘中学会独处
展开
-
shell 统计所有py文件的代码量
find . -name "*.py" |xargs cat |grep -v "^\s*$" | grep -v "^\s*#"|wc -原创 2021-08-27 11:29:12 · 138 阅读 · 0 评论 -
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C head
pip install flair==0.8.0.post1pip install numpy==1.20.0原创 2021-08-11 11:26:08 · 713 阅读 · 0 评论 -
python3 error, cannot import name ‘SimpleQueue
python3 error, cannot import name 'SimpleQueue由于版本不同,需要将py文件中的导入替换成:from multiprocessing import SimpleQueuepython3.3以上 multiprocessing.SimpleQueue python3.2 multiprocessing.queues.SimpleQueue ...原创 2020-09-24 16:41:58 · 1120 阅读 · 0 评论