pip

Python3.7.2版本出现ModuleNotFoundError: No module named 'paramiko'解决办法

微笑、不失礼 提交于 2021-02-20 01:14:52
Python3.7.2版本出现ModuleNotFoundError: No module named 'paramiko'解决办法 以下都是自己遇到这种情况的解决方法总结。 刚开始学习Python,就遇到执行Python文件报错, 一直提示import paramiko ModuleNotFoundError: No module named 'paramiko' 网上百度了很多方法,比如: 1.paramiko模块依赖于pycrypto模块,然而我在安装paramiko时就一直报错;又去安装MinGW、Visual Studio最后都以失败告终; 浪费了很多脑细胞,心力交瘁。 最后又看到一篇文章直接pip install paramiko,但是又遇到新问题,如下: 'pip' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 2.网上百度出:一般安装python时就会自动把pip安装好,所以要先明确自己是否安装了python。 如果确定自己安装了python,那就说明是没有配置环境变量,找到自己安装python的目录,找到Scripts文件夹,并把这个Scripts文件夹的目录添加到Path环境变量即可。 3.执行pip install paramiko,出现Fatal error in launcher: Unable to create process using '

连Python都不熟也能跑通AI人脸识别?“隐藏Boss”竟是它!

*爱你&永不变心* 提交于 2021-02-19 17:06:29
摘要 :先把AI人脸识别跑起来,然后研究它是如何实现的,整个过程中确实收获不少。所谓先跟着做,再跟着学,实践与理论结合,自己感觉有理解了一些基础概念入个门,在此分享一下自己的捣鼓经验。 1、买台小“电脑” 既然要做人脸识别,那得找台带摄像头的小电脑啊。首先得价格便宜,简单搜了下,基本有以下几个选择: 树莓派4: ARM系统,生态好。价格合适,55刀。CPU在3个中最好,算力0.1TFLOPS K210:RISC-V的(非ARM),价格是最实惠的,299元。算力有0.8TOPS Jetson Nano:ARM系统,比树莓派4还贵,但是多一个英伟达的GPU(当然是丐版的GPU),价格99刀。算力0.47TFLOPS 这3个里面,考虑到人脸识别应该有更多的AI属性,那么带GPU能做AI推理不是更香么,于是就选择了英伟达的Jetson Nano开发板(主要也是想先入门英伟达的GPU派系,谁叫现在NVIDIA比较香呢)。 参考链接: https://www.zhihu.com/question/384561694 https://zhuanlan.zhihu.com/p/81969854 2、启动系统 这里需要先把“系统image”刷到 tf 卡里面,然后把tf卡插到开发板上,然后开机启动。启动有2个点需要注意: 跳线帽,需要插上(不然电源点不亮)。 第一次开机会卡住,需要重启一次。 启动后

Execute post installation task with pip

本小妞迷上赌 提交于 2021-02-19 08:19:16
问题 My Project Tree Structure . ├── example.gif ├── funmotd │ ├── config.json │ ├── __init__.py │ └── quotes_db.py ├── LICENSE ├── README.md └── setup.py setup.py (Removed some code in order to have less code) import sys import os import setuptools from setuptools.command.install import install class PostInstall(install): def run(self): mode = 0o666 bashrc_file = os.path.join(os.path.expanduser('~'), ".bashrc") install.run(self) # Added CLI to .bashrc # Change "config.json" file permission

Python - Pip Install - Proxy Error - 'Cannot connect to proxy.', OSError'

女生的网名这么多〃 提交于 2021-02-19 06:13:05
问题 I want to install some modules in a Enterprise VM in order to create some Python Scripts. I'm trying to use PIP with Proxy to do it. I'm using this command lines: C:\Users\user>SET HTTPS_PROXY=https://user:pass@199.00.11.11:8080 C:\Users\user>SET PROXY=http://user:pass@199.00.11.11:8080 C:\Users\user>pip install datetime To have access to my virtual machine I've this credentials: USER : NAN/user PASS : pass But I am getting this error: Collecting datetime Retrying (Retry(total=4, connect=None

