嗨,我所有的使用GCE,现在我是新的桶。我的另一桶里有很多照片。我试着把它复制成
sudo gsutil cp -R dir dir
我花了30分钟仍未完成文件副本,所以我尝试了使用-m命令的建议
sudo gsutil -m cp -R dir dir
速度快多了。但我不知道是什么让它更快。-m代表什么?
谢谢!
假设我有一个名为A的目录。
目录A有一堆c文件,我想把所有这些文件都放在脚本正在运行的目录中(如果是linux系统中的主目录)。
为了确保它成功地复制,我将回显任何被复制的内容。
这就是我尝试过的:
cp -r A Home/
echo `.c` # prints the files that have a .c at the end after they get copied
但是,我遇到的错误是,即使目录也在Home目录中,也不存在该目录。我还尝试将其更改为另一个似乎也不起作用的目录。
另一个问题是,它没有复制到它复制到主目录的当前目录。我使用这个列表来查看是否有shell命令,但是
今天,我试图在没有GPU的情况下安装Google的TensorFlow for Python3。当我运行命令时:
sudo -H pip3 install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.wh
它抛出错误:
tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl is not a supported wheel on this platform
我知道已经有一个问题有正确的答案,但这个答案是针对Python2
我安装了pip3并升级了它。当我尝试安装tensorflow时,我得到了以下信息:
daniel@popeax:~$ sudo -H pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl
tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl is not a supported wheel on this platform.
You are using pip version
不知道这里发生了什么。我正在尝试将我的Linux内核从4.9.x升级到4.14.x,如下所示:
In file included from arch/x86/decode.c:26:0:
arch/x86/../../elf.h:22:18: fatal error: gelf.h: No such file or directory
#include
^
compilation terminated.
mv: cannot stat ‘/usr/src/linux-4.14.51/tools/objtool/arch/x86/.decode.o.tmp