Last active
August 29, 2015 13:56
-
-
Save l1x/8946073 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[vagrant@vagrant-centos64 ~]$ export PATH=$PATH:/opt/rr/py27/bin | |
[vagrant@vagrant-centos64 ~]$ grep conf ~/.bash_history ^C | |
[vagrant@vagrant-centos64 ~]$ virtualenv sergey | |
New python executable in sergey/bin/python2.7 | |
Also creating executable in sergey/bin/python | |
Installing setuptools, pip...done. | |
[vagrant@vagrant-centos64 ~]$ ls -larth sergey/ | |
total 20K | |
drwxrwxr-x 3 vagrant vagrant 4.0K Feb 11 22:51 lib | |
drwxrwxr-x 2 vagrant vagrant 4.0K Feb 11 22:51 include | |
drwx------. 6 vagrant vagrant 4.0K Feb 11 22:51 .. | |
drwxrwxr-x 5 vagrant vagrant 4.0K Feb 11 22:51 . | |
drwxrwxr-x 2 vagrant vagrant 4.0K Feb 11 22:51 bin | |
[vagrant@vagrant-centos64 ~]$ . sergey/bin/activate | |
### this is now specific to the ENV | |
(sergey)[vagrant@vagrant-centos64 ~]$ pip install numpy | |
Downloading/unpacking numpy | |
Downloading numpy-1.8.0.tar.gz (3.8MB): 3.8MB downloaded | |
Running setup.py (path:/home/vagrant/sergey/build/numpy/setup.py) egg_info for package numpy | |
... | |
(sergey)[vagrant@vagrant-centos64 ~]$ python | |
Python 2.7.6 (default, Feb 11 2014, 22:48:17) | |
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import numpy | |
>>> numpy.version.version | |
'1.8.0' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment