Environment setting is important in run a project.
python
and see the version of it. You can also check the folder /usr/local/bin
or /usr/bin
since python
is always installed there.import sys
print(sys.executable)
./configure
make
make install
ln -s /usr/bin/python /usr/local/bin/python3.7 # when type `python`, you actually run `python3.7` useful for mvc
vim /etc/resolv.conf # tmp
vim /etc/resolvconf/resolv.conf.d/base # perm
# nameserver 10.3.3.3
# nameserver 114.114.114.114
# nameserver 8.8.8.8
vim /etc/apt/sources.list
# add the proper content from [网络设置清华源](https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/)
sudo apt-get install pip
python get-pip.py
(ps: recommend)python get-pip.py
.pip
. You can install pip like other pakages.pip install [pakage name]
(ps: need pip)pip install [pakage name] -i [domestic image]
you can choose domestic image from below
https://pypi.tuna.tsinghua.edu.cn/simple/ # 清华大学
https://mirrors.aliyun.com/pypi/simple/ # 阿里云
https://pypi.douban.com/simple/ # 豆瓣
https://pypi.mirrors.ustc.edu.cn/simple/ # 中国科学技术大学
https://pypi.hustunique.com/
# ————————————————
# 版权声明:本文为CSDN博主「Doris404」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
# 原文链接:https://blog.csdn.net/kullollo/article/details/109448254
cd [pakage] & python setup.py install
pip install [pakage.whl]
goal first
numpy
is installed properly, but the info is really scary.easy first
log and checkpoint