• Lv0
    粉丝0

积分1 / 贡献0

提问3答案被采纳0文章0

ubuntu20.04安装deveco device tool报pyhton3.8-venv无法定位,使用sudo apt-get install python3.8-venv命令依然无法解决

pengbiao 显示全部楼层 发表于 2024-6-5 22:18:55

全新安装ubuntu20.04版本,按照官网说明Ubuntu环境搭建步骤 配置好了环境,安装4.0版本deveco device tool时,报错,如下

Package python3.8 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'python3.8' has no installation candidate Package: python3.8 State: not a real package (virtual) N: Can't select candidate version from package python3.8 as it has no candidate N: Can't select versions from package 'python3.8' as it is purely virtual N: No packages found 2024-06-05 00:43:13 - INFO - python3.8 is successfully installed Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: systemd-hwe-hwdb Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 455 not upgraded. Need to get 0 B/139 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 214151 files and directories currently installed.) Preparing to unpack .../python3-distutils_3.10.8-1~22.04_all.deb ... Unpacking python3-distutils (3.10.8-1~22.04) over (3.10.8-1~22.04) ... Setting up python3-distutils (3.10.8-1~22.04) ... Reading package lists... Done Building dependency tree... Done Reading state information... Done python3-pip is already the newest version (22.0.2+dfsg-1ubuntu0.4). The following package was automatically installed and is no longer required: systemd-hwe-hwdb Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 455 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package python-venv 2024-06-05 00:43:21 - ERROR - python-venv install failed.

VirtualBox:~/Downloads\$ sudo apt-get install python3.8-venv Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package python3.8-venv E: Couldn't find any package by glob 'python3.8-venv' E: Couldn't find any package by regex 'python3.8-venv'

请问如何解决,为什么会出现跟虚拟机无关的E盘信息呢

您尚未登录,无法参与评论,登录后可以:
参与开源共建问题交流
认同或收藏高质量问答
获取积分成为开源共建先驱

精彩评论1

深开鸿_王石

沙发 发表于 2024-6-12 09:45:13
你直接命令行运行python3.8能找到不?

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部