These are chat archives for spyder-ide/public

11th
Feb 2019
Aslam Chagani
@achagani
Feb 11 00:06
I thought spyder was being discontinued. Has this changed recently?
CAM Gerlach
@CAM-Gerlach
Feb 11 00:11
@achagani Actually, Spyder was never being "discontinued"; rather, merely Anaconda ended their temporary financial support for the project a little over a year ago. This did delay Spyder 4's release substantially, from late summer 2018 to late-winter/early spring 2019, but we were able to find other sources of funding to help supplement progress on major feature additions. However, from the beginning, Spyder has always been a community-developed and led IDE, and is not inherently dependent upon any particular funding source, and thanks to the community and the grants and support of a variety of organizations, activity on the project is as high as its ever been, and we were named one of the top 10 fastest growing large projects by Github in 2018.
I apologize if you got that mistaken impression; some of our early statements on the matter were somewhat alarmist in tone and could have been worded better, but we're in the process of making that more clear.
stonebig
@stonebig
Feb 11 06:14
problem solved. Spyder3 is ok with Qt5.12
image.png
what else may i have miss ?
Carlos Cordoba
@ccordoba12
Feb 11 08:23

problem solved. Spyder3 is ok with Qt5.12

Great!! What was the issue?

Carlos Cordoba
@ccordoba12
Feb 11 08:30

image.png

I'm also seeing the same on Linux. I don't know what happens

QtAwesome (the library we use to display our icons) is working fine with PySide2
kevin chicaeme
@KChicaeme_twitter
Feb 11 17:08
Good afternoon, the variable explorer does not work for me. nothing appears.
CAM Gerlach
@CAM-Gerlach
Feb 11 17:26
@KChicaeme_twitter What variables have you tried to view in your session? Can you try a simple string or numeric? Also, check the filtering options under the gear icon in the top right corner, which can optionally hide certain values. Screenshot please?
kevin chicaeme
@KChicaeme_twitter
Feb 11 19:15
@CAM-Gerlach today I installed spyder 3.3.3, had priblemas with the error: (An error occurred while initiating the kernel) however, in PYTHONPATH place the env route of anaconda3 and the path of python3.6 in preferences / interprete of python /. and so it worked. but in the variable browser it does not show anything, in a moment I will send a screenshot.
CAM Gerlach
@CAM-Gerlach
Feb 11 19:22

(An error occurred while initiating the kernel)

What error? This could mean virtually anything, depending on what error is actually reported below.

@KChicaeme_twitter

in PYTHONPATH place the env route of anaconda3 and the path of python3.6 in preferences / interprete of python /

This means this was not set up properly to begin with; you should not have to do this hack. Instead, you can change your selected interpreter in the Spyder preferences under Python Interpreter > Use the following Python interpreter and setting the path to your desired work environment there.

