推送到远程后,默认的uwsgi更改了位置

时间:2018-05-09 06:00:15

标签: python git pip

我有一个带本地仓库的Django项目,在我的本地git仓库中,我在项目uwsgi中安装了venv/lib/python3.5/site-packages,并将我的本地仓库推送到远程仓库使用:

(venv) james_pro:myProject ldl$ git push remote_repo 
ldl@101.120.32.16's password: 
Counting objects: 10279, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8966/8966), done.
Writing objects: 100% (10279/10279), 18.43 MiB | 886.00 KiB/s, done.
Total 10279 (delta 2774), reused 0 (delta 0)
To 103.200.32.76:/home/ldl/repo/Qiyun02
   551388c..ef0a95f  master -> master

在我的本地报道中我展示了uwsgi:

(venv) james_pro: $ pip3 show uwsgi
Name: uWSGI
Version: 2.0.17
Summary: The uWSGI server
Home-page: https://uwsgi-docs.readthedocs.io/en/latest/
Author: Unbit
Author-email: info@unbit.it
License: GPL2
Location: /Users/lll/Desktop/myProject/Project/myProject/venv/lib/python3.5/site-packages
Requires: 
Required-by: 

您可以在我的项目venv下看到它。

但是在我的远程仓库中,如果我显示uwsgi,它将显示

(venv) [root@www myProject]# pip3 show uwsgi 
Name: uWSGI
Version: 2.0.17
Summary: The uWSGI server
Home-page: https://uwsgi-docs.readthedocs.io/en/latest/
Author: Unbit
Author-email: info@unbit.it
License: GPL2
Location: /usr/local/Python3/lib/python3.5/site-packages
Requires: 
Required-by: 

这个位置是/usr/local/Python3/lib/python3.5/site-packages,而不是venv路径。

我该如何解决这个问题?因为我想用uwsgi连接django。

0 个答案:

没有答案