• 找不到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安装完毕后,再次使...

  • Visual Studio 外部工具中添加 git-bash

    时间:2024-03-24 18:00:31

    为什么80%的码农都做不了架构师?>>>   引言旧版的 Visual Studio 没有集成 git 工具,并且自己也习惯用 git-bash 命令行来操作,那么如何在旧版的 Visual Studio 快速打开 git-bash 终端呢?使用外部工具Tips: 请确保你已经安装...

  • 解决 bash: nvidia-smi: command not found的问题

    时间:2024-03-24 16:10:03

    0 背景最近在windows10下面安装了cuda 10.0 和cudnn,然后使用gitbash软件输入:nvidia-smi 查看信息的时候,显示下面的报错:经过去网上查阅,发现了下图中的解决办法 于是将C:\Program Files\NVIDIA Corporation\NVSMI加入到系统...

  • 【深夜急报,Win10下的Linux子系统之Bash】

    时间:2024-03-24 07:50:01

    【在Windows下进行的编程人员,你真的需要学习下Linux】手册:《Linux 命令手册(特洛伊版2.0)》链接: https://pan.baidu.com/s/1skrVSvV 密码: tmf2附Bash 手册:Shell编程手册.chm百度网盘:http://pan.baidu.com/s...

  • git/git bash here简单安装步骤

    时间:2024-03-23 21:34:18

    git下载官网地址: https://git-scm.com/downloads根据操作系统选择下载,图片默认下载为windows点击windows,会根据电脑默认选择64-bit或32-bit保存文件,运行Git-2.27.0-64-bit.exe.安装步骤可全部默认,选择Next,安装完成,在项...

  • github与Git bash详细教程

    时间:2024-03-23 21:33:30

    **github与Git bash详细教程**第一步下载成功 Git bash以后先在本地创建ssh key(秘钥)接下来就直接写 Git bash 命令行了创建ssh key命令行: ssh-******-t rsa-C “yonghuming” , "[email protected]"(引号后...

  • Linux学习笔记 --Bash Scripts

    时间:2024-03-23 21:31:05

    Bash Scripts#Bash脚本基础#如何创建新shell脚本1. 创建包含bash命令的文本文件。文件的第一行应为: #!/bin/bash2. 使文件可执行(使用chmod +x scripts)3. 将文件放置在用户的$PATH的目录中~/bin – 用于用户的私有程序/usr/loca...

  • -bash: reboot: command not found

    时间:2024-03-23 20:22:46

    今天在编译安装GmSSL的时候,手贱修改了/etc/profile文件,然后就悲剧了 只有cd命令可以用用。。。 还不能关机。。。 查看了一下被我修改的Path的值: 脑子抽了。。。 还好在网上搜到了关于PATH的值,用EXPORT命令临时设置了一下: 修改/etc/profile 文件,sourc...

  • bash: arpspoof: command not found

    时间:2024-03-23 20:17:03

    执行arpspoof命令报命令找不到,如下bash: arpspoof: command not found执行:apt-get install arpspoof -y,报错如下图执行:apt-get install dsniff -y注:没有叫arpspoof的包,想要使用arpspoof命令,必...

  • -bash: npm: command not found

    时间:2024-03-23 20:16:39

    卸载node,安装nvm,通过nvm安装管理node,而后使用npm命令,结果报错:-bash: npm: command not found解决方式:我进行重新安装node才解决,去官网重新下载node的v10.16.0,https://nodejs.org/en/ ...

  • -bash: nginx: command not found

    时间:2024-03-23 20:16:15

    问题:-bash: nginx: command not found原因:nginx的路径不对解决方案1:./ sbin/nginx -t解决方案2:vim /etc/profile增加以下红框的两行再source /etc/profile,让配置文件生效然后 nginx -t

  • 解决"bash: hexo: command not found"问题

    时间:2024-03-23 18:44:31

    问题描述执行完npm install -g hexo,在git bash 下执行hexo -v 显示命令找不到解决方案(1)找到hexo安装目录下的.bin,复制此路径(2)配置环境变量右击此电脑,选择属性,点击高级环境配置点击环境变量,双击系统变量下的path将复制的路径添加进path,依次点击确...

  • vscode--powershell,bash切换

    时间:2024-03-22 14:35:48

    VS code中power shell,bash的切换在VS code中的设置然后在搜索栏中输入power可以跳出一个选择的路径将bash的路径输入(个人路径:D:\Git\bin\bash.exe)输入就可以切换成bash,VS code中默认自带的就是powershell,不喜欢bash的不用切...

  • Git Bash安装和基本配置

    时间:2024-03-19 16:37:43

    GitBash安装1、下载地址windows系统下载地址Mac、Linux系统下载地址2、下载完成之后,点击安装,具体安装过程参照下图换行符选择签出到本地时转换为Windows下的换行符,提交到服务器时转换为Unix下的换行符让Git在签出到本地时不做转换,保留原始文件的换行符;提交到服务器时转换为...

  • Bash Shell中双引号中的感叹号问题详解

    时间:2024-03-19 14:04:35

    Bash Shell中双引号中的感叹号问题详解 在Bash Shell中,感叹号(!)是一个特殊字符,主要用于历史扩展。历史扩展允许你使用!来引用历史命令。然而,当你在双引号中使用感叹号时,如果你在双引号中直接使用感叹号,它可能会被解释为历史扩展的一部分。 双引号中的感叹号问题 例如: echo "...

  • 基本的bash shell命令

    时间:2024-03-18 21:56:31

    大多数linux发行版的默认都是GUNbash shell,本次将介绍bash shell的一些基本特征,bashshell基本命令来操作linux文件和目录。1. 启动shellGun bash能提供对linux系统的交互式访问,它是作为普通的程序运行的,通常是在用户登录终端启动,登录时系统启动的...

  • Git Bash的妙用 - 使用Linux命令

    时间:2024-03-17 21:13:51

    如何在Windows中使用Linux命令?网上有很多说是安装CygwinPortable 在cmd 窗口下是用linux 命令,但是还有一些缺陷。其实对于程序员来说...