I installed vim and configured some plugins. Ssl.SSLError: ee key too small (_ssl.c:3337)ĭuring handling of the above exception, another exception occurred:įile “/Python-3.6.4/Lib/threading.py”, line 916, in _bootstrap_innerįile “/Python-3.6.4/Lib/test/test_ftplib.py”, line 279, in runįile “/Python-3.6.4/Lib/asyncore.py”, line 207, in loopįile “/Python-3.6.4/Lib/asyncore.py”, line 150, in pollįile “/Python-3.6.4/Lib/asyncore.py”, line 87, in readįile “/Python-3.6.4/Lib/test/test_ftplib.I installed debian strech two days ago. Super(SSLConnection, self).handle_read_event()įile “/Python-3.6.4/Lib/asyncore.py”, line 423, in handle_read_eventįile “/Python-3.6.4/Lib/asynchat.py”, line 171, in handle_readįile “/Python-3.6.4/Lib/test/test_ftplib.py”, line 116, in found_terminatorįile “/Python-3.6.4/Lib/test/test_ftplib.py”, line 431, in cmd_authįile “/Python-3.6.4/Lib/test/test_ftplib.py”, line 315, in secure_connection Is it unsafe to proceed to the “make altinstall”?įile “/Python-3.6.4/Lib/asyncore.py”, line 83, in readįile “/Python-3.6.4/Lib/test/test_ftplib.py”, line 366, in handle_read_event When executing “# make -j8” there were the following errors and the thread increments. They are available 24×7 and will take care of your request immediately. Of course, you don’t have to install Python 3.6.4 on your Debian 9 VPS, if you use one of our high-speed Python VPS hosting services – in which case you can simply ask our expert Linux admins to install Python 3.6.4 for you. That’s it, now you should have Python 3.6.4 installed on your server. If everything went well, run the following command to open the Python 3.6.4 interpreter: # python3.6 Now update the package list: # sudo apt-get updateĪnd install Python 3.6.4 from the Debian ‘testing’ repository using the following command: # sudo apt-get -t testing install python3.6 Then execute the following command to make the ‘stable’ repository default on your server: # echo 'APT::Default-Release "stable" ' | sudo tee -a /etc/apt//00local If you want to install Python 3.6.4 using the Debian ‘testing’ repository make sure to try this on a test machine first to see if any of the packages fail to install or if there are any conflicts after installing the packages required for Python 3.6.4.īegin by editing the ‘/etc/apt/sources.list’ file with your favorite editor(we’ll use nano) and add the line below at the bottom of the file: # sudo nano /etc/apt/sources.list This way of installing Python 3.6.4 is not recommended because it may install/upgrade packages from the Debian ‘testing’ repository which are incompatible with your current Debian 9 installation. Now you can open the Python 3.6.4 interpreter by executing the following command: # python3.6 Installing Python 3.6.4 from the Debian testing repository Then run the following command to build Python 3.6.4: # make -j8Īnd then run this command to install Python 3.6.4: # sudo make altinstall Unpack the Python 3.6.4 source file: # tar xvf Python-3.6.4.tgzĮnter the Python-3.6.4 directory and run ‘./configure’ to prepare the build: # cd Python-3.6.4 # sudo apt-get install -y libncurses5-dev libncursesw5-dev xz-utils tk-devĭownload the Python 3.6.4 source file using ‘wget’: # wget # sudo apt-get install -y libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm Now we’ll build and install Python 3.6.4 from source, this is the safest and recommended way that doesn’t add any repositories that might install conflicting packages on your Debian 9 server.īegin by installing the required build tools for Python 3.6.4: # sudo apt-get install -y make build-essential libssl-dev zlib1g-dev
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |