草庐IT

install-configuration

全部标签

python - 错误 : 'conda' can only be installed into the root environment

当我尝试安装python包seaborn时出现以下错误:condainstall--namedato-envseabornError:'conda'canonlybeinstalledintotherootenvironment这当然令人费解,因为我并没有尝试安装conda。我正在尝试安装seaborn。这是我的设置。我有3个python环境:dato环境py35根我之前成功安装了seaborn(使用命令condainstallseaborn),但它安装在根环境中(并且不适用于我正在使用的iPython笔记本dato环境)。我尝试在dato-env环境中安装seaborn,以便我的iP

python - 警告 : The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build

已结束。这个问题是off-topic.它目前不接受答案。想要改进这个问题?Updatethequestion所以它是on-topic堆栈溢出。关闭9年前。Improvethisquestion我试图在我的新Mac上实际安装biopython。Python2.7已经安装在其中。要安装biopython,我发现用macports安装很好。现在要安装macports,我需要xcode,但是在运行Xcode之后,我安装了成功安装的macports。然后尝试使用以下命令安装biopython:sudo端口安装py27-biopython但最终收到这样的警告:警告:Xcode的命令行工具似乎没有安

python - 无法安装 scipy - 卡住在 "Running setup.py install for scipy"

当我运行时sudopipinstall-Uscipy先下载然后再显示Runningsetup.pyinstallforscipy但它在那里卡住。我尝试升级pip本身。工作得很好。我的pip版本是1.5.4我得到的唯一错误是InsecurePlatforWarning。完整的输出如下所示:tom@tom-ThinkPad-Edge-E430:~$sudopipinstall-UscipyThedirectory'/home/tom/.cache/pip/http'oritsparentdirectoryisnotownedbythecurrentuserandthecachehasbee

python - 无法使用 pip install requirements.txt 安装

已结束。这个问题是notreproducibleorwascausedbytypos.它目前不接受答案。此问题是由拼写错误或无法再重现的问题引起的。虽然类似的问题可能是on-topic在这里,这个问题的解决方式不太可能帮助future的读者。关闭5年前。Improvethisquestion我正在尝试安装BitTornado对于使用requirements.txt的Python2.7,我收到以下错误:Collectingrequirements.txtCouldnotfindaversionthatsatisfiestherequirementrequirements.txt(from

python - Easy_install 和 Pip 不起作用

当我尝试这样做时,Easy_install和Pip不再适用于python2.7:sudoeasy_installpip我明白了:Traceback(mostrecentcalllast):File"/usr/bin/easy_install",line5,infrompkg_resourcesimportload_entry_pointFile"/usr/bin/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",line2713,inparse_requirements(__require

python - setuptools 和 pip : choice of minimal and complete install

我们创建了一个依赖于其他库的库。但是有必要的(例如用于服务器批处理)和可选的依赖项(例如用于具有GUI的客户端)。这样的事情可能吗:pipinstallmylib.tar.gz#automaticallydownloadsandinstallswiththeminimalsetofdependenciespipinstallmylib.tar.gz--install-option="complete"#automaticallyinstallswithalldependencies我找到了extra_require标志,但我如何告诉pip使用它们?setup.py如下所示:fromse

python - 如何在 Windows 上安装 .egg Python 包(尝试使用 easy_install 不起作用)

我正在尝试为我正在做的一门类(class)安装一个名为QSTK的软件包。类(class)指向一个32位版本的安装包,但是我安装了64个Python。我在Pythonpackagesindex上找到了一个.egg文件。.它似乎有一个32位的exe,但只有.egg的64位。我下载了QSTK-0.2.6-py2.7.egg版本,到目前为止一直在尝试安装,但没有成功。这是我尝试过的:使用简易安装(来自C:\Python27\Lib\site-packages目录):Pythoneasy_install-ZC:\Users\Prosserc\Downloads\QSTK-0.2.6-py2.7.

python - 导入错误 : DLL load failed when importing Numpy installed in conda virtual environment

在Windows中,我使用命令创建了一个Conda虚拟环境condacreate-ntestpython=2.7pandasscipymatplotlibnumpy创建后,我激活了虚拟环境并进入了python解释器。尝试导入numpy时,出现以下错误:>>>importnumpyTraceback(mostrecentcalllast):File"",line1,inFile"C:\Anaconda3\envs\test\lib\site-packages\numpy\__init__.py",line180,infrom.importadd_newdocsFile"C:\Anacon

python - pip install 默认带有删除选项

在python(django)项目中,当我使用pip更改现有依赖项的位置,并在另一台机器上重新安装更新后的requirements.txt文件时,系统会提示我如下消息:-ObtainingSouthfromgit+git://github.com/lambdafu/django-south.git@7bb081348d854d0b1aa82b87da5b446ad5d6f2a6#egg=South-dev(from-rrequirements.txt(line5))gitclonein./src/southexistswithURLgit://github.com/clones/dja

Android 解决“Could not resolve all artifacts for configuration ‘:classpath‘”报错问题

在开发的过程中,同步代码的时候,突然出现这个报错信息:Causedby:org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException:Couldnotresolveallartifactsforconfiguration':classpath'.这让本来比较烦躁的我,突然想爆粗WTF,算了还是解决问题比较重要!那肯定是找资料解决问题啦,然后就是看各位大佬的解决成功的方案,什么重新安装啊,什么使用阿里云代理啊,什么使用mavenLocal(),什么清理缓存重启AS