Python - Pip Install - Proxy Error - 'Cannot connect to proxy.', OSError'

大憨熊 提交于 2021-02-19 06:11:07
问题 I want to install some modules in a Enterprise VM in order to create some Python Scripts. I'm trying to use PIP with Proxy to do it. I'm using this command lines: C:\Users\user>SET HTTPS_PROXY=https://user:pass@199.00.11.11:8080 C:\Users\user>SET PROXY=http://user:pass@199.00.11.11:8080 C:\Users\user>pip install datetime To have access to my virtual machine I've this credentials: USER : NAN/user PASS : pass But I am getting this error: Collecting datetime Retrying (Retry(total=4, connect=None

Python - Pip Install - Proxy Error - 'Cannot connect to proxy.', OSError'

守給你的承諾、 提交于 2021-02-19 06:09:28
问题 I want to install some modules in a Enterprise VM in order to create some Python Scripts. I'm trying to use PIP with Proxy to do it. I'm using this command lines: C:\Users\user>SET HTTPS_PROXY=https://user:pass@199.00.11.11:8080 C:\Users\user>SET PROXY=http://user:pass@199.00.11.11:8080 C:\Users\user>pip install datetime To have access to my virtual machine I've this credentials: USER : NAN/user PASS : pass But I am getting this error: Collecting datetime Retrying (Retry(total=4, connect=None

Python - Pip Install - Proxy Error - 'Cannot connect to proxy.', OSError'

风流意气都作罢 提交于 2021-02-19 06:09:27
问题 I want to install some modules in a Enterprise VM in order to create some Python Scripts. I'm trying to use PIP with Proxy to do it. I'm using this command lines: C:\Users\user>SET HTTPS_PROXY=https://user:pass@199.00.11.11:8080 C:\Users\user>SET PROXY=http://user:pass@199.00.11.11:8080 C:\Users\user>pip install datetime To have access to my virtual machine I've this credentials: USER : NAN/user PASS : pass But I am getting this error: Collecting datetime Retrying (Retry(total=4, connect=None

Python - Pip Install - Proxy Error - 'Cannot connect to proxy.', OSError'

假如想象 提交于 2021-02-19 06:07:31
问题 I want to install some modules in a Enterprise VM in order to create some Python Scripts. I'm trying to use PIP with Proxy to do it. I'm using this command lines: C:\Users\user>SET HTTPS_PROXY=https://user:pass@199.00.11.11:8080 C:\Users\user>SET PROXY=http://user:pass@199.00.11.11:8080 C:\Users\user>pip install datetime To have access to my virtual machine I've this credentials: USER : NAN/user PASS : pass But I am getting this error: Collecting datetime Retrying (Retry(total=4, connect=None

how to install tensorflow version 1.12.0 with pip

我的梦境 提交于 2021-02-19 05:30:47
问题 I need the specific tensorflow-gpu version 1.12.0 for my application as i have cuda-9 in my system. I am able to find the whl file for tensorflow cpu , but not able to locate the same for tensorflow-gpu. 回答1: You can use: "pip3 install tensorflow-gpu==1.12.0" 来源: https://stackoverflow.com/questions/55877398/how-to-install-tensorflow-version-1-12-0-with-pip

how to install tensorflow version 1.12.0 with pip

不想你离开。 提交于 2021-02-19 05:29:11
问题 I need the specific tensorflow-gpu version 1.12.0 for my application as i have cuda-9 in my system. I am able to find the whl file for tensorflow cpu , but not able to locate the same for tensorflow-gpu. 回答1: You can use: "pip3 install tensorflow-gpu==1.12.0" 来源: https://stackoverflow.com/questions/55877398/how-to-install-tensorflow-version-1-12-0-with-pip