小编mla*_*ier的帖子

Python在anaconda中找不到包h2o

当我尝试导入h2o时,我被告知该包不存在.当我尝试安装它时,它告诉我它已经存在.我试过从我的电脑上擦掉它并重新安装无济于事.在这一点上,我所能想到的只是一些环境变量.

(C:\Users\Lanier\Anaconda2) C:\Users\Lanier>python
Python 2.7.12 |Anaconda custom (64-bit)| (default, Jun 29 2016, 11:07:13) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import h2o
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named h2o
>>> quit()

(C:\Users\Lanier\Anaconda2) C:\Users\Lanier>conda install h2o
Fetching package metadata ...........
Solving package specifications: .

# All requested packages …
Run Code Online (Sandbox Code Playgroud)

python cmd python-2.7 anaconda h2o

8
推荐指数
3
解决办法
6420
查看次数

match.fun(FUN)出错

我试图找到答案,但我经常失败.我有一个带有一列字符串的数据框.我想计算列的每个条目中的字符数,并用计数替换字符串列.

data[,29]=apply(data[,29],nchar())

Out[2]: Error in match.fun(FUN): argument "FUN" is missing, with no default   
Error in match.fun(FUN): argument "FUN" is missing, with no default
Run Code Online (Sandbox Code Playgroud)

r

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

anaconda ×1

cmd ×1

h2o ×1

python ×1

python-2.7 ×1

r ×1