[issue44286] venv activate script would be good to show failure.

2021-06-04 Thread john kim


john kim  added the comment:

Okay. Thank you for the detailed explanation.

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue44286>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44286] venv activate script would be good to show failure.

2021-06-03 Thread john kim


john kim  added the comment:

Thank you for your explanation of venv.

I understand that venv is not portable. 

But I was confused because the venv was written on the left side of the 
terminal line and it looked like it was working.

Therefore, if venv does not work, such as if __venv_dir__ is invalid path, i 
thought any warning message or exception handling was necessary. Or (venv) 
doesn't show up.

--

___
Python tracker 
<https://bugs.python.org/issue44286>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44286] venv activate script would be good to show failure.

2021-06-02 Thread john kim


New submission from john kim :

I changed the path of the project using venv, so it didn't work properly.

I thought it worked successfully because there was a (venv) on the terminal 
line.

However, the __VENV_DIR__ in the 

set "VIRTUAL_ENV=__VENV_DIR__" 

in the activate script did not work properly because it was the PATH before the 
replacement.

How about adding a procedure to verify the __VENV_DIR__ is a valid PATH to the 
Activate Script?

--
components: Library (Lib)
messages: 394909
nosy: idle947
priority: normal
severity: normal
status: open
title: venv activate script would be good to show failure.
type: enhancement
versions: Python 3.7

___
Python tracker 
<https://bugs.python.org/issue44286>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com