codeapp icon indicating copy to clipboard operation
codeapp copied to clipboard

[Python] Cannot make a python virtual environment

Open dashplaygrounds opened this issue 3 years ago • 12 comments

I cannot make a python virtual environment through the command: python -m venv env

Are there any workaround so that I can make this happen?

(env) $ deactivate

Thanks in advance.

dashplaygrounds avatar Apr 25 '22 01:04 dashplaygrounds

This currently the expected behaviour but I'll try to support this.

bummoblizard avatar Apr 25 '22 13:04 bummoblizard

Try using python -m virtualenv env

KushagraChaturvedi avatar Apr 26 '22 01:04 KushagraChaturvedi

Hi, the app crashes using that command. What is working for you?

On Tue, Apr 26, 2022 at 9:33 AM Kushagra Chaturvedi < @.***> wrote:

Try using python -m virtualenv env

— Reply to this email directly, view it on GitHub https://github.com/thebaselab/codeapp/issues/425#issuecomment-1109204081, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXVUJ7HABEA3NQII47TUSHDVG5BU3ANCNFSM5UHB2X5Q . You are receiving this because you authored the thread.Message ID: @.***>

dashplaygrounds avatar Apr 26 '22 03:04 dashplaygrounds

Its working perfectly fine for me. But venv is not even recognized. python --version: 3.9.8 virtualenv --version: 20.10.0 If u get any idea about what is the issue pls reply.

KushagraChaturvedi avatar Apr 26 '22 06:04 KushagraChaturvedi

try this : geeksforgeeks solution also discussed here in stack overflowstack overflow solution if not please share a detail about your problem error

romeojha avatar Apr 26 '22 18:04 romeojha

I'm not sure how @chiragChaturvedi did it, as the current expected behaviour using venv is a too many scripts error. By the way the bundled Python version should be 3.9.2, I'm not sure how he got it at 3.9.8.

bummoblizard avatar Apr 26 '22 21:04 bummoblizard

@chiragChaturvedi how did you upgraded your python to 3.9.8?

dashplaygrounds avatar Apr 27 '22 01:04 dashplaygrounds

I did not upgrade. I installed the 3.9.8 version

KushagraChaturvedi avatar Apr 27 '22 04:04 KushagraChaturvedi

I'm not sure how @chiragChaturvedi did it, as the current expected behaviour using venv is a too many scripts error. By the way the bundled Python version should be 3.9.2, I'm not sure how he got it at 3.9.8.

I installed it too, without problems a while ago, not sure how I did tho...

luni-moon avatar Apr 28 '22 15:04 luni-moon

What is your app version? What command do you use to activate your virtual environment? There is no “source” or ‘.’ command.

On Tue, Apr 26, 2022 at 2:12 PM Kushagra Chaturvedi < @.***> wrote:

Its working perfectly fine for me. But venv is not even recognized. python --version: 3.9.8 virtualenv --version: 20.10.0 If u get any idea about what is the issue pls reply.

— Reply to this email directly, view it on GitHub https://github.com/thebaselab/codeapp/issues/425#issuecomment-1109385722, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXVUJ7ALUGE3FBEQIK2P6D3VG6CNJANCNFSM5UHB2X5Q . You are receiving this because you authored the thread.Message ID: @.***>

dashplaygrounds avatar Oct 11 '22 08:10 dashplaygrounds