[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to let tramp be aware the virtualenv?
From: |
Zhongwei Yao |
Subject: |
How to let tramp be aware the virtualenv? |
Date: |
Tue, 16 Jul 2019 18:30:33 +0800 |
Hi, all,
I try to use tramp on a remote project directory and run "M-x compile". The
command requires to know which the python virtualenv is active.
I try to let tramp be ware of which virtualenv is active by adding a line
to the remote $HOME/.profile like (because it seems tramp will run the
compilation command by the remote /bin/sh):
source my/python/virtualenv/bin/activate.
But tramp seems doesn't read that line at all. The virtualenv is not
activated.
So how can I make tramp aware of which virtualenv is enabled?
Thanks!
Zhongwei
- How to let tramp be aware the virtualenv?,
Zhongwei Yao <=
- Re: How to let tramp be aware the virtualenv?, Michael Albinus, 2019/07/16
- Re: How to let tramp be aware the virtualenv?, Bruno Barbier, 2019/07/16
- Re: How to let tramp be aware the virtualenv?, Zhongwei Yao, 2019/07/16
- Re: How to let tramp be aware the virtualenv?, Michael Albinus, 2019/07/17
- Re: How to let tramp be aware the virtualenv?, Zhongwei Yao, 2019/07/17
- Re: How to let tramp be aware the virtualenv?, Michael Albinus, 2019/07/17
- Re: How to let tramp be aware the virtualenv?, Zhongwei Yao, 2019/07/17
- Re: How to let tramp be aware the virtualenv?, Michael Albinus, 2019/07/17
- Re: How to let tramp be aware the virtualenv?, Yuri Khan, 2019/07/17
- Re: How to let tramp be aware the virtualenv?, Bruno Barbier, 2019/07/17