腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
Emacs
shell
无法
识别
python
命令
python
、
shell
、
emacs
、
compilation
、
command
我一直在尝试用
emacs
编写一些
python
代码,但是
emacs
的
shell
不能编译我的代码。它一直显示此错误:'
python
‘未被
识别
为内部或外部
命令
、可操作程序或批处理文件。’我已经将
Python
路径添加到系统变量中,所以它可以在
命令
提示符下正常运行
python
,但不能在
emacs
shell
中正常运行这是我的init.dl文件 (require 'pack
浏览 30
提问于2021-01-23
得票数 1
4
回答
我怎么能用elisp运行我自己的外壳呢?
python
、
shell
、
emacs
、
elisp
我用
python
编写了一个简单的
shell
,并使用nuitka进行了编译。我的
shell
是一些简单的
命令
,如"say string“、"braille string”、"stop“等。这个程序使用
python
accessible_output包与窗口中的屏幕阅读器进行通信。好的,这在普通的
shell
中工作很好,或者从窗口执行它。现在,我想从
emacs
内部运行这个程序,比如
emacs
中的普通
shell
。我
浏览 6
提问于2016-03-24
得票数 0
回答已采纳
4
回答
Emacs
和conda解决方案
python
、
emacs
、
conda
我在用
emacs
和anaconda。因此,当我运行C-c C-p来启动一个新会话,并运行C-c C-c时,它
无法
导入安装在conda环境中的包,这些包是用ModuleNotFoundError安装的。我可以用M-x
shell
,然后source activate myenv,在
emacs
中打开一个
shell
,然后运行
python
。 我现在希望C-c C-c复制到/this/
shell
中。如何将此
shell
缓冲区标记为
pyt
浏览 1
提问于2019-03-15
得票数 9
回答已采纳
3
回答
找不到
Emacs
shell
命令
shell
、
emacs
我正在努力学习
emacs
。我对它非常陌生,今天尝试在
emacs
中输入
shell
命令
。我进入了pdflatex filename。然而,它给了我一个错误,即我已经安装了LaTeX,从终端的
命令
行可以很好地工作。对于我在.bash_profile文件中定义的
命令
lsd,我得到了类似的错误。这在终端的
命令
行上也可以很好地工作。
命令
ls在
emacs</
浏览 3
提问于2010-12-09
得票数 6
2
回答
Emacs
中的IPython .快速代码评估
python
、
shell
、
emacs
、
ipython
假设我已经在
Emacs
中的缓冲区中启动了一个IPython外壳(例如使用
Python
-mode.el和IPython.el),那么是否有一种方法可以在另一个缓冲区中选择一个区域并将该区域“发送”到已经启动的我已经尝试过C-c C-c (发送缓冲区到
shell
)和C-c | (发送区域到
shell
),但是只有在代码用
Python
编写而不是IPython (IPython可以运行代码)时才能工作。原因似乎是,对于这两个
命令
,
Emacs
创建了一个具有.py扩展名的临时文件(与
浏览 0
提问于2010-12-27
得票数 6
5
回答
如何在
emacs
中打开IPython解释器?
python
、
emacs
、
ipython
为了在
Emacs
中的
Python
开发过程中使用IPython,我打开了一个终端,并输入ipython。这似乎不是正确的方法。首先,我的buffer将这个缓冲区作为*ansi-term*列出,这很令人困惑,因为我经常会有多个终端,其中一个是专用于
Python
的。我还看到我可以直接用M-x
python
-
shell
打开
python
解释器。看起来IPython应该有一个类似的选择。 有没有更好的方式在
Emacs
中使用IPython解释器?我使用的是
Emacs
浏览 7
提问于2013-07-24
得票数 25
7
回答
如何在
Emacs
中运行
python
解释器?
python
、
emacs
、
interpreter
我刚刚下载了GNU
emacs
23.4,并且已经在Windows7中安装了
python
3.2。我非常缺乏经验,刚开始
浏览 22
提问于2012-04-20
得票数 32
3
回答
带有
Emacs
的
Python
3
python
、
emacs
、
python-3.x
、
ropemacs
、
pymacs
要使GNUEmacs23.2在
Python
3中很好地工作,还需要做些什么吗?有关于在
Python
3中使用的文档吗?我将
Python
3的site-packages目录添加到
Python
中?遵循 (用于
python
-mode.el)或将
python
-
python
-command设置为
python
3 for
python
.el会影响或ro
浏览 7
提问于2010-07-17
得票数 23
回答已采纳
1
回答
Emacs
shell
不启动
python
解释器
python
、
shell
、
emacs
Windows 7,
Emacs
25.1,
Python
2.7 为什么?
浏览 1
提问于2017-02-13
得票数 1
回答已采纳
1
回答
Emacs
:运行配置
python
、
emacs
我使用
emacs
24和
python
.el (由
emacs
发送的包) 是否有一种方法来定义所谓的运行配置,即“运行带有n个
命
浏览 2
提问于2014-03-02
得票数 0
回答已采纳
1
回答
组织模式纠缠注释
emacs
、
org-mode
在我纠结于文件中的这一行时: #+BEGIN_SRC
shell
:tangle .我正在阅读组织手册和
emacs
帮助,但没有找到任何特定的说明。
浏览 0
提问于2016-02-20
得票数 1
1
回答
windows中
emacs
/cmd.exe中的cygwin外壳
windows
、
emacs
、
cygwin
我正在尝试让
python
在
emacs
中的
命令
shell
中运行。我尝试过windows
emacs
附带的标准M-x
shell
,然后输入'
python
‘,但是
python
就挂了(没有输出)。有没有办法得到一个可以运行其他程序如
python
的
shell
?
浏览 2
提问于2010-10-03
得票数 3
2
回答
想了解如何为
python
( .
emacs
)配置.
emacs
文件(
python
.el),
emacs
、
python.el
我的
emacs
版本是24.5,在构建的
python
中使用。我在我的.
emacs
中为它写了以下几行:(setq
python
-
shell
-interpreter "C:/
Python
34")M-x
python
-
shell
-*"wrong type arg
浏览 5
提问于2015-06-08
得票数 1
回答已采纳
2
回答
设置
Emacs
以使用
python
/IPython
python
、
emacs
、
ipython
当时似乎是唯一起作用的
命令
序列(我的直觉是它的一半是不需要的)。`## working on region in file /var/folders/bd/
浏览 14
提问于2015-01-02
得票数 1
回答已采纳
1
回答
当
Emacs
启动py-
shell
时如何加载
shell
环境变量?
python
、
bash
、
shell
、
emacs
、
ipython
我在一所大学工作,他们有自己的库和
python
库的路径。每次启动ipython时,我都需要运行一个外壳脚本(例如/etc/university/env.sh)有没有办法让
emacs
在启动
python
之前先运行/etc/corporate/env.sh?
浏览 2
提问于2014-03-04
得票数 1
5
回答
Emacs
matplotlib show()
命令
后没有显示提示符的下一个
shell
python
、
emacs
、
matplotlib
因此,我一直在试验numpy和matplotlib,在从
emacs
低级
shell
运行
python
时偶然发现了一些bug。 当我将py文件发送到
shell
解释器时,我可以在代码执行后运行
命令
。
命令
提示符">>>“看起来很好。但是,在我在一个地块上调用matplotlib显示
命令
之后,
shell
就会挂起
命令
提示符而不显示。在
emacs
23.3与Fabian Gallina的
Pytho
浏览 17
提问于2012-02-01
得票数 11
2
回答
如何防止
Emacs
复制
shell
命令
?
bash
、
shell
、
emacs
我总是使用
Emacs
的
shell
。我创建了两个buffers (C-x 2),并使用其中一个作为终端(M-x
shell
)。问题只存在于
Emacs
的
shell
中。是否可以将
浏览 14
提问于2018-02-17
得票数 0
回答已采纳
1
回答
在
Emacs
shell
和Cygwin下处理信号
bash
、
shell
、
emacs
、
cygwin
我使用的是
Emacs
的Cygwin版本。一切都很好,除了使用
Emacs
shell
(M-x
shell
)时的一些怪癖。
Emacs
shell
正在使用Cygwin的bash。目前最大的问题是
无法
向
shell
发送SIGINT来中断当前正在运行的
命令
。例如,我经常使用ssh登录到远程主机,然后“-f”一个文件。我不能脱离尾部
命令
。在Unix/Linux下使用
Emacs
shell</e
浏览 2
提问于2011-02-23
得票数 4
2
回答
从低级
shell
运行
emacs
lisp
命令
shell
、
emacs
、
command
、
elisp
如何从低级
shell
以编程方式调用
emacs
函数?例如,我在一个
shell
中,它使用一些
emacs
识别
并试图自动展开的字符,所以我想运行这个
命令
(setq comint-input-autoexpand nil),将它应用到我所在的
shell
。现在,我可以通过在
shell
中输入
命令
文本并在其上运行类似于eval-region的
命令
来做到这一点,但我希望
shell
能够调用该
命令
本身。
浏览 2
提问于2013-01-23
得票数 4
1
回答
ipython
emacs
向解释器发送代码
python
、
emacs
、
ipython
我使用的是ipython3和
emacs
。它可以工作,但我想定义一个
命令
,自动将突出显示的代码发送到控制台。我怎么能这么做?这应该是
命令
的捷径:M,C,C,输入(setq
python
-
shell
-interpreter-args "
浏览 0
提问于2014-05-24
得票数 1
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
在python中执行shell命令的6种方法
6种Python中执行shell命令的方法,你喜欢那种?
Python模块在Pycharm无法识别的处理方法
7.Emacs进阶之模式
chatgpt-shell:Emacs下运行chaptGPT
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
云直播
实时音视频
活动推荐
运营活动
广告
关闭
领券