stonebig
@stonebig
Feb 11 19:25
@ccordoba12 issue was that initial build was on PyQt5.9, and removing it to install PyQt5.12 was not ok.
but now I have that icons problem... ok it's this generic issue spyder-ide/spyder#8748
kevin chicaeme
@KChicaeme_twitter
Feb 11 19:40
I do not know how to send an image in this chat
CAM Gerlach
@CAM-Gerlach
Feb 11 19:40
@KChicaeme_twitter Just paste it directly. It worked before; I saw it before you deleted it for some reason.
The first time you tried it about 20 minutes ago it looked like it worked.
If you're using it in the sidebar of the Spyder website rather than on Gitter, open it on Gitter instead as some users have problems pasting into the former. Also, there have been occasional problems reported with Chrome, so try Firefox if you're using it. However, it looks like you already got it to work before.
kevin chicaeme
@KChicaeme_twitter
Feb 11 19:43
file:///home/kevin/Im%C3%A1genes/Captura%20de%20pantalla%20de%202019-02-11%2014-03-29.png
CAM Gerlach
@CAM-Gerlach
Feb 11 19:44
Try opening the file in an image viewer and copying it from there, or copying it directly from a screenshot tool. You're just pasting a link to the file.
I swear I saw it work before.
kevin chicaeme
@KChicaeme_twitter
Feb 11 19:45
 ![alt](file:///home/kevin/Im%C3%A1genes/Captura%20de%20pantalla%20de%202019-02-11%2014-03-29.png)
CAM Gerlach
@CAM-Gerlach
Feb 11 19:45
Nope
You need to copy the image data itself to the clipboard, not a MIME link to the file.
kevin chicaeme
@KChicaeme_twitter
Feb 11 19:51
alt
Is the image displayed?
CAM Gerlach
@CAM-Gerlach
Feb 11 19:53
No.
image.png
Again, are you trying this on the Spyder website or on gitter.im ? What browser are you using? Again, are you copying the image data itself, from your screenshot or image viewing application, or are you copying a file object from your file manager (which would explain the above results)?
kevin chicaeme
@KChicaeme_twitter
Feb 11 20:02
I have copied the image directly to the writing window, and I used a code from the right part of the chat
gitter.im
CAM Gerlach
@CAM-Gerlach
Feb 11 20:03
Browser?
kevin chicaeme
@KChicaeme_twitter
Feb 11 20:03
firefox
CAM Gerlach
@CAM-Gerlach
Feb 11 20:04
It should work. I still suspect the problem is due to you copying a file object rather than just the image data, as you can clearly see in your earlier attempts.
What distro are you using?
Again, I'm sure I saw it work before but you deleted it for some reason, so I suspect that time you copied it correctly but now you've copied the file object. Try taking the screenshot again directly to the clipboard (no saving a file in between) and immediately paste it here.
Yes, that's just a file path as you can clearly see.
As I've been saying all along, your problem is you need to copy the image data to the clipboard, not the image file
kevin chicaeme
@KChicaeme_twitter
Feb 11 20:25

basically my problem is that the variable scanner does not show me anything.

for example I have the code

import pandas as pd

fiddy_states = pd.read_html ('https://en.wikipedia.org/wiki/Estado_de_los_Estados_Unidos')
print (fiddy_states)

result:
[Status Official name [2] ... City with the highest population (2006) [5] Flag
0 Alabama State of Alabama ... Birmingham NaN
1 Alaska State of Alaska ... Anchorage NaN
2 Arizona State of Arizona ............... etc

but in the variable explorer nothing appears, I checked the filtering options below the gear icon in the upper right corner and it does not work either, it shows nothing.

imagen.png
CAM Gerlach
@CAM-Gerlach
Feb 11 20:29

fiddy_states = pd.read_html ('https://en.wikipedia.org/wiki/Estado_de_los_Estados_Unidos')

This code is not correct. I get a 404 when visiting it.

kevin chicaeme
@KChicaeme_twitter
Feb 11 20:29
imagen.png
CAM Gerlach
@CAM-Gerlach
Feb 11 20:32
That's strange. Now that I fixed the incorrect URL you provided and ran the code, everything works fine for me, and I've never had a problem under Linux (Fedora 28 LxQt on VBox) myself. Can you just try a trivial example like test_var = "Foo bar"?
kevin chicaeme
@KChicaeme_twitter
Feb 11 20:32
As you can see in the image it works, and before I showed the variables in the browser
CAM Gerlach
@CAM-Gerlach
Feb 11 20:34
Your link was incorrect. You somehow mixed the English subdomain with the Spanish page name in the version you copied here (while the version you ran locally did not have this problem). Of course, this is rather inconsequential.
The image showed up, thanks.
kevin chicaeme
@KChicaeme_twitter
Feb 11 20:34
imagen.png
CAM Gerlach
@CAM-Gerlach
Feb 11 20:37
Okay, thanks. Please provide your OS, Python, Qt/PyQt, spyder-kernels, IPython, ipykernel and pyzmq verions so we can try to isolate the problem (you can find them in the About Spyder window, in the Dependencies dialog under help, and/or with conda list in your Spyder environment.

Also, once you do that, try creating a new, isolated environment for Spyder with

conda create -n spyder-env python=3.6
source activate spyder-env
conda install spyder
spyder

and seeing if the problem persists.

kevin chicaeme
@KChicaeme_twitter
Feb 11 20:43
Ubuntu 18.04.1 LTS
64 bits
python3.6
imagen.png
kevin chicaeme
@KChicaeme_twitter
Feb 11 20:54
kevin@kevin-Rev-1-0:~$ conda create -n spyder-env python=3.6
conda: orden no encontrada
kevin@kevin-Rev-1-0:~$ source activate spyder-env
bash: activate: No existe el archivo o el directorio
kevin@kevin-Rev-1-0:~$ conda install spyder
;
conda: order not found
CAM Gerlach
@CAM-Gerlach
Feb 11 21:01
You stated above that you installed Spyder 3.3.3 (and I'm not sure how, since Anaconda packages are not available yet), but your screenshot clearly shows you're running 3.2.6. Please update to 3.3.2, as your version is around a year out of date. Also you are evidently running some sort of non-Anaconda install (which we aren't able to offer individual help with problems resulting from) with PyQt 5.10.x yet Qt 5.9.x, and so very likely the problem is related to that. Therefore, please install Spyder with Anaconda/Miniconda instead, or from a proper pip install in a clean virtualenv/venv if you are willing and able to resolve any machine-specific problems from the latter.
Thanks, and best of luck!
kevin chicaeme
@KChicaeme_twitter
Feb 11 22:11
Thanks for the information already works correctly
CAM Gerlach
@CAM-Gerlach
Feb 11 22:42
Okay, great to hear @KChicaeme_twitter ! How did you get it working? Also, please update to 3.3.2 (or 3.3.3, which should be already out on PyPA if you're using pip) which has hundreds of bug fixes, new features and enhancements through the interface. Further, its so old that the link to our documentation no longer works, since it got moved to our new site, and I'm not sure the Github reporting or several other features will work either. Also, if you don't switch to Miniconda/Anaconda, we recommend you at least downgrade to 5.9.x versions of PyQt and Qt since we only support the LTS releases (5.12 just came out, and we should offer support for it shortly if not already in 3.3.3). Thanks!
kevin chicaeme
@KChicaeme_twitter
Feb 11 22:49
The only problem I have is that this ad appears in some Dataframes:
imagen.png
imagen.png
imagen.png
CAM Gerlach
@CAM-Gerlach
Feb 11 22:54
Okay, under Help > Dependencies can you report your version of pandas, cloudpickle and spyder-kernels (if spyder-kernels is not there, you might have to check from the command line with conda or pip (however you installed them), and paste a code snippit of a pandas dataframe that will reproduce the problem for you? Thanks.
Afshin Salehi
@Ash-Labs
Feb 11 23:23
Hi I'm a beginner. I want to use the WinPython 3.7.1 but the Spyder crashes(ordinal 272 could not be found). I have win 7-64 bits. The Spyder Winpython 2.7 works fine. Whats the reason for this?
CAM Gerlach
@CAM-Gerlach
Feb 11 23:54
@Ash-Labs That error is spyder-ide/spyder#7357 , and actually is an issue with NumPy/Matplotlib, not with Spyder (it should appear after running matplotlib.pyplot.plot([]) even in a basic Python interpreter in the same environment); furthermore, in turn it is caused by some misbehaving external program (like Amplitube or GoPro Studio) that dumps copies of the same DLLs Numpy/Matplotlib need in the global System32 directory. If you have any of those programs, you should uninstall them; otherwise, look in System32 and rename any copies of libiomp5md.dll or any DLL with mkl_ at the beginning to add a .bak extension to the end, and try again.
@stonebig Anaconda implemented a fix for this in their Python builds by fixing the DLL search order to not hardcode System32 at the top; are you planning on doing the same in WinPython?