如何为python3.4安装其他pip?

问题描述 投票:0回答:1

我通常在我的ubuntu上使用python 3.7,但是为了运行Brainfuck jupyter笔记本(来自https://github.com/robbielynch/ibrainfuck,我需要运行python3.4。所以我用[

安装了python3.4
wget https://www.python.org/ftp/python/3.4.0/Python-3.4.0.tgz
tar xzvf Python-3.4.0.tgz
cd python3.4/
./configure
make
sudo make install

效果很好,我可以在终端中输入$ python3.4来运行python3.4。

好,现在我尝试如下安装python3.4的pip:

wget https://bootstrap.pypa.io/get-pip.py
sudo python3.4 get-pip.py

并且出现RuntimeError: Python 3.5 or later is required错误。

任何想法,如何为python3.4安装pip?

感谢您提供任何建议!

pip python-3.4
1个回答
-1
投票

您可以输入python3.4 -m pip install <SomePackage>。 python文档包含section有关在进行多次安装时如何安装软件包的信息。

© www.soinside.com 2019 - 2024. All rights reserved.