Installation Question

Visto 14 veces
Saltar al primer mensaje no leído

Michael Achterberg

no leída,
28 mar 2019, 12:32:0828/3/19
a django...@googlegroups.com
I've installed Python 3.7 which comes with pip installed. When I try to create a virtualenv I get a SyntaxError: invalid syntax

What am I doing wrong?


Regards,

Michael Achterberg
E-mail: mic...@achterberg.org.za

Sithembewena L. Dube

no leída,
28 mar 2019, 12:37:4828/3/19
a django...@googlegroups.com
Can you paste the command you are running?

Kind regards,
Sithembewena


Sent with Shift

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/gbimmpfv2sa1f3o8032dbxih.1553790005386%40email.android.com.
For more options, visit https://groups.google.com/d/optout.

Sandip Nath

no leída,
28 mar 2019, 12:52:2028/3/19
a Django users
Please try to be more informative when posting a question. Please answer this:
1. what os are you using? Windows/Mac/linux.
2. Do you have any other version(s) of Python installed in your system?

Sandip Nath

no leída,
28 mar 2019, 12:54:4128/3/19
a Django users
Definitely will help you with your installation. But first reply to the questions. Because the remedy will depend on your reply.


On Thursday, 28 March 2019 22:02:08 UTC+5:30, michael wrote:

Michael Achterberg

no leída,
28 mar 2019, 14:36:5528/3/19
a django...@googlegroups.com
I am trying to run

Pip install virtualenv

As well as

virtualenv my_env


Regards,

Michael Achterberg
Achterberg Consulting (Pty) Ltd
Tel: +27 (0)78 128 3948
E-mail: mic...@achterberg.org.za


-------- Original message --------
From: "Sithembewena L. Dube" <zeb...@gmail.com>
Date: 28/03/2019 18:36 (GMT+02:00)
To: django...@googlegroups.com
Subject: Re: Installation Question

Can you paste the command you are running?

Kind regards,
Sithembewena


Sent with Shift

On Thu, Mar 28, 2019 at 6:31 PM Michael Achterberg <mic...@achterberg.org.za> wrote:
I've installed Python 3.7 which comes with pip installed. When I try to create a virtualenv I get a SyntaxError: invalid syntax

What am I doing wrong?


Regards,

Michael Achterberg
E-mail: mic...@achterberg.org.za

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/gbimmpfv2sa1f3o8032dbxih.1553790005386%40email.android.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Michael Achterberg

no leída,
28 mar 2019, 14:38:0828/3/19
a django...@googlegroups.com
I am running Windows 10

No other versions of of Python, only 3.7.3



Regards,

Michael Achterberg
Achterberg Consulting (Pty) Ltd
Tel: +27 (0)78 128 3948
E-mail: mic...@achterberg.org.za


-------- Original message --------
From: Sandip Nath <techs...@gmail.com>
Date: 28/03/2019 18:52 (GMT+02:00)
To: Django users <django...@googlegroups.com>
Subject: Re: Installation Question

Please try to be more informative when posting a question. Please answer this:
1. what os are you using? Windows/Mac/linux.
2. Do you have any other version(s) of Python installed in your system?

On Thursday, 28 March 2019 22:02:08 UTC+5:30, michael wrote:
I've installed Python 3.7 which comes with pip installed. When I try to create a virtualenv I get a SyntaxError: invalid syntax

What am I doing wrong?


Regards,

Michael Achterberg
E-mail: mic...@achterberg.org.za

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

KONE GOMPOU LOUA ALASSANE

no leída,
28 mar 2019, 15:12:1028/3/19
a django...@googlegroups.com
You must install  virtualenv first,

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Michael Achterberg

no leída,
29 mar 2019, 3:45:2029/3/19
a django...@googlegroups.com
When I run

Pip install virtualenv

I still get the SyntaxError: invalid syntax



Regards,

Michael Achterberg
E-mail: mic...@achterberg.org.za


-------- Original message --------
From: KONE GOMPOU LOUA ALASSANE <gompo...@uvci.edu.ci>
Date: 28/03/2019 18:57 (GMT+02:00)
To: django...@googlegroups.com
Subject: Re: Installation Question

Anirudh Jain

no leída,
29 mar 2019, 3:54:0129/3/19
a django...@googlegroups.com
that's because you want to use python 3.7 but by default it is using python 2.7

Try this to install virutal env: pip install -p python3 virtualenv

Aldian Fazrihady

no leída,
29 mar 2019, 4:08:5529/3/19
a django...@googlegroups.com
Starting from Python 3.6, we don't need 3rd party virtualenv library.

 We can just do this:

python3.7 -m venv /path/to/env/


 Regards,

 Aldian Fazrihady


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos