pip

pkg_resources.DistributionNotFound: The 'pipenv==2018.10.13' distribution was not found and is required by the application

眉间皱痕 提交于 2021-01-20 15:10:58
问题 I've reinstalled pip and pipenv due to some broken package with ansible. Now, it seems like my pip dependencies are all screwed. Any suggestion or help is greatly appreciated. $ which python2 /usr/local/bin/python2 $ which python3 /usr/local/bin/python3 $ which pipenv /usr/local/bin/pipenv Traceback (most recent call last): File "/usr/local/Cellar/pipenv/2018.10.13/libexec/bin/pipenv", line 6, in <module> from pkg_resources import load_entry_point File "/usr/local/Cellar/python/3.7.1

Python 3.9: installing scikit-learn fails on Windows [closed]

混江龙づ霸主 提交于 2021-01-20 12:18:06
问题 Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last month . Improve this question I'm trying to install "mlxtend" pip install mlxtend via command prompt but it shows a lot of errors. I've gone throw all of them but couldn't understand the reason behind the failure. Please help me to resolve this issue? Screenshot: 回答1: You are trying to install scikit-learn

AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel' for PyQt5 5.15.0

那年仲夏 提交于 2021-01-20 08:11:51
问题 A program I am trying to install requires the installation of PyQt5 5.15.0 , which gives me this error. The odd thing is that the installation works fine for the latest version of PyQt5 (5.15.2), but this program requires 5.15.0 specifically. Command Output: Collecting PyQt5==5.15.0 Using cached PyQt5-5.15.0.tar.gz (3.3 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... error ERROR: Command errored out with exit status 1:

AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel' for PyQt5 5.15.0

泄露秘密 提交于 2021-01-20 08:10:44
问题 A program I am trying to install requires the installation of PyQt5 5.15.0 , which gives me this error. The odd thing is that the installation works fine for the latest version of PyQt5 (5.15.2), but this program requires 5.15.0 specifically. Command Output: Collecting PyQt5==5.15.0 Using cached PyQt5-5.15.0.tar.gz (3.3 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... error ERROR: Command errored out with exit status 1:

Error in installing face_recognition module using pip

寵の児 提交于 2021-01-20 07:17:15
问题 I am using vs code in windows 10. When I install face_recognition in vs code using pip I got the following error, I have also tried to install dlib before installing face_recognition. ERROR: Command errored out with exit status 1: command: 'c:\users\admin\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-fi__6w9v\\dlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\Admin\\AppData\\Local\

Conda: The following packages are missing from the target environment

折月煮酒 提交于 2021-01-19 23:28:15
问题 I'm trying to uninstall awscli: conda list | grep aws awscli 1.18.78 pypi_0 pypi (base) % conda remove awscli Collecting package metadata (repodata.json): done Solving environment: failed PackagesNotFoundError: The following packages are missing from the target environment: - awscli But for some reason conda can't find package. What is proper way to uninstall awscli? 回答1: Use Pip The channel value of pypi indicates that this package was installed from PyPI using pip , and therefore - as

Conda: The following packages are missing from the target environment

大兔子大兔子 提交于 2021-01-19 23:25:51
问题 I'm trying to uninstall awscli: conda list | grep aws awscli 1.18.78 pypi_0 pypi (base) % conda remove awscli Collecting package metadata (repodata.json): done Solving environment: failed PackagesNotFoundError: The following packages are missing from the target environment: - awscli But for some reason conda can't find package. What is proper way to uninstall awscli? 回答1: Use Pip The channel value of pypi indicates that this package was installed from PyPI using pip , and therefore - as

Conda: The following packages are missing from the target environment

二次信任 提交于 2021-01-19 23:18:08
问题 I'm trying to uninstall awscli: conda list | grep aws awscli 1.18.78 pypi_0 pypi (base) % conda remove awscli Collecting package metadata (repodata.json): done Solving environment: failed PackagesNotFoundError: The following packages are missing from the target environment: - awscli But for some reason conda can't find package. What is proper way to uninstall awscli? 回答1: Use Pip The channel value of pypi indicates that this package was installed from PyPI using pip , and therefore - as

Failed to install wsgiref on Python 3

偶尔善良 提交于 2021-01-19 17:24:32
问题 I have a problem installing wsgiref : $ python --version Python 3.6.0 :: Anaconda 4.3.1 (x86_64) $ pip --version pip 9.0.1 from /anaconda/lib/python3.6/site-packages (python 3.6) My requirement.txt file are shown as below. numpy==1.8.1 scipy==0.14.0 pyzmq==14.3.1 pandas==0.14.0 Jinja2==2.7.3 MarkupSafe==0.23 backports.ssl-match-hostname==3.4.0.2 gnureadline==6.3.3 ipython==2.1.0 matplotlib==1.3.1 nose==1.3.3 openpyxl==1.8.6 patsy==0.2.1 pyparsing==2.0.2 python-dateutil==2.2 pytz==2014.4

Failed to install wsgiref on Python 3

自作多情 提交于 2021-01-19 17:23:30
问题 I have a problem installing wsgiref : $ python --version Python 3.6.0 :: Anaconda 4.3.1 (x86_64) $ pip --version pip 9.0.1 from /anaconda/lib/python3.6/site-packages (python 3.6) My requirement.txt file are shown as below. numpy==1.8.1 scipy==0.14.0 pyzmq==14.3.1 pandas==0.14.0 Jinja2==2.7.3 MarkupSafe==0.23 backports.ssl-match-hostname==3.4.0.2 gnureadline==6.3.3 ipython==2.1.0 matplotlib==1.3.1 nose==1.3.3 openpyxl==1.8.6 patsy==0.2.1 pyparsing==2.0.2 python-dateutil==2.2 pytz==2014.4