安装环境存在两个版本python27和python39,要在python39中安装tsfresh包。结果出现问题,每次安装包时我都是用以下方式进行安装,今天不知道咋了,安装不成功,气。
pip --default-time=100 install tsfresh-i https://pypi.tuna.tsinghua.edu.cn/simple
1、出现问题:pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
ps:忘记截图了
我的python2和python3安装路径中分别存在的exe有如下图几个,由于有两个版本,所以为了确保pip时是在python39中安装包,在pip前面都加上python39 -m,以区别python2版本。
解决方式:添加python39 -m