-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish a compatible anaconda environment file #1
Comments
Hi Corado, This is a known issue that was recently introduced between Matplotlib/IPython. For the moment, you can run the code with
This will put IPython into interactive mode and run the script, then you can exit IPython interactive mode after you close the app's window. I will go back through the book and check all the versions we used and create a .yml file along with instructions on how to use it to set up a new environment. Best, |
Corado, Would you post the text of your .yml file here too? The links in your post above are not working. Thanks! Paul |
Hi Paul,
the current yml file I use is attached. Notice, however, that I have
just started to use the examples of the book and I think that my
environment will include more libraries.
Best wishes
Corrado
P.S. notice that the command python -i RollDieDynamic.py 6000 1 (su just
the python interpreter) works fine.
…On Wed, 18 Sep 2019 at 14:32, Paul Deitel ***@***.***> wrote:
Corado, Would you post the text of your .yml file here too? The links in
your post above are not working. Thanks! Paul
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=ABPK75UK46HQJP5WOZA3YHDQKINW7A5CNFSM4IX47WMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD674WGI#issuecomment-532663065>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPK75TQXVAMVVD24Z4WPIDQKINW7ANCNFSM4IX47WMA>
.
--
*Corrado Mencar*
|
I generated a fresh new anaconda environment including matplotlib 3.1.1 and pyqt 5.9.2
updated_environment.yml.txt
but when I try to execute
ipython RollDieDynamic.py 6000 1
i receive the message
QApplication: invalid style override passed, ignoring it.
(Notice that no problems arise when I execute
python RollDieDynamic.py 6000 1
, i.e. the python interpreter directly.In order to correctly execute the command
ipython RollDieDynamic.py 6000 1
I need to set up a new environment with matplotlib 2.2.2 and pyqt 5.6
working_environment.yml.txt
It is advisable that a working environment is published along the code, so as to guarantee that all the examples will work without any problems.
The text was updated successfully, but these errors were encountered: