随着Python轮子的推出,我现在看到构建的轮子缓存在我的主目录的缓存中:
~/myproject-0.1$ pip install .
Building wheels for collected packages: myproject
Processing /home/oz123/pyproject-0.1
Building wheels for collected packages: myproject
Running setup.py bdist_wheel for myproject
Stored in directory: /home/oz123/.cache/pip/wheels/64/80/bf/d7899de05c2cf7f1ae18806b0c494b8c43721189bbfafce32
Successfully built myproject
我想知道:
答案 0 :(得分:0)
要禁用轮盘缓存,您只需执行以下操作:
sudo pip install . --no-cache-dir