9/27/2023 0 Comments Install python 3.8 debian![]() ![]() However when I try to install virtualenv (pip3 install virtualenv) I get the following error message: I copied my django project to a directory on the server and installed python3.8.6. While doing this (I sure did wrong) I get error messages when trying to configure my django and / or python3.8 application. Python 3.5 is not compatible with my django application.Īs my django application and its dependencies in the local environment run with python 3.8.7, I decided to install python 3.8.6 on the debian server. On the latter, are installed python 2.7 and 3.5. I have just finalized in my local environment (ubuntu 18.04) a django application (3.1.4) that I have to deploy on this debian server. This server runs with apache and nginx in reverse proxy mode. ![]() I have a php application in production hosted on a debian (stretch) server - plesk dedicated server. Add the following lines: echo 'eval "$(pyenv init -path)"' > ~/.zprofileĮcho 'eval "$(pyenv init -)"' > ~/.My subject may not be in the correct category, I apologize in advance. Open Terminal, then type in: brew install openssl readline sqlite3 xz zlibįinally, update the shell profile configuration, i.e ~/.zshrc if your default shell is ZSH. ![]() To make pyenv work, install build dependencies through Homebrew. The Homebrew Python documentation recommends pyenv to manage Python environments. ![]() You lose control over “site-packages” and all the PIP packages that you had installed might become inaccessible. For example, the "youtube-dl" package uses Python as its dependency, the Python package may get updated as and when needed. Many people prefer to use Homebrew to install software packages, but should you use it for Python development? The problem with using Homebrew Python is that it’s not in your control. If you’re working on multiple Python projects, the default location, which needs sudo privileges, creates hurdles. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |