[Mist-support] MIST Test Code Error
Jacob Barhak
jacob.barhak at gmail.com
Thu Mar 24 00:30:18 PDT 2016
Hi Everett,
It seems that the new version of Anaconda uses by default a new version of
Matplotlib that breaks previous MIST code.
If you wish to use MIST 0_92_0_0 with the plot capability, you should
downgrade Matplotlib. Within anaconda, you can do this by using the command:
conda install matplotlib=1.3.1
This worked on my windows machine. And is a suitable ad hoc solution if you
have no code that depends on a newer matplotlib version.
Note that the plot capability is related to the MIST script
CreatePlotsFromCSV.py. This script is rarely used for basic modeling and
simulation, and you can use other MIST capabilities without changing the
matplotlib version, as long as you ignore the plot capabilities in the
CreatePlotsFromCSV.py script.
If TestCode.py does not report any other error, you should be good to
proceed. Yet it is better to test this at least once by using the
matplotlib downgrade command.
I will check downstream to see what was upgraded in Matplotlib to avoid
this issue in the future and may provide other solutions. I also opened an
issue in Github to address this.
Let me know if you encounter any other issues.
Yet hopefully, this solution will allow you to proceed for now.
Jacob
On Wed, Mar 23, 2016 at 7:10 PM, Everett Mumford <emumford at uw.edu> wrote:
> Hi Jacob,
>
>
>
> Thank you for your prompt response. I am using Windows 8.1. I am using
> Anaconda (64-BIT) for Python 2.7. My matplotlib version is 1.5.1.
>
>
>
> Best regards,
>
> Everett Mumford
>
>
>
> *From:* Jacob Barhak [mailto:jacob.barhak at gmail.com]
> *Sent:* Wednesday, March 23, 2016 4:52 PM
> *To:* Everett Mumford <emumford at uw.edu>
> *Cc:* mist-support at simtk.org
> *Subject:* Re: [Mist-support] MIST Test Code Error
>
>
>
> Hi Everett,
>
> What OS are you using? What kind of python distribution you are using and
> what is your matplotlib version?
> If you are using anaconda, can you specify what version?
>
> This will help isolate the issue and treat it.
>
> The goods news are that if only the plots do not pass the test script,
> then you can still use the system for modeling and simulation and export
> data to create plots outside the system.
>
> Jacob
>
> On Mar 23, 2016 6:40 PM, "Everett Mumford" <emumford at uw.edu> wrote:
>
> Hi MIST support,
>
>
>
> I am having issues running TestCode.py. The code gets an error when it
> reaches the PlotGeneration scripts. The code does not always error out on
> the same script (e.g. I have run into errors when the code tries to run
> PlotGeneration5_rmjj.py, PlotGenerationoit6qb.py, etc.). I have tried
> uninstalling and then reinstalling the package several times.
>
>
>
> Have you seen a similar error? And can you please provide assistance?
>
>
>
> Thanks!
>
>
>
> Best regards,
>
> Everett Mumford
>
>
> _______________________________________________
> MIST-support mailing list
> MIST-support at simtk.org
> https://simtk.org/mailman/listinfo/mist-support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://simtk.org/pipermail/mist-support/attachments/20160324/b94efdf7/attachment.html>
More information about the MIST-support
mailing list