-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
ValueError: cannot set WRITEABLE flag to True of this array #977
Comments
The same problem occurs for @manolis07gr (see #976). |
What are the versions of numpy and pytables that you are using @cradesto, @manolis07gr? |
@chvogl I am using 1.17.4 for NumPy and 3.4.4 for Tables:
|
@manolis07gr, as suggested by @cradesto you might try to downgrade numpy. I currently use 1.15.4 (conda install numpy=1.15.4) and the same version of pytables as you. |
@chvogl just did but I get a new error now: |
There a numerous issues that deal with this problem e.g. scikit-learn-contrib/hdbscan#272. Upgrading to numpy=1.16.1 might solve the problem. |
It might also be a good idea to redo the TARDIS installation (since the problem seems to occur in compiled cython code). Use git clean -dfx to remove all compiled files and rerun python setup.py install. |
I remember I used this command to solve the problem, referring to (pandas-dev/pandas#24839 (comment)): pip install -e git+https://github.com/PyTables/PyTables@492ee2f#egg=tables I am not sure whether this problem depends on OS, because I was installing tardis on both my laptop (ubuntu 19.10) and a supercomputer (centos), and the compatible pandas/numpy seems to be different. name: tardis
|
Hi @chvogl, I now get a new error: Traceback (most recent call last): |
@manolis07gr, could you please run |
@chvogl - I managed to reinstall pyne and numba on my conda tardis environment and things now run smoothly for this quickstart test - thank you so much for your patience and help! I am sure I may be reaching out again soon when I try to run my own application. Thanks again. |
@manolis07gr, that is great. Happy to help! |
@cradesto download the newest environment file - it should now work. |
Problem description
We are trying to install TARDIS from the scratch following the description on
https://tardis-sn.github.io/tardis/installation.html
After that we are trying to run example notebook
docs/models/examples/run_simple_example.ipynb
And we fall into the error
ValueError: cannot set WRITEABLE flag to True of this array
on step 3:
#TARDIS now uses the data in the data repo
sim = run_tardis('tardis_example.yml')
We are thinking that this error is connected with this issue
pandas-dev/pandas#24839
But we cannot either downgrade numpy version
or upgrade pytables version as recommended on the page
pandas-dev/pandas#24839.
The text was updated successfully, but these errors were encountered: