Non-root permissions install Python+htseq+numpy+easy_install__python

Source: Internet
Author: User

1. Direct non-root permissions install a Python

First, under the Software List folder

mkdir python-2.7

CD python-2.7

Download python-2.7.10 to current folder

CD python-2.7.10

[Plain] View plain copy./configure--prefix=/lustre/user/zhangjia/software/python-2.7
[Plain] View plain copy make install and then generate a directory bin under python-2.7 this file

modifying. bashrc files

Add to:

[Plain] View plain copy pythondir=/lustre/user/zhangjia/software/python-2.7/bin export path= $PYTHONDIR: $PATH execution. Bash Rc

Source and. is the same

The installation was successful and Python is now its own.


2. Install Easy_install

Download ez_setup.py

Then Python ez_setup.py build

Hint Https://pypi.python.org/packages/source/s/setuptools/setuptools-8.0.4.zip this setuptools not down to, do not know is not the reason of the network. Open this webpage directly, download good setuptools-8.0.4.zip not unpack to put under python-2.7 folder.

Re-execute the python ez_setup.py build

Ok!

Python ez_setup.py Install

Installed under your own python. There's easy_install.

However, try the next

Easy_install NumPy did not succeed, Easy_install put not move.


3. Install PIP

Download pip

Extract PIP Package

Installation: Python setuppy install

After installation, the PIP can be found under Python2.7/bin


4. Install NumPy [Plain] View plain copy pip install NumPy


5. Install Htseq [Plain] View plain copy pip install Htseq

Htseq-count and Htseq-qa under the Python-2.7/bin.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.