About posix_spawn appeared in Mac installed with Django: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.72.7: No such file or directory solutions.

 My solution:

  First of all, my statement about this issue has not been resolved two months, the sudden resolve, the result is beautiful.

My approach is to not say anything, reloading on the right. But you begin to install the python3 not removed on a Mac, but this is no longer looking to the terminal .

Man of few words said: Let's look at solutions.

If your Mac is not homebrew installation, enter the following command:

 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

 

Download good home brew and then execute the following command:

brew search python3

 This is the beginning of my existence python3 version: So is this show.

==> Formulae
boost-python3              python3 ✔                  python@3 ✔

 Use this command to install your brew python3 again. Execute the following command brew:

brew  install python3

 And then wait for it.

 After completion of the input terminal

python3 -V

 

 In response to the line terminal. So you enter the console python3 of the.

 Do not trust and then type exit at the console ()

 Terminal input python (lowercase) os is a distinction between lowercase, Windows and Linux you any.

 get

Python 3.7.5 (default, Nov  1 2019, 02:16:32) 
[Clang 11.0.0 (clang-1100.0.33.8)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 

 

 Done

Of course PYTHON entering the input of the Mac comes with python2.7.

 

 

Guess you like

Origin www.cnblogs.com/luzhi0324/p/12054061.html
Recommended