Closed Eichhof closed 4 years ago
I think it is because
pos = np.zeros([3, len(x)])
pos[0,:] = x
pos[1,:] = y
should be,
pos = np.zeros([len(x), 3])
pos[:,0] = x
pos[:,1] = y
Thanks a lot. Now I'm getting another error:
ImportError Traceback (most recent call last)
This seems like you have installed pysphviewer (and maybe python as a whole) as 64bit but you run on a 32bit system.
Are you able to check what Windows architecture you have installed, 32bit or 64bit? and also, maybe what python version you installed, again either 32bit or 64bit?
@alejandrobll likely knows more, my Windows knowledge is poor.
I'm running Windows 7 64-bit and Python 3.7.1 64-bit version. Perhaps the problem is connected to my previous problem: https://github.com/alejandrobll/py-sphviewer/issues/13 although I did not get any errors during installation.
@alejandrobll I'm not able to solve the problem. I would really appreciate if you could give some advice. Thank you very much.
Hi @Eichhof, how did you install py-sphviewer?
I tested py-sphviewer on a Windows machine with a conda environment and it seems to work fine. Due to lack of further information on the issue, I'll close it now. This can be reopened if needed.
Hello
I have the following method:
I'm now calling this method with
img, extent = sphviewer_plot(df_touch_main["x"].values, df_touch_main["y"].values, 16, xsize=1000, ysize=1000)
where df_touch_main is a DataFrame. Both df_touch_main["x"].values and df_touch_main["y"].values are of size 645019. The detailed error I get is the following:ValueError Traceback (most recent call last)