我试试看:
pip install numpy
我明白了:
The directory '/home/teoman/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
pip is c
我遇到了一个很奇怪的问题,我不知道为什么。
当我在一些yum info python-pip 7机器上运行CentOS命令时,它会返回错误:没有要列出的匹配包。但是,到目前为止,我一直没有问题地安装python。
启用了epel存储库:
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11,016
奇怪的是,相同的命令可以在其他CentOS 7服务器上成功运行,并返回包的信息。
CentOS发行版: CentOS Linux 7.2.1511 (核心)
epel-释放: 7.6或
我正在尝试在centos上安装maven3。
我从官方的下载了maven。
wget http://www.apache.org/dyn/closer.cgi/maven/maven-3/3.0.4/binaries/apache-maven-3.0.4-bin.tar.gz
它被下载到系统中。但是当我运行解压代码的命令时。
tar -xvf apache-maven-3.0.4-bin.tar.gz
我得到了错误
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable
我跟踪了CentOS如何-to,但始终得到以下错误:
http://dev.centos.org/centos/5/testing/i386/repodata/filelists.sqlite.bz2: [Errno 4] Socket Error: timed out
Trying other mirror.
Error: failure: repodata/filelists.sqlite.bz2 from c5-testing: [Errno 256] No more mirrors to try.
谢谢!