简体   繁体   English

Python PIP 安装缓存路径 [windows]

[英]Python PIP Install Cache Path [windows]

I don't have enough space on my C drive (PRIMARY) and can't install packages due to not having enough space, I have installed my python onto my D drive.我的 C 驱动器(PRIMARY)上没有足够的空间并且由于没有足够的空间而无法安装软件包,我已将 python 安装到我的 D 驱动器上。

however when i try to install i get this error但是,当我尝试安装时,出现此错误

error: could not install packages due to an environmenterror: [errno 28] no space left on device

I have even made a symlink (directory) to point the pip folder from my windows user profile appdata folder to a folder named pip on my d drive, even when doing this I still get the error listed above.我什至创建了一个符号链接(目录),将 pip 文件夹从我的 windows 用户配置文件 appdata 文件夹指向一个名为 pip 的文件夹,即使在我上面列出的驱动器上仍然出现此错误。

Thanks for the support and help <3感谢您的支持和帮助<3

Edit: I have tried using a virtual enviroment, but still without success编辑:我尝试过使用虚拟环境,但仍然没有成功

Did you used the --target when installed the packages?您在安装软件包时是否使用了 --target ?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM