简体   繁体   English

树莓派上的python3.5

[英]python3.5 on raspberry pi

Hello i am new to Raspberry pi, I set up Rasbian on my Raspberry pi3, python3.7 is set up by default on the software, so pip3 is directly calling python3.7 and setting up the libraries on python3.7.你好,我是树莓派新手,我在树莓派3上设置了Rasbian,软件上默认设置了python3.7,所以pip3直接调用python3.7,在python3.7上设置库。

I installed python3.5 on the OS, but I can not use pip3 for python3.5, since when I am using pip3 -V command it shows ( pip 19.2.1 from /usr/local/lib/python3.7/dist-packages/pip (python3.7))我在操作系统上安装了 python3.5,但我不能将 pip3 用于 python3.5,因为当我使用 pip3 -V 命令时它显示( pip 19.2.1 from /usr/local/lib/python3.7/dist-包/pip (python3.7))

My python3.5 has no pip file in /usr/local/lib/python3.5/site-packages我的python3.5在/usr/local/lib/python3.5/site-packages中没有pip文件

The question now how to make pip3 linked to python3.5 instead of python3.7.现在的问题是如何将 pip3 链接到 python3.5 而不是 python3.7。

在终端中键入 python3.5 并检查是否可以看到 python 3.5 shell,如果可以,则使用命令安装所有包

python3.5 -m pip install "package-name"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM