hyperopt导入错误。无法识别的参数:-f

时间:2017-05-09 13:42:57

标签: python machine-learning importerror hyperparameters hyperopt

import hyperopt
usage: main.py [options] [file_or_dir] [file_or_dir] [...]
main.py: error: unrecognized arguments: -f
inifile: None
rootdir: C:\Users\Myname
C:\Anaconda2\lib\site-packages\IPython\core\interactiveshell.py:2889: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)
An exception has occurred, use %tb to see the full traceback.

SystemExit: 2

这是我想要实现的(导入hyperopt),以下是我的jupyter控制台上的错误。

我使用的是anaconda 64bit 2.7。(Windows 8)

我尝试使用pip,conda和git安装hyperopt,但所有试验都失败了。 安装软件包时没有发生错误。

你能告诉我我的笔记本电脑或hyperopt有什么问题吗? 谢谢。

我也试过cmd python,我试过导入hyperopt'但是下面的错误发生了。

Python 2.7.13 |Anaconda custom (64-bit)| (default, Dec 19 2016, 13:29:36)
在win32上

[MSC v.1500 64位(AMD64)]     输入" help"," copyright"," credit"或"许可证"欲获得更多信息。     Continuum Analytics为您带来了Anaconda。     请查看:http://continuum.io/thankshttps://anaconda.org     导入hyperopt     =============================测试会话开始================== ===========     平台win32 - Python 2.7.13,pytest-3.0.5,py-1.4.32,pluggy-0.4.0     rootdir:C:\ Users \ Seong NohYoon,inifile:     收集0件/ 1件错误

=================================== ERRORS ====================================
______________________________ ERROR collecting  ______________________________
C:\Anaconda2\lib\site-packages\py\_path\common.py:366: in visit
    for x in Visitor(fil, rec, ignore, bf, sort).gen(self):
C:\Anaconda2\lib\site-packages\py\_path\common.py:415: in gen
    for p in self.gen(subdir):
C:\Anaconda2\lib\site-packages\py\_path\common.py:415: in gen
    for p in self.gen(subdir):
C:\Anaconda2\lib\site-packages\py\_path\common.py:415: in gen
    for p in self.gen(subdir):
C:\Anaconda2\lib\site-packages\py\_path\common.py:400: in gen
    entries = path.listdir()
C:\Anaconda2\lib\site-packages\py\_path\local.py:382: in listdir
    names = py.error.checked_call(os.listdir, self.strpath)
C:\Anaconda2\lib\site-packages\py\_error.py:85: in checked_call
    raise cls("%s%r" % (func.__name__, args))
E   EBUSY: [Resource device]: listdir('C:\\Users\\Seong NohYoon\\AppData\\Local\\Application Data',)
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!
=========================== 1 error in 0.30 seconds ===========================

0 个答案:

没有答案