我有一个非常奇怪的问题与新的ubuntu 17.04当我试图安装的东西从pip我无法做到…这是错误:
sudo pip install psutil
The directory '/home/metu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sud
我不小心这么做了
pip install --upgrade ipykernel
但后来我发现我应该
conda update ipykernel
现在我有两个jupyter_core,setuptools,request等。如何卸载我通过pip安装的冗余包。我试过了
pip uninstall ipykernel
并得到了
DEPRECATION: Uninstalling a distutils installed project (ipykernel) has been deprecated and will be removed in a future version.
This i
我和python3有点问题。出于某些我无法理解的原因,python3中可用的模块与通过pip3安装的模块不同。
在终端中运行pip3 list将返回:
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
nltk (3.2.2
我正在尝试使用pip安装python库,它告诉我它需要setuptools,所以我尝试安装setuptools,尽管一切看起来都成功了,但它没有意识到它已经安装了。知道我可能在这里错过了什么吗?
$ sudo pip install gmusicapi
Downloading/unpacking gmusicapi
Downloading gmusicapi-7.0.0.tar.gz (147kB): 147kB downloaded
Cleaning up...
setuptools must be installed to install from a source distribut
我正在尝试使用pip安装gensim,但是我得到了:
"Could not import setuptools which is required to install from a source distribution.
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 377, in setup_py
import setuptools # noqa
File "/Library/Pyth
我一直在尝试使用pip安装Scrapy,以便获得本赛季的NBA赛程和得分。在过去的6个小时里,我一直在试着安装它。我已经逐字地按照设置说明进行了操作,但仍然无法使其正常工作。任何帮助都将不胜感激。终端窗口输出如下所示。非常感谢!使用mac osx btw。
Requirement already satisfied (use --upgrade to upgrade): Scrapy in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Scrapy-0.22.2-py2.7.egg
D
我对setuptools有意见。我正在尝试为Adafruit FT232H安装FT232H,显然它需要一个与标准PyUSB不同的分叉。我已经下载了这个文件,并且我在有它的setup.py文件的文件夹中。当我运行python setup.py install时,我得到以下信息:
Traceback (most recent call last): File "setup.py", line 18, in <module> from setuptools import setup ModuleNotFoundError: No module named 'set
我正在将Django应用程序部署到dev服务器,并在运行pip install -r requirements.txt时遇到此错误
Traceback (most recent call last):
File "/var/www/mydir/virtualenvs/dev/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
pkg_resources似乎与setuptools
编辑:忘了添加,它在MacOSX10.10.5 Yosemite上
这是我从不更新我的点对点的原因之一,因为我害怕这会发生,我会破坏一些向后兼容性…唉。
我升级了我的点对点,突然所有的东西都坏了,现在我不能让它工作了。
Last login: Thu May 24 10:52:09 on ttys000
Hi Jan
~> pip install pandas
Requirement already satisfied: pandas in /usr/local/lib/python2.7/site-packages
Requirement already satisfied: pytz
我从下载了StatsModels源代码。
然后去掉焦油
/usr/local/lib/python2.7/dist-packages
根据,是这样做的
sudo python setup.py install
它已安装,但当我尝试导入时
import statsmodels.api as sm
我得到以下错误
Traceback (most recent call last):
File "/home/Astrophysics/Histogram_Fast.py", line 6, in <module>
import statsmodels.api as sm