ARGPARSE ERROR

28 views
Skip to first unread message

Ank

unread,
Apr 12, 2018, 11:04:22 AM4/12/18
to Django users
Hi all,

Iḿ trying to setup Catmaid - http://catmaid.readthedocs.io/en/stable/. Iḿ receiving this error when installing requirements.

Progressbar2 3.6.2 requires argparse, which is not installed.
twisted 17.9.0 requires zope.interface>=3.6.0, which is not installed.
matplotlib 2.1.0 requires backports.functools-lru-cache, which is not installed.
django-rest-swagger 2.1.2 has requirement djangorestframework>=3.5.4, but you'll have djangorestframework 3.5.3 which is incompatible



 How it can be resolved ?

Best
Ank

Babatunde Akinyanmi

unread,
Apr 12, 2018, 2:54:22 PM4/12/18
to Django users
This is not a django problem. Simply install and upgrade the apps specified in the error message 

--
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/1fb16f72-1837-48f1-a8f6-c7bd64ca212f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ankush Sharma

unread,
Apr 12, 2018, 3:58:53 PM4/12/18
to django...@googlegroups.com
Hi Babatunde , 
I installed other listed tools ! Here the main concern im talking about is Argsparse - 
the Progressbar2 3.6.2 requires argparse, which is not installed.
Thanks in advance 
Ank





Michal Petrucha

unread,
Apr 13, 2018, 5:07:58 AM4/13/18
to django...@googlegroups.com
On Thu, Apr 12, 2018 at 07:58:08PM +0000, Ankush Sharma wrote:
> Hi Babatunde ,
> I installed other listed tools ! Here the main concern im talking about is
> Argsparse -
> the Progressbar2 3.6.2 requires argparse, which is not installed.
> Thanks in advance
> Ank

What version of Python are you running this on? Either it's a very old
one (2.6, 3.1), which would be unsupported by pretty much any
reasonably recent Python package, or your Python environment is messed
up somehow, and it lacks a part of the standard library. If the former
is the case, you need to migrate to a newer Python; if the latter,
then you need to fix your Python installation, and make sure that it
includes the entire standard library.

Good luck,

Michal
signature.asc

Ank

unread,
Apr 16, 2018, 6:26:41 AM4/16/18
to Django users
HI all ,

Installed Python 3.5 and still getting an error

django-rest-swagger 2.1.2 has requirement djangorestframework>=3.5.4, but you'll have djangorestframework 3.5.3 which is incompatible.


Any pointers to solve this

Thanks in advance

best
Ankush

Aditya Singh

unread,
Apr 16, 2018, 7:38:35 AM4/16/18
to django...@googlegroups.com
You need to download the latest version of django rest framework same as the version specified. If you need help on the commands let me know mate. Give it a shot it should help.
Kind Regards,
Aditya


--
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.

Anthony Flury

unread,
Apr 18, 2018, 2:20:48 AM4/18/18
to django...@googlegroups.com
Are you using virtual environments ?

I found an issues where it seemed like part of the standard library was
missing - and it was due to my virtual environment having an old version
of the Python 2 binary. Some time in the Python 2.7 lifecycle, there was
a change as to how the standard library C code modules were included in
the binary.

If you are using the 'pip' command you are likely to be using the Python
2 pip - even if you have Python 3.5 installed.

I would :

1. Check if you are using a virtual environment
2. Check the version of Python 2.7 you are using; the latest available
is 2.7.14
3. If you are using a virtual env and it is out of date (but your
system wide Python2.7 is ok), you can simply copy the python binary
over.
4. If both virtual env and System Python are ok - double check your pip
version, and Django version (although I doubt they are the issue).
5. If your system is out of date - update the system version.

I am not sure the same issue exists with old Python 3 versions - but it
might be worth ensuring that you up to date versions of Python3.x and
also 'pip3' which is the Python3 version of pip on systems with both
Python 2 & Python 3 installed.

Good luck.

--
Anthony Flury
email : *Anthon...@btinternet.com*
Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>*
> <mailto:django-users...@googlegroups.com>.
> To post to this group, send email to
> django...@googlegroups.com
> <mailto:django...@googlegroups.com>.
> <https://groups.google.com/d/msgid/django-users/1fb16f72-1837-48f1-a8f6-c7bd64ca212f%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 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
> <mailto:django-users...@googlegroups.com>.
> To post to this group, send email to django...@googlegroups.com
> <mailto: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/CA%2BWjgXMHx_zdBtc_NG%2Bn1JMfi4oxTPHy_1y2Pw75VpxfX%2BxuqA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2BWjgXMHx_zdBtc_NG%2Bn1JMfi4oxTPHy_1y2Pw75VpxfX%2BxuqA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 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
> <mailto:django-users...@googlegroups.com>.
> To post to this group, send email to django...@googlegroups.com
> <mailto: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/CAALWEk2D4B%3D%3Dw%2BD1BK3TpZQ8fEwCE8-s8nDWMZztO3ZPu4tBXw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAALWEk2D4B%3D%3Dw%2BD1BK3TpZQ8fEwCE8-s8nDWMZztO3ZPu4tBXw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages