Skip to content
Advertisement

Tag: zsh

Pexpect inserts ‘/r/n’ into sendline()

I am using pexpect to automate running a C program in a zsh terminal on Ubuntu 20.04. The program in question is a spectrum convertor: http://www.np.ph.bham.ac.uk/research_resources/programs/spec_conv/spec_conv.c I have this installed and in my path. I can not run ‘spec_conv’ in my terminal and the program runs correctly. When the program starts there is an initial set of options (0-9). I

Zsh: Conda/Pip installs command not found

So I installed Anaconda and everything is working. After I installed it I decided to switch to oh-my-zsh. I am now getting: when trying to use pip or conda installs 5.0.5 I have added to my zshenv.sh What is it that I’m missing? Answer It appears that my PATH is broken in my .zshrc file. Open it and add :

Advertisement