thebaselab / codeapp

Building a full-fledged code editor for iPad
https://code.thebaselab.com
MIT License
2.92k stars 199 forks source link

[Python] Cannot make a python virtual environment #425

Open dashplaygrounds opened 2 years ago

dashplaygrounds commented 2 years ago

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.

bummoblizard commented 2 years ago

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

KushagraChaturvedi commented 2 years ago

Try using python -m virtualenv env

dashplaygrounds commented 2 years ago

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: @.***>

KushagraChaturvedi commented 2 years ago

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.

romeojha commented 2 years ago

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

bummoblizard commented 2 years ago

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.

dashplaygrounds commented 2 years ago

@chiragChaturvedi how did you upgraded your python to 3.9.8?

KushagraChaturvedi commented 2 years ago

I did not upgrade. I installed the 3.9.8 version

luni-moon commented 2 years ago

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...

dashplaygrounds commented 1 year ago

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: @.***>

filiperochalopes commented 3 months ago

@bummoblizard any updates? It's not good to have all packages globally installed