草庐IT

kill_dependency

全部标签

python - Setuptools 无法使用来自 dependency_links 的链接

我一直在尝试安装一个配置了以下设置的包:setup(packages=find_packages(),include_package_data=True,install_requires=['Django==1.5.1','xhtml2pdf',],dependency_links=['https://github.com/chrisglass/xhtml2pdf/zipball/28d12fcaafc4c47b13f1f6f42c2bfb73f90cc947#egg=xhtml2pdf',],)但是它从PyPi安装XHTML2PDF包,而不是使用指定的链接。根据输出(我使用pipin

python - 设置.py & pip : override one of the dependency's sub-dependency from requirements. txt

我目前正在开发一个包,在我的requirements.txt中,我有一个依赖项:wikipedia。现在,wikipedia1.3使用requests-2.2.1而我的包使用版本2.3.0。此外,正如人们所预料的那样,wikipedia-1.3的安装取决于它是否存在依赖项。但是,如果我启动一个新的virtualenv并直接将wikipedia包含在我的requirements.txt中,它会在上给出一个ImportErrorrequests因为在setup.py运行时,requests-2.3.0的setup.py不会执行,除非所有其他人执行。在下面的附图中,解压后没有运行setup.

python - Python依赖 hell : A compromise between virtualenv and global dependencies?

到目前为止,我已经测试了多种方法来用在Python中管理我的项目依赖项:使用pip全局安装所有内容(节省空间,但迟早会给您带来麻烦)pip和venv或virtualenv(管理起来有点麻烦,但在许多情况下还可以)pipenv和pipfile(比venv/virtualenv容易一些,但速度较慢,并且有一些供应商锁定,虚拟环境隐藏在实际项目文件夹之外的其他位置)conda作为程序包和环境管理器(最好在conda中提供所有程序包,将pip和conda混合使用会有点麻烦)诗歌-我还没有尝试过这个...我所有这些问题(除了1.)的问题是我的硬盘空间很快就被填满了:我不是开发人员,我在日常工作中

python - 安装 BlueJeans session API 客户端时出现 "pipenv requires an #egg fragment for version controlled dependencies"警告

改编来自https://github.com/bluejeans/api-rest-meetings/tree/master/libs/python#pip-install的说明,在pipenvshell我正在尝试运行pipenvinstallgit+https://github.com/bluejeans/api-rest-meetings.git@pip-repo但是,我收到以下错误消息:⠋WARNING:pipenvrequiresan#eggfragmentforversioncontrolleddependencies.Pleaseinstallremotedependenc

python - 值错误 : Dependency on app with no migrations: customuser

我正在尝试使用Django框架启动网页。这是我的第一个Web开发项目。创建项目后,我尝试启动一个应用程序,该应用程序利用自定义用户并使用django-registration通过电子邮件验证进行注册。这是我运行managerunserver时发生的情况:这是models.py文件包含的内容:fromdjango.dbimportmodelsfromdjango.contrib.auth.modelsimportAbstractUserfromdjango.utils.translationimportugettext_lazyas_classUser(AbstractUser):use

python - RaspberryPi3 上的 WebDriverException : Message: invalid argument: can't kill an exited process with GeckoDriver, Selenium 和 Python

服务器:树莓派3操作系统:Dietpi-版本159Geckodriver版本:0.22forarm火狐版本:52.9.0Python版本:3.5Selenium版本:3.14.1Gecko是可执行的,位于/usr/local/bin/fromseleniumimportwebdriverfromselenium.webdriver.common.byimportByfromselenium.webdriver.support.uiimportWebDriverWaitfromselenium.webdriver.supportimportexpected_conditionsasECf

python - 为什么 conda 尝试使用 --no-update-dependencies 更新包?

通常当我尝试安装一个新包时,conda也想更新其他包,即使我已经添加了--no-update-dependencies开关。更新似乎是“不必要的”——就像大多数时候只有版本号的最后一部分发生了变化。今天我想安装mpld3包,conda想将我的python包从版本3.4.4-2更新到3.4.4-4,即使我已经添加了--no-update-dependencies开关。如何让conda安装mpld3包而不影响我的其他包?C:\...>condainstall-ppyenv--no-update-dependenciesmpld3Fetchingpackagemetadata:....Sol

ios - CocoaPods "target has transitive dependencies that include static binaries"

我正在尝试将我在GitHub上找到的Swift框架连同GoogleMaps、GooglePlaces安装到我的Xcode项目中,但出于某种原因,当我尝试安装pod文件时出现以下错误[!]The'Pods-project1'targethastransitivedependenciesthatincludestaticbinaries:(/Users/user1/Desktop/project1/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework,/Users/user1/Desktop/project1/Pods/Googl

ios - 在 __pthread_kill 上崩溃

关闭。这个问题不符合StackOverflowguidelines.它目前不接受答案。这个问题似乎是题外话,因为它缺乏足够的信息来诊断问题。更详细地描述您的问题或includeaminimalexample在问题本身。关闭8年前。Improvethisquestion收到下面的崩溃报告,但不知道为什么会发生以及如何修复它。SIGABRTABORTat0x000000019aa3258clibsystem_kernel.dylib__pthread_killThread:Crashed:com.apple.main-thread0libsystem_kernel.dylib0x00000

ios - Cocoapods 停留在 "analyzing dependencies"

我正在使用cocoapods来管理我的依赖项。一切正常。现在,当我创建一个新项目时,将以下内容添加到我的podfile中,platform:ios,'6.1'pod'RestKit','~>0.20.0'当我安装pod时,它一直在分析依赖关系。知道为什么会出现这个问题吗? 最佳答案 我遇到了同样的问题,并且由于我使用--verbose的输出与链接的SO答案不同,所以我包括该响应以及它对我有用的验证:$podreporemovemaster$podsetup$podinstall 关于io