我使用Python3.5构建了tensorflow,但当尝试通过pip3 (在Python3.6中)安装它时,它说 tensorflow-1.12.0-cp35-cp35m-linux_x86_64.whl is not a supported wheel on this platform. 那么,这是不是因为python版本不兼容呢? 额外的问题:如何让pip告诉我不兼容的原因?
Hi,我试图在CentOS 7计算机上安装Networkit,但是我遇到了几个错误。您能告诉我错误/遗漏了什么和/或键入正确的命令以修复错误吗?
当前,我在我的机器上安装了以下内容,这对于Networkit的安装是必要的:
[JohnRambo@Machine ~]$ g++ --version
g++ (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditio
我运行的是Linux Ubuntu16.04,默认的python3版本是Python3.5.2。 我下载了Python3.6以获得更新版本的Python。我可以使用'python3.6‘在我的命令行上运行它,而我的默认python3版本仍然是Python3.5.2。 我想在Python 3.6中安装我在Python 3.5.2上安装的包。我尝试使用以下命令: pip3 install numpy 但我得到了以下信息: Defaulting to user installation because normal site-packages is not writeable
Requir
我刚在笔记本上安装了Linux 18.3。薄荷18.3附带默认Python版本3.5.2。由于我需要在Python3.6.3中工作,我从Python.org抓取了一个tar球,并安装了以下命令:
$ cd Python3.6.3
./configure
make
make test
sudo make install
然后,在终端中,当我键入python3时,它会提供以下输出:
linuxsagar@Satellite-P755 ~ $ python3
Python 3.6.3 (default, Jan 21 2018, 19:33:32)
[GCC 5.4.0 20160609] on
我正在尝试安装一个新模块,但是我发现pip不工作--它显示
pkg_resources.DistributionNotFound: The 'pip==1.5.6' distribution was not found and is required by the application
我每打一次电话。同样,对于pip --help来说。我发现了一些使用pip或easy_install重新安装easy_install的建议,但easy_install也不起作用:
pkg_resources.DistributionNotFound: The 'setuptools==
阅读一本使用Python3.6特性的书,其中包括一个格式化的字符串,但由于命令python3默认为3.5,即使安装了Python3.6,它在尝试运行单元测试时返回一个无效的语法错误。另一方面,pip3将Selenium安装到Python3.5目录下,所以当我尝试使用3.6运行测试时,我会得到一个'no模块名为selenium‘的错误。
我在虚拟环境中工作,但是虽然python3.5出现在/home/username/.virtualenvs/projectname/lib中,但是python3.6即使在虚拟环境中运行pip3也不会返回python3.6 is already the n
我得到以下错误安装aws通过pip。我正在使用最新版本的python。有什么理由吗?
用于此pip install awscli的命令
Could not find a version that satisfies the requirement awscli
(from versions: )
No matching distribution found for awscli
我正在开发一个应用程序,它涉及到路由查找(一个完全不同的主题),但是对于测试,我需要示例迷宫来测试。一位同事建议我使用生成我所需格式的大规模迷宫。我正在使用以下代码尝试安装该模块:
$pip3.6 install pydaedalus
这将返回以下错误:
-Wno-error=format-security
In file included from daedalus/_maze.cpp:467:
In file included from daedalus/wrapper.h:8:
daedalus/src/util.h:31:10: fatal error: 'cstdint