Spyder executing in terminal although I selected iPython - terminal

I'm on a Macbook. I have been using Spyder for a while with no trouble, but this morning when trying to run my scripts, it was not executing within the iPython screen, but rather in a separate terminal. Or rather it appears to start executing in the iPython screen but then the rest of it runs in a terminal window. I have no idea why this happened but I would very much like for all of my codes to run within the Spyder iPython window, not in the terminal.
what shows up in the iPython console when I hit run
run executes in the terminal window. I want all this to happen in the iPython window.
Any help?
Thanks,
Ty

Related

macOS Terminal Process completed on any click

My macOS terminal is showing Process completed when I type any thing. I am not able to type or do anything on terminal (This effect my Android Studio and VsCode terminal also they just open close in an second) So all issue are causing with this terminal I try every thing restore profile etc nothing is working for me.
But one thing is strange here when I restart my Mac terminal works fine but after I work on android studio or vscode with Mac terminal (Not there default terminal because they are not working) After 1 hour same happen as I say before and as in screenshot.
On different questions solutions was to type /bin/bash -x on terminal but I can't even type single character on this.
I am finding solution for this from 1 week and not able to find any thing I need to restart me laptop every 1 hour to work.
I am using BigSur with M1 processor.
Also it was working fine before but I work on Flutter so I have set path and run commands like
Run: nano ~/.zshrc
Add: export PATH=[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin:$PATH
Run: source ~/.zshrc
And some bash commands to set path.

Anaconda Navigator: Is there a way to view the console?

When I launch things from the Anaconda Navigator, I want to see what it's doing so I can do the same thing from a shell or command prompt. Is there a way to do this? Sorry if my terminology is wrong.
Check out this documentation page: https://docs.anaconda.com/anaconda/user-guide/getting-started/
On my terminal I was able to launch with a single one-word command:
(base) laptop user$ spyder3
If you are on Windows, you will want to open Anaconda Prompt first.

Running "open -a Terminal.app MyScript", opens new terminal window, but doesn't run MyScript in it

I'm on mac, and need to open a new terminal window and run a script/compiled code in it.
Before "open -a Terminal.app Myscript" would work, but now it suddenly no longer runs the script.. only opens the Terminal Window.
If i just run the script, it works. Other scripts that worked before no longer work using open -a either.
I'm running Mojave 10.14.3 Beta. And bash 5.0.0, linked through Homebrew.
If anyone else can reproduce this, please do. I'm not sure if its a bug, or just a issue with me.
console reveals following error:
/usr/bin/open subsystem: com.apple.launchservices
"Unable to load Info.plist exceptions (eGPUOverrides)"
This error is triggered everytime the command is run.
I've also searched and haven't found anyone else experiencing this problem, nor alternatives to open -a.
It works again now. Not sure if it was due to a restart, or because of another program.

Issue Closing Then Reopening Anaconda Prompt After Installation

I just installed Anaconda for Python 2.7 on my laptop running 64 bit windows 8.
Once I finish installing Anaconda I go to open the Anaconda prompt and then I run conda update --all. This runs seemingly fine. When it's done running I close the prompt by hitting the close button in the upper right corner.
The issue comes in when I then go to open a new Anaconda prompt. I go to my start menu and open a new prompt. However, instead of the prompt that opened immediately after installing Anaconda I get a command window with these three lines:
>was unexpected at this time.
PATH > #IF NOT ""=="" #chcp > NUL
PATH >
An error seems to happen when I try to open my Anaconda prompt and then my path gets changed back to my default non-Anaconda command prompt path.
Could someone provide any help with this issue?
Thanks!
Facing the same issue. I have a habit of opening Jupyter notebook through anaconda prompt which I cannot do now. Fortunately, the jupyter notebook is opening through Anaconda navigator. Not sure what will I do to use "conda" commands until this issue is solved
Same issue, except that my installation is already 2 months old, suddenly noticing this today.
Olivier.
Open the anaconda prompt and change the anaconda prompt directory to Anaconda/Scripts and then you can use the conda commands.

Pycharm: MultipleInstanceError: Multiple incompatible subclass instances of PyDevTerminalInteractiveShell are being created

In PyCharm, if I run a script in debug mode (with debug console on), then stop at a breakpoint, and try to type something into the console, I get:
MultipleInstanceError: Multiple incompatible subclass instances of PyDevTerminalInteractiveShell are being created.
Does anybody know what might be causing this and how to fix it?
For me, I had this issue when using ipdb in another terminal from the same code. I had ipdb present in file A, and a terminal with an ipython shell open running this code. I commented out the ipdb bits from file A and ran the debugger in pycharm and this error started up. When I closed the shell I had open in my terminal the error went away.

Resources