itzi upgrade to 20.5

66 views
Skip to first unread message

Jairo Arturo Torres M.

unread,
Jul 21, 2020, 6:05:43 PM7/21/20
to Itzï
Dear community,

I have upgraded successfully itzi from 18.2 to 20.5 on my Linux Ubuntu OS. However, if I invoke "itzi version" still it shows 18.2 as version and my code fails to run because the executable is pointing to the old version, I guess. Any hint to solve this issue?

Thanks,

Arturo

Laurent C.

unread,
Jul 22, 2020, 12:41:08 AM7/22/20
to Jairo Arturo Torres M., Itzï
Hi Arturo,

If "itzi version" shows "18.2" then it seems the upgrade did not work. What is the error message that you get?
Maybe you installed the two versions in two separate python environments? Does "which itzi" returns the right executable?

Regards,
Laurent


--
You received this message because you are subscribed to the Google Groups "Itzï" group.
To unsubscribe from this group and stop receiving emails from it, send an email to itzi+uns...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/itzi/fbfcdde7-fa31-4ad5-8a34-c4363146c604o%40googlegroups.com.

Jairo Arturo Torres M.

unread,
Jul 22, 2020, 5:01:39 AM7/22/20
to Itzï
the error after invoking "itzi run" is:

$ itzi run itzi_goe_parameters.ini
Starting simulation of itzi_goe_parameters.ini...                   
WARNING: Error during execution: Traceback (most recent call last):
  File "/home/torres_30400/.local/lib/python2.7/site-packages/itzi/itzi.py", line 210, in sim_runner_worker
    sim_runner.run()
  File "/home/torres_30400/.local/lib/python2.7/site-packages/itzi/itzi.py", line 93, in run
    from itzi.simulation import SimulationManager
  File "/home/torres_30400/.local/lib/python2.7/site-packages/itzi/simulation.py", line 22, in <module>
    from itzi.surfaceflow import SurfaceFlowSimulation
  File "/home/torres_30400/.local/lib/python2.7/site-packages/itzi/surfaceflow.py", line 22, in <module>
    import itzi.flow as flow
And the "which itzi" is:

$ which itzi
/home/torres_30400/.local/bin/itzi


El miércoles, 22 de julio de 2020, 6:41:08 (UTC+2), Laurent C. escribió:
Hi Arturo,

If "itzi version" shows "18.2" then it seems the upgrade did not work. What is the error message that you get?
Maybe you installed the two versions in two separate python environments? Does "which itzi" returns the right executable?

Regards,
Laurent


Le mar. 21 juil. 2020 à 17:05, Jairo Arturo Torres M. <jairoa...@gmail.com> a écrit :
Dear community,

I have upgraded successfully itzi from 18.2 to 20.5 on my Linux Ubuntu OS. However, if I invoke "itzi version" still it shows 18.2 as version and my code fails to run because the executable is pointing to the old version, I guess. Any hint to solve this issue?

Thanks,

Arturo

--
You received this message because you are subscribed to the Google Groups "Itzï" group.
To unsubscribe from this group and stop receiving emails from it, send an email to it...@googlegroups.com.

Laurent C.

unread,
Jul 22, 2020, 11:15:53 AM7/22/20
to Jairo Arturo Torres M., Itzï
Arturo,

It seems the trace you sent is incomplete. It does not show the actual error.
However, I recommend you uninstall itzi with pip, then install the last version. To make sure you are using python3, use pip3.

Regards,
Laurent

To unsubscribe from this group and stop receiving emails from it, send an email to itzi+uns...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/itzi/ee59bc0e-6df6-41da-960e-1bbe79d15e13o%40googlegroups.com.

Jairo Arturo Torres M.

unread,
Jul 24, 2020, 4:51:04 AM7/24/20
to Itzï
Thanks Laurent. You were right, I used pip3 upgrade to be sure it works with python 3. That solved the problem. Thanks.
Reply all
Reply to author
Forward
0 new messages