Python中文
首页
教程
问答
标签
搜索
登录
注册
pip installl tsne没有
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>我无法在我的Windows计算机上安装tsne包。我按照指令<a href="https://github.com/danielfrg/tsne/blob/master/README.md" rel="noreferrer">here</a>为Python安装tsne包。但是<code>pip install tsne</code>或{<cd2>}都可以。错误的消息是</p> <pre><code> tsne/bh_sne_src/quadtree.cpp(12) : fatal error C1083: Cannot open include file: 'cblas.h': No such file or directory error: command 'C:\\Users\\hzoe\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2 ---------------------------------------- Failed building wheel for tsne Running setup.py clean for tsne Failed to build tsne Installing collected packages: tsne Running setup.py install for tsne: started Running setup.py install for tsne: finished with status 'error' Complete output from command C:\Users\hzoe\AppData\Local\Continuum\Anaconda\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\hzoe\\appdata\\local\\temp\\pip-build-vicxy7\\tsne\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\hzoe\appdata\local\temp\pip-so57qk-record\install-record.txt --single-version-externally-managed --compile: !!!!!!!!!!!!! ['tsne', 'tsne.tests'] C:\Users\hzoe\AppData\Local\Continuum\Anaconda\lib\site-packages\setuptools-20.2.2-py2.7.egg\setuptools\dist.py:285: UserWarning: Normalizing 'v0.1.5' to '0.1.5' running install running build running build_py creating build creating build\lib.win-amd64-2.7 creating build\lib.win-amd64-2.7\tsne copying tsne\_version.py -> build\lib.win-amd64-2.7\tsne copying tsne\__init__.py -> build\lib.win-amd64-2.7\tsne creating build\lib.win-amd64-2.7\tsne\tests copying tsne\tests\test_iris.py -> build\lib.win-amd64-2.7\tsne\tests copying tsne\tests\__init__.py -> build\lib.win-amd64-2.7\tsne\tests UPDATING build\lib.win-amd64-2.7\tsne/_version.py set build\lib.win-amd64-2.7\tsne/_version.py to 'v0.1.5' running build_ext building 'bh_sne' extension creating build\temp.win-amd64-2.7 creating build\temp.win-amd64-2.7\Release creating build\temp.win-amd64-2.7\Release\tsne creating build\temp.win-amd64-2.7\Release\tsne\bh_sne_src C:\Users\hzoe\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Users\hzoe\AppData\Local\Continuum\Anaconda\lib\site-packages\numpy\core\include -I/usr/local/include -Itsne/bh_sne_src/ -IC:\Users\hzoe\AppData\Local\Continuum\Anaconda\include -IC:\Users\hzoe\AppData\Local\Continuum\Anaconda\PC /Tptsne/bh_sne.cpp /Fobuild\temp.win-amd64-2.7\Release\tsne/bh_sne.obj -msse2 -O3 -fPIC -w cl : Command line warning D9025 : overriding '/W3' with '/w' cl : Command line warning D9002 : ignoring unknown option '-msse2' cl : Command line warning D9002 : ignoring unknown option '-O3' cl : Command line warning D9002 : ignoring unknown option '-fPIC' bh_sne.cpp c:\users\hzoe\appdata\local\continuum\anaconda\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(12) : Warning Msg: Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION C:\Users\hzoe\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Include\xlocale(342) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc C:\Users\hzoe\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Users\hzoe\AppData\Local\Continuum\Anaconda\lib\site-packages\numpy\core\include -I/usr/local/include -Itsne/bh_sne_src/ -IC:\Users\hzoe\AppData\Local\Continuum\Anaconda\include -IC:\Users\hzoe\AppData\Local\Continuum\Anaconda\PC /Tptsne/bh_sne_src/quadtree.cpp /Fobuild\temp.win-amd64-2.7\Release\tsne/bh_sne_src/quadtree.obj -msse2 -O3 -fPIC -w cl : Command line warning D9025 : overriding '/W3' with '/w' cl : Command line warning D9002 : ignoring unknown option '-msse2' cl : Command line warning D9002 : ignoring unknown option '-O3' cl : Command line warning D9002 : ignoring unknown option '-fPIC' quadtree.cpp tsne/bh_sne_src/quadtree.cpp(12) : fatal error C1083: Cannot open include file: 'cblas.h': No such file or directory error: command 'C:\\Users\\hzoe\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2 ---------------------------------------- Command "C:\Users\hzoe\AppData\Local\Continuum\Anaconda\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\hzoe\\appdata\\local\\temp\\pip-build-vicxy7\\tsne\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\hzoe\appdata\local\temp\pip-so57qk-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\hzoe\appdata\local\temp\pip-build-vicxy7\tsne\ </code></pre> <P>我使用Python的AcANDA,我也安装了Visual C++编译器。在</p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>如果您已经尝试过了,我很抱歉,但是我看不到您在命令提示符中键入了什么来获取该错误。在</p> <p>如果您的path变量没有设置为pip,那么输入这个(如果python在另一个目录中,只需更改路径)并记住它的大小写!在</p> <pre><code>C:\Python34\Scripts\pip install LIBRARY_NAME </code></pre>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
如何添加虚拟方法
5 回答
如何添加表示整数的擦边字符串?
9 回答
如何添加要在Bokeh中使用的新font.ttf文件?
9 回答
如何添加要显示的矩阵XY轴编号和XY轴
2 回答
如何添加计数?
10 回答
如何添加计数器函数?
3 回答
如何添加计数器列来计算数据帧中另一列中的特定值?
8 回答
如何添加计数器来跟踪while循环中的月份和年份?
5 回答
如何添加计数并删除countplot的顶部和右侧脊椎?
3 回答
如何添加计时器wx.应用程序更新窗口对象的主循环?
7 回答
如何添加评论到帖子?PostDetailVew,Django 2.1.5
6 回答
如何添加评论拉梅尔亚姆
6 回答
如何添加诸如矩阵Python/Pandas之类的数据帧?
9 回答
如何添加谷歌地点自动完成到Flask?
5 回答
如何添加超时、python discord bot
10 回答
如何添加超过1dp的检查
4 回答
如何添加距离方法
3 回答
如何添加跟随游戏的敌人精灵
8 回答
如何添加路径以便python可以找到程序?
4 回答
如何添加身份验证/安全性以使用happybase访问HBase?
9 回答