![]() Make: Entering directory '/var/tools/redis-stable/src' To install these binaries in /usr/local/bin, run: make install Redis-cli is the command line interface utility to talk with Redis. Make: Leaving directory '/var/tools/redis-stable/src' Hint: It's a good idea to run 'make test' ) To compile Redis, first the tarball, change to the root directory, and then run make: tar -xzvf 错误:configure: error: no acceptable C compiler found in $PATH Then, you can check your new and existing Python installation version as commands below: $ sudo python -version 2.x.x $ sudo python3 -version 3.8.x $ sudo python3.9 -version 3.9.安装C++编译环境、make yum -y install gcc automake autoconf libtool make In LINUX, you may use the following commands: $ sudo add-apt-repository ppa:deadsnakes/ppa $ sudo apt update $ sudo apt install python3.9 ![]() Now, you can execute python 3.9 with python. You can do this by just open the terminal and use the following commands: $ cd $HOME $ nano. bash_profile file in your $HOME directory. Optionally, if you want this new python version to be run with python command instead of python3, you can add an alias in the. And then you can check your python version as example commands below: $ python -version Python 2.x.x $ python3 -version Python 3.9.0 You may check on the “Add Python to Path” option while installing to register Python3.9 as the main python on your system $ python -version Python 3.9.0 MAC OSįor macOS, you may do the same as in Windows OS by downloading from the Python download page. Recommended Python Installer (Screenshot from the Python Download page)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |