简体   繁体   English

在cygwin上安装tensorflow错误

[英]install tensorflow on cygwin error

I am new to linux and try to install tensorflow on cygwin on a windows 7 machine with only CPU following this instruction . 我是Linux的新手,请按照以下说明尝试在仅具有CPU的Windows 7计算机上的cygwin上的cygwin上安装tensorflow。

I tried to install with native pip however encountered some errors when running this command: 我尝试使用本机pip安装,但是在运行此命令时遇到一些错误:

pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.2.1-cp36-cp36m-linux_x86_64.whl

(I omitted sudo since there's no sudo on my cygwin). (我省略了sudo,因为我的cygwin上没有sudo)。 The error message is: 错误消息是:

tensorflow-1.2.1-cp36-cp36m-linux_x86_64.whl is not a supported wheel on this platform.

The python 3 on my cygwin is 3.6.1, pip3 version is 9.0.1. 我的cygwin上的python 3是3.6.1,pip3版本是9.0.1。

Here are some basic command result: 以下是一些基本命令结果:

$ python3 -V
Python 3.6.1

$ whereis python3
python3: /usr/bin/python3 /usr/bin/python3.6 /usr/lib/python3.6 /usr/include/python3.6m /usr/share/man/man1/python3.1.gz

$ pip3 -V
pip 9.0.1 from /usr/lib/python3.6/site-packages (python 3.6)

$ echo $PATH
/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/ActiveState Komodo Edit 10:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/Microsoft Application Virtualization Client:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/Pandoc:/cygdrive/c/Program Files/MiKTeX 2.9/miktex/bin/x64:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/PuTTY:/cygdrive/c/Program Files (x86)/Skype/Phone:/cygdrive/c/Program Files/1E/NomadBranch:/cygdrive/c/Users/jinhuwang/AppData/Local/rodeo/app-2.5.2/bin

I've seem many related question on stackoverflow but got no luck to find the solution to mine. 我似乎在stackoverflow上有很多相关的问题,但是没有运气找到我的解决方案。 Could anyone help? 有人可以帮忙吗?

From cygwin's frontpage : cygwin的首页上

Cygwin is not: Cygwin不是:

  • a way to run native Linux apps on Windows. 一种在Windows上运行本机Linux应用程序的方法。 You must rebuild your application from source if you want it to run on Windows. 如果要在Windows上运行,则必须从源代码重建应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM