Whenever u run spyder from anaconda navigator cmd windows open with message " activate code page 1252 "
if u close cmd then then spyder also closes
It's a problem with Anaconda Navigator. The following solution worked for some people but not me
In Anaconda Navigator > File Menu > Preferences > Configure Conda > Reset to defaults > Save and Restart
Anaconda Navigator > File Menu > Preferences > Configure Navigator > Reset to defaults > Save and Restart
Related
I have deleted anaconda from my computer. Now cmd doesn't open. I tried to create shortcuts for cmd in order to open it. But it still doesn't open.
I just installed Anaconda (with GUI) for data science projects. I'm a Mac user and when I launch Jupiter notebook from Anaconda Navigator it runs macOS default terminal. Is there a way to set Anaconda for using iTerm2 as terminal?
If you open iterm2 and go to the toolbar(on the top of the screen), try iTerm2-make iterm2 default term. See if this changes the behavior.
If not and you prefer using iTerm2, you can always open up an iTerm2 window and simply type
jupyter notebook
And you should have a jupyter notebook open in your browser, with the process running in the iTerm2 window.
Based on the default installation of anaconda (and iterm2).
Make sure, iTerm2 is an default term - this probably wont help, but... Do that :D
Open iTerm, navigate in menu on iTerm2 > Make iTerm2 default term
When you open the jupyter for example from anaconda, default terminal launches with the script. The name of this script file should be located at the top, by default it is: /opt/anaconda3/bin/jupyter_mac.command
Navigate to /opt/anaconda3/bin/ folder, or any other one where the command file from previous step is.
from terminal: open /opt/anaconda3/bin/ which will open finder in this destination)
In this folder, locate the jupyter_mac.command file
CMD+I on this file (or right-click and select Get Info)
This will open Information window for this file. Under the accordion, there is a selection of "Open with".
Instead of terminal, select iTerm2
Ideally, click on Change All... button so all the .command files will launch in iTerm
I am trying to open a terminal in VS Code but I got this message:
The terminal process command "c:\windows\system32' failed to launch (exit code:2)
Try this in VS Code:
File -> Preferences -> Settings
Then navigate to Features -> Terminal
Scrolling down, you should hopefully see "Integrated > Automation Shell:Windows" and just below it "Edit in settings.json". Clicking on that will open the json file and I adjusted mine (2nd line from the bottom) to:
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
That worked for me with the exit code I was getting
Open VScode and go to the "View" menu. Click on the View menu item and then click on "Terminal". A terminal window should now open.
I have started learning - Machine learning course on Windows OS. Whenever I start a new instance of Spyder 3.2.4(Python 3.6) & RStudio(1.1.383), every time I need to set my current working directory in these IDEs. Is there any way to set them pemanently?
In Spyder (since version 3.2) you need to go to
Tools > Preferences > Current working directory
and select the option called
the following directory
To set working directory permanently in:
1. Spyder IDE: Tools > Prefeences > Current working directory > the following directory
2. RStudio IDE: Tools > Global Options... > General > Default working directory (when not in a project)
PS: Yes, we need to restart the application in both IDEs to take
changes in effect.
In Spyder whenever you run your script for the first time it will go to current directory automatically. You just have to run for the first time.
Make sure you have selected
Tools > Preferences > Current working directory
For Mac:
Click "python" in top left corner.
Click preferences.
Current working directory.
Boom.
Xcode default shortcut for Comment Selection is cmd + / but it not working on my mac
first I try to set it from System Preferences > Keyboard > Shortcut > app shortcuts but it still not work.
then I try to Create other User to test it, when I use Other account to open Xcode and try that shortcut, it work!!
so I guest maybe the shortcut cmd + / is using by some app for global shortcut
restore System Preferences > Keyboard > Shortcut >> NOT WORKING
delete ~/Library/Preferences/om.apple.symbolichotkeys.plist >> NOT WORKING
Can anyone help me to find out what is going on?
OSX version is 10.11 and Xcode 7.3