Catalina zsh shell does not recognize "source" command - anaconda

I have a new Macbook Pro, pre-installed with Catalina, that I am trying to install Anaconda on. I was following the instructions on Stack Overflow here to fix the install. However, when I entered the following in the .zsh terminal:
source ~/.zshrc
I get the following error message:
.zshrc:1: command not found: Source
I have tried searching for a solution to no avail. My search results indicated that the source command is supposed to be built into the zsh shell, so this seems odd. Is this a known issue with the new MacBook Pros? Is there a fix for this error?

Related

Installed iterm2, now both vscode and mac internal terminals are not working

I installed iterm2 and oh my zsh on my new macbook pro M1. Now I can not use the internal vscode terminal or mac terminal.
What I have tried:
I have updated my mac, vscode, iterm2, brew, and oh my zsh.
I am using zsh.
I checked my system preferences/users & groups/unlock/advanced options/login shell: /usr/local/bin/zsh. Which seems correct?
In iterm2 I checked echo $SHELL. (see image)
In iterm2 I checked echo $PATH. (see image)
I ran brew doctor. No issues there.
Checked that I had oh my zsh installed and updated.
iterm2-shell/path/brew/ohMyZsh
In vscode I have looked at code/preferences/settings/[typed]terminal
checked terminal>integrated>shell: Osx
checked that json file. I don't know what Im looking for there.
vscode-settings.json
Need Help With:
In vscode the terminal window does not open now and I get a error message.
vscode internal terminal error message
Now that I have iterm2, am I no longer able to use the internal mac terminal? When I go to open the internal mac terminal it is stuck on the following screen.
Internal mac terminal
Any help or guidance would be much appreciated. I am new to the terminal and command line.
Thanks in advance.

Installing xv6 on a macOSX catalina

I'm trying to run the XV6 on mac os,
I followed the following instructions
I have already added export PATH=$PATH:/usr/local/opt/riscv-gnu-toolchain/bin to the .zshrc file. (I'm using zsh)
But when I'm trying to run make qemu
I'm still getting Error: Couldn't find a riscv64 version of GCC/binutils.
What I'm missing here?

Getting Google Course Builder to deploy from Windows 7

I have extremely limited programming experience, and I am trying to get Google Course Builder up and running to make a class on a website. I have tried a lot of things, and have probably screwed things up badly by this point, but hopefully the situation is salvageable with enough help.
So far I have:
Downloaded Course Builder to my Windows 7 64 bit pc
Manually installed python 2.7.17
Installed Cygwin manually
Ran windows_start_local.bat (Which installed Cygwin again)
This showed up in a new window:
Compilation error building pycrypto-2.6.1. Please ensure a C compiler
is installed and functional on your system. On OS X, the most likely
cause of this problem is that you don't have the XCode Command Line
Tools installed. To fix this, run
$ xcode-select --install
and follow the instructions that appear, then re-run this command.
/usr/bin/bash: Exit 255.
Typed: gcloud component install app-engine-python-extras into CMD prompt and received a message that it was an invalid command
Typed: easy_install http://www.voidspace.org.uk/python/pycrypto-2.6.1/pycrypto-2.6.1.win32-py2.7.exe into CMD prompt and it said pycrypto was installed and that dependencies had been processed.
Typed: windows_start_local.bat into CMD prompt again
Got the same error:
Compilation error building pycrypto-2.6.1. Please ensure a C compiler
is installed and functional on your system. On OS X, the most likely
cause of this problem is that you don't have the XCode Command Line
Tools installed. To fix this, run
$ xcode-select --install
and follow the instructions that appear, then re-run this command.
/usr/bin/bash: Exit 255.
Typed: easy_install http://www.voidspace.org.uk/python/pycrypto-2.6.1/pycrypto-2.6.1.win32-py2.7.exe into CMD prompt again.
Typed: windows_start_local.bat into CMD prompt again
Got that same error again.
Installed Microsoft Visual C++ Compiler for Python 2.7 from https://www.microsoft.com/en-us/download/confirmation.aspx?id=44266
Came here because I have no idea what the heck I am doing.

Terminal not working in Aptana IDE with OSX

This Terminal Emulator is not functional because no 'bash' shell could be found.
Please correct the problem and restart the ID
This is a brand new OSX laptop with 10.13.6, and I've been trying to replicate the setup with aptana 3. I'm not sure what I'm missing to be getting this error... previous threads with similar errors all seem to be dealing with windows environments
I had the same issue on macOS Mojave 10.14 with AptanaStudio 3.7.2 and could fix it based on the suggestion here (which is for linux) https://stackoverflow.com/a/6685532/5220160
So assuming your AptanaStudio.app sits in /Applications the fix would be chmod +x /Applications/AptanaStudio.app/Contents/Eclipse/plugins/com.aptana.terminal_3.0.0.201802081530/os/macosx/redtty

Running sml/nj on osx 10.11.3

I have a problem with SML/NJ on mac. I downloaded the right original pgk file. SML/NJ is installed on the right path: /usr/local/smlnj/bin/sml but when I try to run sml (command: sml) this message appears:
-bash: sml: command not found.
I think that the problem is that I have osx 10.11.3 on my mac.
You have to adjust your PATH variable inside ~/.bash_profile:
export PATH="$PATH:/usr/local/smlnj/bin/"

Resources