将python更新到3.7后无法导入jupyter Notebook中的所有软件包

时间:2018-10-08 03:56:12

标签: python anaconda jupyter-notebook jupyter python-3.7

在将python更新到3.7之后,我遇到了Jupyter Notebook这么多问题 1)无法在Powershell或cmd中运行python,因为即时通讯收到此错误

   python : The term 'python' is not recognized as the name of a cmdlet, 
function, script
file, or operable program. Check the spelling of the name, or if a path was 
included,
verify that the path is correct and try again.
At line:1 char:1
+ python
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (python:String) [], 
CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

2)无法导入大多数软件包,即时获取导入错误:DLL加载失败,我尝试“从scipy.stats.stats导入pearsonr”,我得到了此错误:

ImportError                               Traceback (most recent call last)
<ipython-input-5-0ebd78c1f4f1> in <module>()
----> 1 from scipy.stats.stats import pearsonr

~\Anaconda3\lib\site-packages\scipy\stats\__init__.py in <module>()
    343 from __future__ import division, print_function, absolute_import
    344 
--> 345 from .stats import *
    346 from .distributions import *
    347 from .morestats import *

~\Anaconda3\lib\site-packages\scipy\stats\stats.py in <module>()
    167 from scipy._lib.six import callable, string_types
    168 from scipy._lib._version import NumpyVersion
--> 169 import scipy.special as special
    170 import scipy.linalg as linalg
    171 from . import distributions

~\Anaconda3\lib\site-packages\scipy\special\__init__.py in <module>()
    638 from .sf_error import SpecialFunctionWarning, SpecialFunctionError
    639 
--> 640 from ._ufuncs import *
    641 
    642 from .basic import *

ImportError: DLL load failed: The specified module could not be found.

0 个答案:

没有答案