Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to move pip
#1
hi, sorry for my bad English,
my pip in C:\Users\PcUserName\AppData\Local
The C:\ drive is almost full, I would like to move it to the D:\ drive,
I don't mind if I must reinstall pip packages,
Please guide me on how to do it
Reply
#2
Look at installation under Windows
Uninstall your python version.
Then when install as image in link use customize installation then choice a path eg D:\python.
Also look at Environment Variables Path in link if python and pip don't work anywhere from cmd.
Microsoft Windows [Version 10.0.19045.3324]
(c) Microsoft Corporation. Med enerett.

C:\Users>cd ..

C:\>python  -V
Python 3.11.3

C:\>pip -V
pip 23.1.2 from C:\python311\Lib\site-packages\pip (python 3.11)

C:\>
Reply
#3
(Sep-04-2023, 12:07 PM)snippsat Wrote: Look at installation under Windows
Uninstall your python version.
Then when install as image in link use customize installation then choice a path eg D:\python.
Also look at Environment Variables Path in link if python and pip don't work anywhere from cmd.
Microsoft Windows [Version 10.0.19045.3324]
(c) Microsoft Corporation. Med enerett.

C:\Users>cd ..

C:\>python  -V
Python 3.11.3

C:\>pip -V
pip 23.1.2 from C:\python311\Lib\site-packages\pip (python 3.11)

C:\>

pip -V
pip 23.2.1 from D:\Python\Lib\site-packages\pip (python 3.11)

so it save to delete from
C:\Users\PcUserName\AppData\Local
???
Reply
#4
(Sep-04-2023, 01:25 PM)kucingkembar Wrote: so it save to delete from
C:\Users\PcUserName\AppData\Local
???
Not at all Local is folder with lot of sub folders,so that would mess up stuff.
When uninstall it should only remove C:\Users\PcUserName\AppData\Local\Python311

Quote:pip -V
pip 23.2.1 from D:\Python\Lib\site-packages\pip (python 3.11
You pip works correct now,so not need to mess with anything now.
Reply
#5
(Sep-04-2023, 02:48 PM)snippsat Wrote:
(Sep-04-2023, 01:25 PM)kucingkembar Wrote: so it save to delete from
C:\Users\PcUserName\AppData\Local
???
Not at all Local is folder with lot of sub folders,so that would mess up stuff.
When uninstall it should only remove C:\Users\PcUserName\AppData\Local\Python311

Quote:pip -V
pip 23.2.1 from D:\Python\Lib\site-packages\pip (python 3.11
You pip works correct now,so not need to mess with anything now.
I know it is correct, but my empty space is under 6 GB, and pip folder in C:\Users\PcUserName\AppData\Local have 10gb+
is this pip folder safe to delete?
Reply
#6
(Sep-04-2023, 06:40 PM)kucingkembar Wrote: I know it is correct, but my empty space is under 6 GB, and pip folder in C:\Users\PcUserName\AppData\Local have 10gb+
is this pip folder safe to delete?
Yes pip folder can delete,but that clean up very little place.
If clean up use WinDirStat to see what take most place.
Use PatchCleaner and Disk cleanup(look for Clean up system files),these can clean up many gigabytes of data.
Reply
#7
(Sep-04-2023, 07:50 PM)snippsat Wrote:
(Sep-04-2023, 06:40 PM)kucingkembar Wrote: I know it is correct, but my empty space is under 6 GB, and pip folder in C:\Users\PcUserName\AppData\Local have 10gb+
is this pip folder safe to delete?
Yes pip folder can delete,but that clean up very little place.
If clean up use WinDirStat to see what take most place.
Use PatchCleaner and Disk cleanup(look for Clean up system files),these can clean up many gigabytes of data.
thank you
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020