【发布时间】:2018-07-07 01:05:40
【问题描述】:
我需要获得pip install plyfile 才能在我的python 3.6.2(anaconda3 5.0.0 64 位)环境中成功,这样我才能在脚本中执行from plyfile import PlyData, PlyElement 以启用pca 降维算法。
我搜索了“pip install plyfile”命中并在该站点上找到了文章here 和here,它们只是对执行命令发表评论,而没有涉及我在下面的屏幕抓取中看到的错误。
我执行了pip.exe search ply | findstr /r /i /c:"^ply",结果集包含一个plyfile (0.5) 条目,所以不知道为什么pip install plyfile 会抛出错误而conda install plyfile 找不到它。
我尝试使用完全限定路径发出 pip.exe install 命令,例如"C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\Scripts\pip.exe" install plyfile,这不会改变结果,也不会在将该目录作为当前目录时执行它。
我尝试安装当前的 Anaconda3-5.0.1-Windows-x86_64.exe 和 Anaconda3-5.0.1-Windows-x86.exe 发行版,然后使用这些最新安装执行 c:\ProgramData\Scripts\pip.exe install plyfile,我得到了与下面相同的结果,它会产生一堆错误输出。
我已经捕获了带有错误详细信息的标准输出,显示在下面的第一个屏幕截图中,它的最后一行是TypeError: parse() got an unexpected keyword argument 'transport_encoding',如果它指向特定的东西,并使其可用here。
其他使用当前 windows 10 [v1709 秋季创建者更新] 和 anaconda3 5.0.0 x64 python 3.6.2 环境遇到此问题的人有什么建议吗?
【问题讨论】:
标签: python pip installation conda