These are chat archives for spyder-ide/public

24th
Oct 2018
raphaelquast
@raphaelquast
Oct 24 2018 13:58
hi, since I noticed that spyder 4 beta is now finally released, i'm wondering how save it is to switch to the beta-release? anyone got some suggestions/experiences on that? (primarily i'd like to use the beta to have a nice outline-view)
CAM Gerlach
@CAM-Gerlach
Oct 24 2018 17:28

@raphaelquast Thanks for your interest! We recommend you keep Spyder 3 around for production use, but with Anaconda you can easily install the Spyder 4 beta in a separate environment without affecting your Spyder 4 install, and even use the same working environment for your Consoles and code by switching it under Preferences > Python Interpereter > Use the following Python interpreter. To do so, create the environment with conda create -n spyder-4-test python=3.6 (replace spyder-4-test with a name of your choice if you like), then activate the environment, and finally install Spyder 4 beta there with conda install -c spyder-ide spyder=4.

The current release, Beta 1, has a large number of more modest new features and improvements, mostly to the Editor, Outline Explorer and Variable Explorer; however, more major new features (new debugging, new completion/introspection/debugging architecture, dark theme, etc) as well as more substantial improvements to the Outline Explorer (thanks to @jnsebgosselin ) are coming fairly soon with beta 2, or you can try them out now by git cloneing the Spyder Github repository, making sure you have Python environment with the needed dependencies, and run python bootstrap.py in the root of the repo to try it out.

aperchak
@aperchak
Oct 24 2018 20:11
Hi there. Just would like to preface that I'm an absolute beginner. I'm having a problem launching Spyder 3 - getting the error message: "The ordinal 242 could not be located in the dynamic link library". I searched a bit around the web and I understand this has something to do with a new update? I could swear it worked just the other day. Any solutions to that? I'm just taking my first steps in Python.
CAM Gerlach
@CAM-Gerlach
Oct 24 2018 20:24
@aperchak This has to do with a problem with specific versions of the third-party Intel mkl library used by NumPy on Windows; the error then gets triggered in Spyder when it tries to use Numpy. I've actually experienced it myself and we're waiting on the Anaconda team to hopefully fix it. For the time being, according to my testing downgrading numpy and mkl to unaffected versions (conda install mkl=2018.0.2 numpy=1.14.3 numpy-base=1.14.3) is the only reliable solution I've found to it.
Let us know if that works.
Also, what version of Anaconda (version number, Python version, bitness, etc) did you presumably just download, and what is your Windows version?
aperchak
@aperchak
Oct 24 2018 21:32

Thanks for the quick response. I'm using Windows 10.0 build 17134, and Anaconda 5.3, Python 3.7, in 64-bit - the most recent one available on anaconda.com/download.

I tried the command, and although Spyder now loads up and seems to be operating fine, a new error has popped up upon launching - "The procedure entry point mkl_blas_dgem2vu could not be located in the dynamic link library". I did notice some error string upon typing "import matplotlib", which is required for my Intro to Python course.

Thanks for your help.

CAM Gerlach
@CAM-Gerlach
Oct 24 2018 21:44
@aperchak Okay, thanks. Try downgrading your environment to Python 3.6 (with conda install python=3.6) and retry if the above command didn't do it already, and you can also try conda install anaconda=5.3.0 in base or a custom environment to ensure you're using the exact tested dependency versions as the official tested Anaconda distribution, and report your results as well as exactly the steps you took (environment creation/modification, package installation/updating, conda-forge/other channels, anything else using conda or pip, etc) from when you install Anaconda to when the problem started occurring in the relevant thread: spyder-ide/spyder#7357
CAM Gerlach
@CAM-Gerlach
Oct 24 2018 21:51
Also, please put your conda list output of your Spyder environment inside a <details> ... </details> block there. Thanks!
aperchak
@aperchak
Oct 24 2018 22:55
I will try downgrading once I return to my laptop, but curiously enough I installed the exact same Anaconda version with the exact same Windows version on another PC, and viola, it works without a hitch. I'd like to point out that both versions where installed cleanly - I have never had any other IDE before. As a matter of fact this is my first foray into programming, most of the terms you've described initially flew over my head. Is there any info I can supply from the PC with the working version that could help you? I could use the other PC from now on, but I'd love to help solve this problem.
aperchak
@aperchak
Oct 24 2018 23:11
I posted the conda list output in the github thread. Do let me know if I can be of any help.
CAM Gerlach
@CAM-Gerlach
Oct 24 2018 23:18

I posted the conda list output in the github thread. Do let me know if I can be of any help.

Thanks, that's very helpful!