Installing python dateutil

前端 未结 3 1199
南笙
南笙 2021-02-03 17:30

I tried to install python dateutil for my django tastypie but unsuccessful,

http://labix.org/python-dateutil#head-2f49784d6b27bae60cde1cff6a535663cf87497b

I down

相关标签:
3条回答
  • 2021-02-03 17:59

    On Windows:

    Simply use following code,

    $ pip install python-dateutil
    

    If you want with easy_install try below command,( run Command Prompt CMD as Administrator )

    $ easy_install python-dateutil
    

    On Ubuntu:

    For Ubuntu OS use following code,

    sudo apt-get install python-dateutil
    
    0 讨论(0)
  • 2021-02-03 18:02

    This will install tastypie and its dependencies:

    $ easy_install pip
    $ pip install django-tastypie
    

    To get only dateutil:

    $ pip install python-dateutil
    
    0 讨论(0)
  • 2021-02-03 18:08

    I am not sure if this is different on Windows, but it does not appear you are referencing an actual link (see the Reading line). Instead, try this:

    easy_install python-dateutil
    

    That will (hopefully) get the package you need. Also, see this post for what looks like a similar issue.

    0 讨论(0)
提交回复
热议问题