pipenv icon indicating copy to clipboard operation
pipenv copied to clipboard

how can we create a same folder storage without effect other pipenv

Open xalteropsx opened this issue 1 year ago • 1 comments

the problem if i set home env the other library will get broken cause they link with c drive local path i just want to set some pipenv to same folder

xalteropsx avatar Jun 08 '24 21:06 xalteropsx

This seems like an issue with python-dotenv. I don't really understand what you are trying to do, but if you override the HOME path in .env, it will have unexpected consequences.

oz123 avatar Jun 09 '24 19:06 oz123

sorry really for late reply having some trouble

actually the file store in c drive virtual env of pipenv

but i dont want to store many time on c drive like i want a feature or may be it existed their that allow me to do control over where the virtual env folder can be store likewise i also want to store it on default c drive but only some i want

in ur answer u mention Home @oz123 is their a way to when pipenv shell ? can we define set Home like where should it go ?

xalteropsx avatar Jul 07 '24 01:07 xalteropsx

If I understood you correctly, you are trying to control the location of the virtualenv created by pipenv in the directory of the project or you can create a custom path by setting PIPENV_CUSTOM_VENV_NAME. You can change the location of the virtualenv by setting environment variables before invoking pipenv for the first time. There is no way to move a virtualenv to a new location. Once created it's fixed. You need to remove it and create a new one.

oz123 avatar Jul 07 '24 05:07 oz123

yah i want something like that but i didnt understand what u meant by custom venv name change name not path ?

like if i pipenv shell it create instant env folder in c/user/virtualenv and without setting pipenv how can we set these variable?

so for basic example i want something like this approach pipenv shell --virtualenv x:/junk/panda

xalteropsx avatar Jul 07 '24 08:07 xalteropsx

Before you run pipenv shell you. can set environment variables effecting it's behavior. Please see here how to do this in windows.

http://xahlee.info/mswin/env_var.html

oz123 avatar Jul 07 '24 12:07 oz123

Hey dude what u showing u to me am I look kid too u?

xalteropsx avatar Jul 07 '24 14:07 xalteropsx

u unable to answer me of an easiest question give many time wrong approach and answer

The problem with u I told u many time I don't want to set env else it will be lock I want much custom target not a lock to single path or inside root directory lock they both been u just define a global way of doing this is completely a false answer toward this question I don't know u know very well but u don't seems to properly answer me even as virtual env is much better then ur pipenv i will create my own library cause ur library has previous record of this question as trolled as well can't do anything

xalteropsx avatar Jul 07 '24 14:07 xalteropsx

@xalteropsx you look like a kid when you write like this. We aren't going to help you when you display such an attitude, bad grammar and cannot explain what you are trying to do.

matteius avatar Jul 07 '24 15:07 matteius