• 成功解决 win10 pycharm使用bash

    时间:2024-04-04 13:12:19

    welcome to my blog第一步, File → Settings第二步, Tools→Terminal→Shell Path, 其中, Shell Path路径为C:\Windows\System32\bash.exe, 如果没有找到bash.exe, 应该是没安装linux终端, 看第...

  • Windows安装tmux(亲测可行!!!在windows中一个git bash开多个窗口)

    时间:2024-04-04 10:38:39

    在具有两个Shell进程的Git Bash默认终端下运行的Tmux我进行了一些研究,发现GIT Bash使用GING工具的MINGW编译。它仅使用选定的那些。您可以从https://www.msys2.org/安装工具的整个发行版,并运行命令来安装Tmux。然后将一些文件复制到Git的安装文件夹中。...

  • centos7 yum命令无效-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory

    时间:2024-04-03 13:04:06

     服务器安装上python3.6版本后导至liunx找不到自带的python2版本路径;更改下yum便可以使用出现场景是,安装docker,添加源时,出现bug安装代码失败vi /usr/bin/yum-config-manager...

  •  查看 python -V 报错 -bash: /usr/bin/python: No such file or directory

    时间:2024-04-03 12:57:22

     清除历史python之后,指向我安装的版本3.8.2之后,查看python版本,报错 python -V一直报错:报错信息:-bash: /usr/bin/python: No such file or directory进到 cd /usr/bin 目录下,看下指向是没问题 才发现,其实wher...

  • 在vscode中集成git bash(windows平台)

    时间:2024-04-01 19:23:54

    1.打开vscode,进入文件->首选项->设置菜单2.搜索shell,3.找到 Terminal>Integrated>Automation Shall:Windows,复制terminal.integrated.shell.windows在setings.json里更改4...

  • 使用 git bash 从 git 上下载代码到本地

    时间:2024-03-30 22:37:05

    1.新建一个文件夹用来存放下载到本地的项目文档2.点击进到刚才新建的文件夹,在空白区域点击鼠标右键,选择“Git Bash Here”,点击“Git Bash Here”之后,可以看到下面界面3.进行基础设置,输入下面两条命令:git config --global user.name "你的名字或...

  • mac 下的 bash gradle command not found

    时间:2024-03-30 20:22:57

    最近在用android studio 使用命令行打包的时候出现 bash gradle command not found这个问题,其实也就是因为自己唑gradle的环境变量给弄丢了。。但是由于来自大山的孩子对于mac不是很熟,所以不知道咋去找这个gradle的路径  ,更不知道怎么去配置了,这里就...

  • 在windows 10 bash里编写脚本

    时间:2024-03-30 07:19:13

    在windows 10 bash里编写脚本参照:https://www.howtoip.com/how-to-create-and-run-bash-shell-scripts-on-windows-10/例子由自己在windows pro build 15063 linux 子系统里测试完成如何w...

  • vscode 终端进程命令“C:\Program Files\Git\bin\bash.exe ”无法启动

    时间:2024-03-28 16:00:48

    解决方案:1、确定settings.json的terminal.integrated.shell.windows值为git的bash.exe的路径2、如果上面都设置好了,还是无法启动错误,那么应该是360程序影响,直接卸载(我关闭360程序运行无效,所以直接卸载后就可以了)...

  • windows使用bash指令

    时间:2024-03-28 11:41:17

    方法只适用于64位版本的Windows 101. 打开设置应用程序和头部更新和安全>对于开发。 在这里启动“开发者模式”开关,使开发者模式2. 接下来,打开控制面板,单击“程序”,然后单击“打开Windows功能打开或关闭”在程序和功能。在这里启用“Windows子系统为Linux(测试版)”...

  • 关于使用git bash时出现vim

    时间:2024-03-28 11:40:04

    现在做项目,一般使用的是Git来管理代码。但是我一般熟用的指令局限于git clone,git add,git commit,git push,git pull。。。偶尔出现冲突就解决解决冲突,遇到没出现过的问题就上网搜一搜。刚刚出现了一个之前也出现过的问题,当我运行git commit指令时,控制...

  • Linux文件 profile、bashrc、bash_profile区别

    时间:2024-03-28 11:17:23

    Linux系统中,有三种文件 出现的非常频繁,那就是 profile、bash_profile、bashrc 文件。 1、profile 作用 profile,路径:/etc/profile,用于设置系统级的环境变量和启动程序,在这个文件下配置会对所有用户生效。 当用户登录(login)时,文件会被...

  • Ubuntu Linux 解决 bash ./ 没有那个文件或目录 的方法

    时间:2024-03-27 15:51:43

    Ubuntu Linux 解决 bash ./ 没有那个文件或目录 的方法经常在ubuntu 64位下运行 ./xxx 会跳出来说没有这个文件或者目录,但是ls看又有这个文件,很是奇怪。其实原因很简单,是因为他没有32位的运行库 ia32-libs 会出这种八杆子打不着的奇怪提示。直接安装即可。ap

  • mac 下更新 .bash_profile 文件

    时间:2024-03-26 19:14:06

    1、打开terminal(终端)2、cd ~ ( 进入当前用户的home目录)3、open .bash_profile (打开.bash_profile文件,如果文件不存在就  创建文件:touch .bash_profile  编辑文件:open -e bash_profile)4、直接更改弹出的

  • 【MAC】source ~/.bash_profile只在当前shell下生效

    时间:2024-03-26 17:54:03

    引言,mac中有许多不同的shell种类,一般linux中使用的是bash,而我手上这台macbook pro用的是zsh,而在使用bash终端的时候,mac加载环境变量的顺序是:/etc/profile/etc/paths~/.bash_profile~/.bash_login~/.profile...

  • Mac 打开、编辑 .bash_profile 文件

    时间:2024-03-26 17:50:26

    刚刚遇到了如下情况,特此记录如何打开、编辑 .bash_profile 文件。.bash_profile 文件用来配置环境变量第一种方式:启动终端Terminal,直接输入~/.bash_profile会显示 No such file or directory进入当前用户的home目录输入cd ~创...

  • 找不到pytest的命令(-bash: pytest: command not found),但安装了库

    时间:2024-03-25 16:14:01

    1. 这几天想试试pytest框架,在官网查了步骤https://docs.pytest.org/en/latest/contents.html,和安装方法pip install -U pytest ---> 我电脑的实操 pip3 install -U pytest2. 但是验证pytest...

  • Windows 10安装bash和Azure CLI 2.0

    时间:2024-03-25 13:29:44

    Windows 10 系统新功能:Windows Subsystem for Linux,不用再安装双系统就可以在Windows系统下体验Linux了。官方链接:  https://msdn.microsoft.com/commandline/wsl/install_guide对于系统版本要求如下:...

  • Linux系统下安装jdk,运行java -version出现的bash: java: command not found问题

    时间:2024-03-25 12:09:54

    Linux系统下安装jdk,运行java -version出现的bash: java: command not found问题出现的情况如下尝试解决的方法出现的情况如下按照网上的方法配置好了/etc/profile下的jdk环境变量,同时也执行了source /etc/profile 命令更新文件,...

  • 【解决】-bash: ftp: command not found

    时间:2024-03-25 10:38:17

    今天在centos上使用ftp命令连接本机的FTP服务器(本机FTP服务使用Vsftpd搭建),出现如下的错误提示:-bash: ftp: command not found查询相关资料,发现很有可能是FTP命令没有安装。通过yum方式安装FTP命令:yum install ftp安装完毕后,再次使...