Installation Question

已查看 14 次
跳至第一个未读帖子

Michael Achterberg

未读,
2019年3月28日 12:32:082019/3/28
收件人 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

未读,
2019年3月28日 12:37:482019/3/28
收件人 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

未读,
2019年3月28日 12:52:202019/3/28
收件人 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

未读,
2019年3月28日 12:54:412019/3/28
收件人 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

未读,
2019年3月28日 14:36:552019/3/28
收件人 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

未读,
2019年3月28日 14:38:082019/3/28
收件人 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

未读,
2019年3月28日 15:12:102019/3/28
收件人 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

未读,
2019年3月29日 03:45:202019/3/29
收件人 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

未读,
2019年3月29日 03:54:012019/3/29
收件人 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

未读,
2019年3月29日 04:08:552019/3/29
收件人 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.
回复全部
回复作者
转发
0 个新帖子