安装wheel和httplib2库后,我无法在代码中导入httplib2

2024-10-03 09:14:29 发布

您现在位置:Python中文网/ 问答频道 /正文

我犯了什么错

  1. 打开命令行并安装
C:\Users\Caro Schor>pip install httplib2
Requirement already satisfied: httplib2 in c:\users\caro schor\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (0.17.3)

Could not build wheels for httplib2, since package 'wheel' is not installed.


Could not install the wheel and could not import httplib2.
  1. 然后我安装了
C:\Users\Caro Schor>python -m pip install wheel
Collecting wheel
  Downloading wheel-0.34.2-py2.py3-none-any.whl (26 kB)
Installing collected packages: wheel
  WARNING: The script wheel.exe is installed in 'C:\Users\Caro Schor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed wheel-0.34.2

但是,我仍然无法导入httplib2库

因为我是Python的初学者,所以需要详细描述我需要做哪些不同的事情


Tags: installpipinstalledinispackageslocalnot