All Questions
14 questions
0
votes
0
answers
32
views
I have changed the path trajectory in VS code application and now whatever I do in terminal it shows- zsh: command not found. what to do in this
terminal
pip install pandas
Run ->
zsh : command not found : pip
it happens with every other thing I run in terminal. so what to do in this situation?
I tried to change path trajectory to - $PATH:/...
0
votes
1
answer
540
views
zsh: command not found: python | I just want my python files to run again
I was messing around with Django for a task on my bootcamp and now my VSCode won't run my python files using the run button in the top right.
Here's what I see in my IDE:
garethmorton@MacBook-Pro T28 ...
0
votes
1
answer
345
views
Problems with MacOS command shell after installing Dropbox upgrade
Recently I installed a Dropbox update on a Mac M1 mini (Monterey) which changed the Dropbox folder from a simple folder to a "Location" in the Finder. I found the new path name, which is
in ...
0
votes
1
answer
535
views
Why does my vscode require me to write "python3" instead of just "python" to run a line of code
I understand that the fact that having to type "python3" or "pip3" instead of "python" and "pip" respectively is an annoyance at worst, however it makes me ...
0
votes
3
answers
1k
views
How do I install a script to path on Mac OS on VScode
Every time I install something using pip I get this warning message and the package I installed doesn't work. I don't understand what path is or how to fix it. I keep seeing solutions saying to simply ...
0
votes
0
answers
2k
views
zsh: killed python3 on M1 Pro MacBook Pro
hello I've ran into a problem with running python3 on M1 MacBook pro. I deleted a version of python, after that I checked what version I was running and I get "zsh: killed python3". ...
0
votes
0
answers
2k
views
Updating PATH for python with brew
I am relatively new to using command line interfaces and trying to change the Path aspect of python. The issue I have is that I seem to have three version of python.
python 2.7.16
python 3.10
python ...
0
votes
4
answers
382
views
Repetitive directories in PATH
I just reset my mac (2015) to Catalina 10.15.6 and installed python3 via brew following this tutorial. I got it working just fine, created a .zshrc file in ~/ and added brew's location to the PATH. ...
1
vote
1
answer
2k
views
Why do I have some /Library/Frameworks/Python.framework/Versions/X.X/bin in my default PATH?
I recently uninstalled all python versions from my laptop (MacOS Catalina). They were installed directly through de .pkg files from python.org, no Homebrew here.
I am using ZSH and my ~/.zshrc doesn'...
0
votes
2
answers
2k
views
Add to ~/.zshrc file with python
I'm trying to write a cli that will take a users path that they input into the command line, then add this path to the correct path file depending on their shell - in this case zsh. I have tried using:...
0
votes
1
answer
561
views
Automator can't find package import in python script when executed from zsh
I know this has been asked many different ways before but I can't seem to find anything that works.
I have an automator task that runs a python script (v3.7 via homebrew) that imports the package ...
16
votes
6
answers
13k
views
Problems using zsh with Catalina, Python/Python3, pip/pip3, PATH, zshrc, etc
I recently updated to Catalina and the default zsh. I probably messed up paths during the transition, and I'm currently trying to sort out the locations of Python3.7, pip3, the command-line PATH and ...
1
vote
0
answers
6k
views
How do I set the correct $PATH for Python in zsh?
Today I made the switch from bash to zsh. Among other things, I created a ~/.zshrc file. There were a few hiccups, though. One of them is that while I can still run Python programs that will output to ...
0
votes
1
answer
679
views
To understand Typeset for PythonPath
One recommends me the following code apparently only in .zshrc without explaining its purpose clearly.
typeset -U PYTHONPATH
I am interested in how you can use the code in .bashrc. My Bash goes upset ...