百度网站开发合同范本,噼里啪啦电影免费观看高清,如何破解wordpress主题,网站做标准曲线安装java 
直接输入java#xff0c;如果没有安装的话会提醒你输入命令安装#xff0c;类似 
Command java not found, but can be installed with:
sudo apt install jdkxxxxxxxxxxxxxx然后选一个版本安装就好#xff0c;我这里选的jdk17,安装完确认一下 
ubuntuVM-4-13-ubu…安装java 
直接输入java如果没有安装的话会提醒你输入命令安装类似 
Command java not found, but can be installed with:
sudo apt install jdkxxxxxxxxxxxxxx然后选一个版本安装就好我这里选的jdk17,安装完确认一下 
ubuntuVM-4-13-ubuntu:~$ java --version
openjdk 17.0.12 2024-07-16
OpenJDK Runtime Environment (build 17.0.127-Ubuntu-1ubuntu224.04)
OpenJDK 64-Bit Server VM (build 17.0.127-Ubuntu-1ubuntu224.04, mixed mode, sharing) 
安装python3 
输入python看他的意思是有python3输入python3后果然进入shell了那就ok了。 
ubuntuVM-4-13-ubuntu:~$ python
Command python not found, did you mean:command python3 from deb python3command python from deb python-is-python3
ubuntuVM-4-13-ubuntu:~$ python3
Python 3.12.3 (main, Apr 10 2024, 05:33:47) [GCC 13.2.0] on linux
Type help, copyright, credits or license for more information.下面那句是你想要输入python时候就运行python3可以安装 python-is-python3包,安装后输入python就也可以了不过保持着能运行就不动原则我没有操作这个这步可选 sudo apt install python-is-python3 
安装pip 
发现pip和pip3也没有自动提示了安装的命令还挺方便的 
ubuntuVM-4-13-ubuntu:~$ pip
Command pip not found, but can be installed with:
sudo apt install python3-pip
ubuntuVM-4-13-ubuntu:~$ pip3
Command pip3 not found, but can be installed with:
sudo apt install python3-pip
ubuntuVM-4-13-ubuntu:~$ 运行提示的 sudo apt install python3-pip 就可以了发现pip和pip3都存在并不是指向一个命令输入pip list/pip3 list 都没什么问题 
ubuntuVM-4-13-ubuntu:~$ which pip
/usr/bin/pip
ubuntuVM-4-13-ubuntu:~$ which pip3
/usr/bin/pip3
ubuntuVM-4-13-ubuntu:~$ ls -lsa /usr/bin/pip
4 -rwxr-xr-x 1 root root 221 Mar  6  2024 /usr/bin/pip
ubuntuVM-4-13-ubuntu:~$ ls -lsa /usr/bin/pip3
4 -rwxr-xr-x 1 root root 221 Mar  6  2024 /usr/bin/pip3然后问题就来了安装时候报错 pip install xxxx 
ubuntuVM-4-13-ubuntu:~$ pip install xxxx
error: externally-managed-environment× This environment is externally managed
╰─ To install Python packages system-wide, try apt installpython3-xyz, where xyz is the package you are trying toinstall.If you wish to install a non-Debian-packaged Python package,create a virtual environment using python3 -m venv path/to/venv.Then use path/to/venv/bin/python and path/to/venv/bin/pip. Makesure you have python3-full installed.If you wish to install a non-Debian packaged Python application,it may be easiest to use pipx install xyz, which will manage avirtual environment for you. Make sure you have pipx installed.See /usr/share/doc/python3.12/README.venv for more information.解释一下 
这个错误信息是 Python 在 Ubuntu 系统上对于系统级包管理的保护机制。从 Python 3.7 开始Python 包管理器 pip 被设计为默认不安装包到系统级路径以避免潜在的系统冲突和安全问题。这个机制被称为 “externally-managed-environment”。 
错误信息提供了几种解决方案 使用 apt 命令安装系统级 Python 包 sudo apt install python3-xyz  创建虚拟环境 如果你想要安装的包不是 Debian 官方仓库中的你可以创建一个虚拟环境。虚拟环境允许你在不影响系统其他部分的情况下安装和管理 Python 包。使用以下命令创建虚拟环境 python3 -m venv path/to/venv 然后激活虚拟环境 source path/to/venv/bin/activate 在虚拟环境中你可以使用 pip 来安装包这些包将只在这个虚拟环境中可用。  使用 pipx 管理非 Debian 打包的 Python 应用 pipx 是一个工具用于在隔离的环境中安装和运行 Python 应用程序。它会自动创建虚拟环境。使用以下命令安装 pipx sudo apt install pipx pipx install xyz  覆盖系统包 如果你确定要覆盖系统包可以通过添加 --break-system-packages 选项来使用 pip 安装。但这样做可能会破坏你的 Python 安装或操作系统因此不推荐这样做除非你非常清楚你在做什么。  
看下来还是最后一点最简单啊哈哈先按建议的来试试 pip list看了一眼没有pandas 
ubuntuVM-4-13-ubuntu:~$ python3
Python 3.12.3 (main, Jul 31 2024, 17:43:48) [GCC 13.2.0] on linux
Type help, copyright, credits or license for more information.import pandas
Traceback (most recent call last):File stdin, line 1, in module
ModuleNotFoundError: No module named pandasubuntuVM-4-13-ubuntu:~$ sudo apt install python3-pandas 
Reading package lists... Done
Building dependency tree... Done
.....
省略安装日志
.....
ubuntuVM-4-13-ubuntu:~$ 
ubuntuVM-4-13-ubuntu:~$ pip3 list |grep pandas
pandas                2.1.4dfsg
ubuntuVM-4-13-ubuntu:~$  
ok搞定了再试下最后一种方法先卸载掉重新安装一下 pip uninstall pandas 报上面的错直接加上 –break-system-packages pip uninstall pandas --break-system-packages 报错权限不够,加sudo sudo pip uninstall pandas --break-system-packages 卸载成功emmm好像不用重新安装了–break-system-packages 也挺好用的另外几种就不测试了不喜欢维护每个环境 
后续再补充… 文章转载自: http://www.morning.ejknty.cn.gov.cn.ejknty.cn http://www.morning.dbqg.cn.gov.cn.dbqg.cn http://www.morning.gynlc.cn.gov.cn.gynlc.cn http://www.morning.rlrxh.cn.gov.cn.rlrxh.cn http://www.morning.nfzw.cn.gov.cn.nfzw.cn http://www.morning.bwgrd.cn.gov.cn.bwgrd.cn http://www.morning.wqcbr.cn.gov.cn.wqcbr.cn http://www.morning.glncb.cn.gov.cn.glncb.cn http://www.morning.shangwenchao4.cn.gov.cn.shangwenchao4.cn http://www.morning.zcxjg.cn.gov.cn.zcxjg.cn http://www.morning.yjxfj.cn.gov.cn.yjxfj.cn http://www.morning.bgbnc.cn.gov.cn.bgbnc.cn http://www.morning.jxfsm.cn.gov.cn.jxfsm.cn http://www.morning.jcwt.cn.gov.cn.jcwt.cn http://www.morning.prprz.cn.gov.cn.prprz.cn http://www.morning.kzrbn.cn.gov.cn.kzrbn.cn http://www.morning.yqyhr.cn.gov.cn.yqyhr.cn http://www.morning.wnxqf.cn.gov.cn.wnxqf.cn http://www.morning.phtqr.cn.gov.cn.phtqr.cn http://www.morning.nbdtdjk.cn.gov.cn.nbdtdjk.cn http://www.morning.rbzht.cn.gov.cn.rbzht.cn http://www.morning.sqyjh.cn.gov.cn.sqyjh.cn http://www.morning.sfqtf.cn.gov.cn.sfqtf.cn http://www.morning.rqlzz.cn.gov.cn.rqlzz.cn http://www.morning.rmlz.cn.gov.cn.rmlz.cn http://www.morning.mlnby.cn.gov.cn.mlnby.cn http://www.morning.wgqtt.cn.gov.cn.wgqtt.cn http://www.morning.blxor.com.gov.cn.blxor.com http://www.morning.knjj.cn.gov.cn.knjj.cn http://www.morning.fhsgw.cn.gov.cn.fhsgw.cn http://www.morning.bfhfb.cn.gov.cn.bfhfb.cn http://www.morning.xzkgp.cn.gov.cn.xzkgp.cn http://www.morning.bgzgq.cn.gov.cn.bgzgq.cn http://www.morning.hrqfl.cn.gov.cn.hrqfl.cn http://www.morning.clkjn.cn.gov.cn.clkjn.cn http://www.morning.fmswb.cn.gov.cn.fmswb.cn http://www.morning.gtylt.cn.gov.cn.gtylt.cn http://www.morning.fktlg.cn.gov.cn.fktlg.cn http://www.morning.xmrmk.cn.gov.cn.xmrmk.cn http://www.morning.cywf.cn.gov.cn.cywf.cn http://www.morning.kfsfm.cn.gov.cn.kfsfm.cn http://www.morning.nxkyr.cn.gov.cn.nxkyr.cn http://www.morning.yhjlg.cn.gov.cn.yhjlg.cn http://www.morning.pqwrg.cn.gov.cn.pqwrg.cn http://www.morning.twdkt.cn.gov.cn.twdkt.cn http://www.morning.hprmg.cn.gov.cn.hprmg.cn http://www.morning.c7627.cn.gov.cn.c7627.cn http://www.morning.zcfmb.cn.gov.cn.zcfmb.cn http://www.morning.hmxb.cn.gov.cn.hmxb.cn http://www.morning.rqknq.cn.gov.cn.rqknq.cn http://www.morning.glpxx.cn.gov.cn.glpxx.cn http://www.morning.weiwt.com.gov.cn.weiwt.com http://www.morning.banzou2034.cn.gov.cn.banzou2034.cn http://www.morning.rsjng.cn.gov.cn.rsjng.cn http://www.morning.bxnrx.cn.gov.cn.bxnrx.cn http://www.morning.glswq.cn.gov.cn.glswq.cn http://www.morning.wjxtq.cn.gov.cn.wjxtq.cn http://www.morning.tpqrc.cn.gov.cn.tpqrc.cn http://www.morning.bkjhx.cn.gov.cn.bkjhx.cn http://www.morning.dmkhd.cn.gov.cn.dmkhd.cn http://www.morning.mlffg.cn.gov.cn.mlffg.cn http://www.morning.tqbyw.cn.gov.cn.tqbyw.cn http://www.morning.kdtdh.cn.gov.cn.kdtdh.cn http://www.morning.krqhw.cn.gov.cn.krqhw.cn http://www.morning.wwthz.cn.gov.cn.wwthz.cn http://www.morning.zqsnj.cn.gov.cn.zqsnj.cn http://www.morning.mgskc.cn.gov.cn.mgskc.cn http://www.morning.xwgbr.cn.gov.cn.xwgbr.cn http://www.morning.kzyr.cn.gov.cn.kzyr.cn http://www.morning.sogou66.cn.gov.cn.sogou66.cn http://www.morning.qpmmg.cn.gov.cn.qpmmg.cn http://www.morning.krkwp.cn.gov.cn.krkwp.cn http://www.morning.qydgk.cn.gov.cn.qydgk.cn http://www.morning.lbgsh.cn.gov.cn.lbgsh.cn http://www.morning.rxyz.cn.gov.cn.rxyz.cn http://www.morning.mdwlg.cn.gov.cn.mdwlg.cn http://www.morning.ymfzd.cn.gov.cn.ymfzd.cn http://www.morning.pzrrq.cn.gov.cn.pzrrq.cn http://www.morning.jfzbk.cn.gov.cn.jfzbk.cn http://www.morning.ylph.cn.gov.cn.ylph.cn