2016-03-18 45 views
1

我想打一個Python包numpy的,熊貓,SciPy的和sklearn,這樣我就可以把它無需安裝python任何Linux,但我遇到了這個:如何用numpy,pandas,scipy,sklearn製作一個python包?

Traceback (most recent call last): 
 
    File "<stdin>", line 1, in <module> 
 
    File "/data1/sigmoidguo/TOOLS/python27/lib/python2.7/site-packages/numpy/__init__.py", line 180, in <module> 
 
    from . import add_newdocs 
 
    File "/data1/sigmoidguo/TOOLS/python27/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module> 
 
    from numpy.lib import add_newdoc 
 
    File "/data1/sigmoidguo/TOOLS/python27/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8, in <module> 
 
    from .type_check import * 
 
    File "/data1/sigmoidguo/TOOLS/python27/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in <module> 
 
    import numpy.core.numeric as _nx 
 
    File "/data1/sigmoidguo/TOOLS/python27/lib/python2.7/site-packages/numpy/core/__init__.py", line 14, in <module> 
 
    from . import multiarray 
 
ImportError: libblas.so.3: cannot open shared object file: No such file or directory

如何我可以修復它沒有根權限?

PS:我沒有root權限,所以我不能安裝python站點包蟒蛇...

回答

2

您可以安裝anaconda。它是一個多平臺的Python發行版,可以安裝在你的主文件夾中(具有用戶權限)。它附帶pipconda命令來安裝您需要的任何軟件包。它已經與您提到的所有軟件包(numpy,pandas,scipysklearn)一起提供,因此聽起來非常適合您的需求。

+0

我試過了,沒關係,tks – sigmoid

相關問題