forked from victorlei/smop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
50 lines (36 loc) · 1.21 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Installation guide
==================
The preferred option is installation from
the source using pip, because pip takes care
of everything -- finding the dowinload site,
installing the dependences (numpy and others), etc.
If you don't have pip, this is the perfect time
to install it::
sudo apt-get install python-pip
pip -V
On the flip side, pip is unexpectedly buggy.
So if you get weird messages from pip (such as
"missing version module", or "No module named
pip._internal"), your first guess is to reinstall
pip and pip3 as shown below.
The immediate suspect is the inconsistent
installation of python2, python3, and of the tools.
Unless your working environment is such that you
can work with one specific version of everything
you should learn to use virtualenv::
virtualenv smop
source bin/activate
We are done with the virtual environment. Now
the build::
pip install -e .
If you use the --user option, don't forget to
put your .local/bin into the search path (unix only).
Run smop::
========
smop foo.m bar.m bzz.m
smop -h
smop | more
Force a reinstall of pip::
========================
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py --force-reinstall