yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #09217
Re: [Bug 1134422] Re: The "version" argument to ArgumentParser is deprecated.
Hi guys,
I have changed optparse module in yade executable (which is deprecated for
s long time) to argparse module. I thought, that argparse is present in all
python distributions, but evidently not 100%.
@Christian: sudo apt-get install python-argparse
which was already added to documentation by Anton in one of previous
commits.
@Bruno: I will have a look
sorry for the problems
Jan
2013/2/27 Christian Jakob <1134422@xxxxxxxxxxxxxxxxxx>
> @Bruno: Be lucky, that your yade starts!
> I get:
>
> Traceback (most recent call last):
> File "/home/me/YADE/YADEinstalled/bins/yade-2013-02-27.git-ee85e8a",
> line 38, in <module>
> import argparse
> ImportError: No module named argparse
>
> --
> You received this bug notification because you are a member of Yade
> developers, which is subscribed to Yade.
> https://bugs.launchpad.net/bugs/1134422
>
> Title:
> The "version" argument to ArgumentParser is deprecated.
>
> Status in Yet Another Dynamic Engine:
> New
>
> Bug description:
> What is that? (ubuntu 10.04)
>
> me: ./yade
> /usr/lib/pymodules/python2.6/argparse.py:1576: DeprecationWarning: The
> "version" argument to ArgumentParser is deprecated. Please use
> "add_argument(..., action='version', version="N", ...)" instead
> """instead""", DeprecationWarning)
> Welcome to Yade 2013-02-26.git-e25a399
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/yade/+bug/1134422/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help : https://help.launchpad.net/ListHelp
>
--
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1134422
Title:
The "version" argument to ArgumentParser is deprecated.
Status in Yet Another Dynamic Engine:
New
Bug description:
What is that? (ubuntu 10.04)
me: ./yade
/usr/lib/pymodules/python2.6/argparse.py:1576: DeprecationWarning: The "version" argument to ArgumentParser is deprecated. Please use "add_argument(..., action='version', version="N", ...)" instead
"""instead""", DeprecationWarning)
Welcome to Yade 2013-02-26.git-e25a399
To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1134422/+subscriptions
References