Heim  >  Fragen und Antworten  >  Hauptteil

centos - So führen Sie die Python-Umgebung in der Ein-Klick-Installationsumgebung von lnmp (php) aus

Der Server ist Centos

Die Hintergrundsprache dieses Servers ist PHP, aber es gibt eine Open-Source-Bibliothek, die eine Python-Version ist. Ich bin ein Neuling. Bitte geben Sie mir eine Anleitung

淡淡烟草味淡淡烟草味2710 Tage vor671

Antworte allen(5)Ich werde antworten

  • 给我你的怀抱

    给我你的怀抱2017-05-19 10:08:58

    装一下 python 不就解决了,又不冲突。

    Antwort
    0
  • 怪我咯

    怪我咯2017-05-19 10:08:58

    • python多版本管理工具推荐pyenv

    • 跑python网站,推荐Gunicorn + Nginx

    Antwort
    0
  • 巴扎黑

    巴扎黑2017-05-19 10:08:58

    yum install python

    Antwort
    0
  • 某草草

    某草草2017-05-19 10:08:58

    linux环境都是自带python的, 但你也可以根据你的那个开源库而另外安装符合该版本的python; 至于用法嘛, 你可以通过php去调用shell或者python的命令去运行.这些都并不冲突

    Antwort
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-19 10:08:58

    可以试着安装合适的python环境,一般分为两种,python2.7环境和Python3.6环境。看你需求

    Antwort
    0
  • StornierenAntwort