pip

Can't install numpy - MS Visual C++ 14.1 is required. But it is installed

血红的双手。 提交于 2021-01-03 07:06:17
问题 I am on Windows 10 using pypy3.6-v7.3.0. I am trying to install numpy with pip install numpy , but I keep getting the error: error: Microsoft Visual C++ 14.1 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/ . However I already have Visual Studio Community 2019 installed, and my C++ build tools are fully up to date. Edit: Here is the new error I am getting after installing build tools manually: Collecting numpy Using cached https://files

Why is pip asking me to upgrade when it's already up-to-date?

旧街凉风 提交于 2021-01-03 06:12:41
问题 I have a brand new installation of python 3.7.1 64-bit and I'm using the latest pyCharm as my IDE. I have no other installation of python on this machine. I go to install numpy and I get this message: (venv) C:\Users\John\PycharmProjects\project>pip install numpy Requirement already satisfied: numpy in c:\users\john\pycharmprojects\pysims\venv\lib\site-packages (1.15.4) You are using pip version 10.0.1, however version 18.1 is available. You should consider upgrading via the 'python -m pip

Why is pip asking me to upgrade when it's already up-to-date?

爷,独闯天下 提交于 2021-01-03 06:11:53
问题 I have a brand new installation of python 3.7.1 64-bit and I'm using the latest pyCharm as my IDE. I have no other installation of python on this machine. I go to install numpy and I get this message: (venv) C:\Users\John\PycharmProjects\project>pip install numpy Requirement already satisfied: numpy in c:\users\john\pycharmprojects\pysims\venv\lib\site-packages (1.15.4) You are using pip version 10.0.1, however version 18.1 is available. You should consider upgrading via the 'python -m pip

Why is pip asking me to upgrade when it's already up-to-date?

白昼怎懂夜的黑 提交于 2021-01-03 06:11:41
问题 I have a brand new installation of python 3.7.1 64-bit and I'm using the latest pyCharm as my IDE. I have no other installation of python on this machine. I go to install numpy and I get this message: (venv) C:\Users\John\PycharmProjects\project>pip install numpy Requirement already satisfied: numpy in c:\users\john\pycharmprojects\pysims\venv\lib\site-packages (1.15.4) You are using pip version 10.0.1, however version 18.1 is available. You should consider upgrading via the 'python -m pip

Why is pip asking me to upgrade when it's already up-to-date?

独自空忆成欢 提交于 2021-01-03 06:11:11
问题 I have a brand new installation of python 3.7.1 64-bit and I'm using the latest pyCharm as my IDE. I have no other installation of python on this machine. I go to install numpy and I get this message: (venv) C:\Users\John\PycharmProjects\project>pip install numpy Requirement already satisfied: numpy in c:\users\john\pycharmprojects\pysims\venv\lib\site-packages (1.15.4) You are using pip version 10.0.1, however version 18.1 is available. You should consider upgrading via the 'python -m pip

使用pipenv管理你的python项目

断了今生、忘了曾经 提交于 2021-01-02 19:24:24
怎么使用pipenv管理你的python项目 原文链接: https://robots.thoughtbot.com/how-to-manage-your-python-projects-with-pipenv   在thoughtbot,我们用Ruby和Rails工作,但通常我们总是尝试使用最合适的语言或者框架来解决问题。我最近一直在探索机器学习技术,所以Python使用地更多。   Ruby项目和Python项目处理之间的一个很大的区别就是管理依赖关系方式的不同。目前在Python语言中没有类似于Bundler或Gemfiles的东西,所以通常Python开发人员将使用Virtualenv创建一个虚拟环境,再创建一个依赖包列表requirements.txt,然后他们可以使用 Pip进行安装。   这种方法一般都会工作正常,但有时它会表现出一些怪异行为,因此你必须手动安装或删除某些特定版本的包,并记得定期更新requirements.txt文件,以保持项目环境的一致。特别是当你想要在你的虚拟环境中安装Python包,但它不一定与项目本身相关联。 此外,一些项目有时会保留requirements.txt文件的两个版本——一个用于开发环境,一个用于生产环境,这可能会导致更多的复杂性。   幸运的是,Kenneth

Getting module 'google.protobuf.descriptor_pool' has no attribute 'Default' in my python script

爱⌒轻易说出口 提交于 2021-01-02 05:42:18
问题 I am new to python and was using a python script written by someone else. I was running it fine in a different PC. Just had to install coupe of packages including pip3 , google-cloud , google-cloud-bigquery and pandas . Now when I installed the same packages on a different PC, I am unable to run the script. It is showed the following error first: module = 'google.protobuf.descriptor_pb2' TypeError: expected bytes, Descriptor found However, when In purged/re-installed/updated packages and also

ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly

心不动则不痛 提交于 2021-01-02 05:36:35
问题 I get an error when pip builds wheels for the cryptography package. Error: LINK : fatal error LNK1181: cannot open input file 'libssl.lib' error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x86\\link.exe' failed with exit status 1181 ---------------------------------------- ERROR: Failed building wheel for cryptography Running setup.py clean for cryptography Failed to build cryptography ERROR: Could not build wheels

Why do I get no such table error when installing Apache Airflow on Mac?

泪湿孤枕 提交于 2021-01-02 05:21:21
问题 It was so hard to put that right title. Ok, here it goes. I was following this tutorial to install Apache Airflow on my Mac (Mojave version) - https://towardsdatascience.com/getting-started-with-apache-airflow-df1aa77d7b1b Right at the first step after performing the pip install airflow task, when I run the airflow version command I am getting the following error and then the airflow version appears - ERROR - Failed on pre-execution callback using Traceback (most recent call last): File "

No module named imutils.pespective after pip installing

こ雲淡風輕ζ 提交于 2021-01-02 05:19:47
问题 I am trying to follow this tutorial which requires imtools . It looks like I have the package installed, but the Python compiler cannot find it. What's going on here? Tutorial: http://www.pyimagesearch.com/2016/10/03/bubble-sheet-multiple-choice-scanner-and-test-grader-using-omr-python-and-opencv/ ~/py:. cat test_grader.py from imutils.perspective import four_point_transform~ ~/py:. python test_grader.py Traceback (most recent call last): File "test_grader.py", line 1, in <module> from