Installation Question

14 views
Skip to first unread message

Michael Achterberg

unread,
Mar 28, 2019, 12:32:08 PM3/28/19
to 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

unread,
Mar 28, 2019, 12:37:48 PM3/28/19
to 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

unread,
Mar 28, 2019, 12:52:20 PM3/28/19
to 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

unread,
Mar 28, 2019, 12:54:41 PM3/28/19
to 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

unread,
Mar 28, 2019, 2:36:55 PM3/28/19
to 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

unread,
Mar 28, 2019, 2:38:08 PM3/28/19
to 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

unread,
Mar 28, 2019, 3:12:10 PM3/28/19
to 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

unread,
Mar 29, 2019, 3:45:20 AM3/29/19
to 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

unread,
Mar 29, 2019, 3:54:01 AM3/29/19
to 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

unread,
Mar 29, 2019, 4:08:55 AM3/29/19
to 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.
Reply all
Reply to author
Forward
0 new messages