麻线显示“无此文件或目录”错误

亨利·M

我正在运行Ubuntu 18.04系统,最近安装了一个新的ssd并将$ HOME映射到该ssd上,然后将现有文件移动到了该文件上。我相信,在某种程度上,我在这个过程中弄糟了我的PYTHONPATH。

如果我运行twine upload dist/*,会出现以下错误:

bash:/home/henry/.local/bin/twine:没有这样的文件或目录

如果运行pip install twine,则会得到以下输出:

Requirement already satisfied: twine in /usr/local/lib/python2.7/dist-packages (1.12.1)
Requirement already satisfied: setuptools>=0.7.0 in /home/henry/.local/lib/python2.7/site-packages (from twine) (39.1.0)
Requirement already satisfied: pkginfo>=1.4.2 in /home/henry/.local/lib/python2.7/site-packages (from twine) (1.4.2)
Requirement already satisfied: readme-renderer>=21.0 in /usr/local/lib/python2.7/dist-packages (from twine) (24.0)
Requirement already satisfied: requests!=2.15,!=2.16,>=2.5.0 in /home/henry/.local/lib/python2.7/site-packages (from twine) (2.18.4)
Requirement already satisfied: tqdm>=4.14 in /home/henry/.local/lib/python2.7/site-packages (from twine) (4.23.3)
Requirement already satisfied: requests-toolbelt>=0.8.0 in /home/henry/.local/lib/python2.7/site-packages (from twine) (0.8.0)
Requirement already satisfied: Pygments in /home/henry/.local/lib/python2.7/site-packages (from readme-renderer>=21.0->twine) (2.2.0)
Requirement already satisfied: six in /home/henry/.local/lib/python2.7/site-packages (from readme-renderer>=21.0->twine) (1.11.0)
Requirement already satisfied: bleach>=2.1.0 in /usr/local/lib/python2.7/dist-packages (from readme-renderer>=21.0->twine) (3.0.2)
Requirement already satisfied: docutils>=0.13.1 in /home/henry/.local/lib/python2.7/site-packages (from readme-renderer>=21.0->twine) (0.14)
Requirement already satisfied: idna<2.7,>=2.5 in /home/henry/.local/lib/python2.7/site-packages (from requests!=2.15,!=2.16,>=2.5.0->twine) (2.6)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /home/henry/.local/lib/python2.7/site-packages (from requests!=2.15,!=2.16,>=2.5.0->twine) (1.22)
Requirement already satisfied: certifi>=2017.4.17 in /home/henry/.local/lib/python2.7/site-packages (from requests!=2.15,!=2.16,>=2.5.0->twine) (2018.1.18)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/henry/.local/lib/python2.7/site-packages (from requests!=2.15,!=2.16,>=2.5.0->twine) (3.0.4)
Requirement already satisfied: webencodings in /usr/lib/python2.7/dist-packages (from bleach>=2.1.0->readme-renderer>=21.0->twine) (0.5) 

echo "PYTHONPATH=$PYTHONPATH" 给我 PYTHONPATH=

我该如何纠正?

sahasrara62

采用

python -m twine upload dist/*

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

查找-禁止显示“无此文件或目录”错误

无此文件或目录

无此文件或目录:

无此文件或目录

无此文件或目录

执行二进制文件时出现“无此文件或目录”错误,还显示权限被拒绝

文件不存在,但ls显示“无此文件或目录”错误

git checkout(Windows 10 / mingw64)错误,显示“无此文件或目录”

终端在打开时显示“无此文件或目录”

如何让grep无法打印出“无此文件或目录”错误?

接收后挂钩生成“无此文件或目录”错误

无法删除<文件>:无此文件或目录

Makefile:目标文件“无此文件或目录”

python子进程,无此文件或目录

在bash脚本中查找命令仅导致目录出现“无此文件或目录”错误?

在npm脚本中使用rm -r folder_name / *删除文件夹的内容将显示“无此文件夹或目录”错误

执行二进制文件时出现“无此文件或目录”错误

上载经过改造的文件时出现错误(无此文件或目录)

在抑制“无此文件或目录”错误的同时将文件读入变量

尝试包含头文件时,为什么会出现错误“无此文件或目录”?

hadoop version命令给出与Java相关的错误(无此文件或目录)

当我在Docker容器中执行Shell脚本时,错误是“无此文件或目录”

如何在收到“无此文件或目录”错误消息时从brew中删除virtualbox

在python中使用“ cat”时出现“无此文件或目录”错误

在ASP.NET Core中构建docker:“无此文件或目录”错误

Ubuntu 12.04上的Android SDK 23.02对所有工具均产生“无此文件或目录”错误

错误:ENOENT:无此文件或目录,在ionic2中打开

从存储库中以编程方式安装pip会导致错误“无此文件或目录”

在单行命令中使用grep-awk和sed会导致“无此文件或目录”错误