Hello Kasper, thanks for following up.
I installed Datetime module using pip. The module is there but still the
same error. Looks like a setup error. Here is the pip output:
asgiref==3.2.3
DateTime==4.3
Django==3.0.1
pytz==2019.3
pywin32==227
sqlparse==0.3.0
virtualenv==16.7.8
zope.interface==4.7.
Can you please check whether the python interpreter inside the virtual
environment is python 2 or python 3 ?
In order to do so, you need to goto to the virtualenv folder, activate
cargo env, and then check "python -V"
On Mon, Jan 6, 2020 at 7:10 PM Kasper Laudrup wrote:
> Hi Bhushan,
>
> On 06/0
Hi Bhushan,
On 06/01/2020 18.20, Bhushan Gupta wrote:
Recreated virtual environment – no change.
Inside your virtual environment, what's the output of:
# pip freeze
?
Kind regards,
Kasper Laudrup
--
You received this message because you are subscribed to the Google Groups "Django
users"
: django-users@googlegroups.com
Subject: Re: ModuleNotFoundError: No module named 'datetime'
How about deleting your virtualenv and recreating a new one.
It may be located here ::: C:\Users\\.virtualenvs\cargo
When reactivated, could you please provide as with the results of "ec
How about deleting your virtualenv and recreating a new one.
It may be located here ::: C:\Users\\.virtualenvs\cargo
When reactivated, could you please provide as with the results of "echo
$PATH" from cmdline.
On Fri, Jan 3, 2020 at 7:09 PM sanusi ibrahim adekunle <
ibrahimsanusiw...@gmail.com>
You do not have datetime module installed on your virtual environment.
To install, type this command: "pip install datetime"
On Fri, Jan 3, 2020, 18:37 bhushan Gupta wrote:
> I want to use Django to build a simple portal. I have done the following
> on Windows 10
> installed Python 3.8 and pip
I went to windows environment variables and added the last two lines. I was
following instructions from:
https://www.codingforentrepreneurs.com/blog/install-python-django-on-windows
C:\Program Files (x86)\Python38-32\Lib\site-packages
C:\Program Files (x86)\Python38-32\Lib\site-packages\django\b
On Friday, 3 January 2020 17:38:27 UTC, bhushan Gupta wrote:
>
> I want to use Django to build a simple portal. I have done the following
> on Windows 10
> installed Python 3.8 and pip
> Installed virtualenv
> Created an env 'cargo'
> Installed Djengo 3.0.1
> Set the path:
> C:\Program Files (x
8 matches
Mail list logo