草庐IT

pip_build_root

全部标签

python - XGBoostLibraryNotFound : Cannot find XGBoost Library in the candidate path, 您是否安装了编译器并在根路径中运行了 build.sh?

我在移动XGBoost的python-package目录时遇到了这个问题。Traceback(mostrecentcalllast):File"setup.py",line19,inLIB_PATH=libpath'find_lib_path'File"xgboost/libpath.py",line46,infind_lib_path'Listofcandidates:\n'+('\n'.join(dll_path)))builtin.XGBoostLibraryNotFound:CannotfindXGBoostLibraryinthecandidatepath,didyouins

Linux添加root权限:is not in the sudoers file解决方法

Linux添加root权限:isnotinthesudoersfile解决方法当我们使用sudo命令切换用户的时候可能会遇到提示以下错误:用户名isnotinthesudoersfile.原因当前的用户没有加入到sudo的配置文件里解决方案#切换到root用户su#编辑配置文件vim/etc/sudoers#增加配置,在打开的配置文件中,找到rootALL=(ALL)ALL,在下面添加一行#其中xxx是你要加入的用户名称xxxALL=(ALL)ALL文件保存报错使用:wq保存/etc/sudoers文件报错(不能保存只读文件):Linux:readonlyoptionisset(add!too

python - Pip --user 将包安装到 Windows 10 上的默认用户目录

我在安装了Python2.6和2.7的Windows10上遇到问题。python-mpipinstallmyPack--no-index--find-links=.--user当以用户AutoUser运行此命令时,它会将myPack安装到Default用户目录C:\Users\Default\Python\Python27\site-packages或C:\Users\Default\Appdata\Roaming\Python\site-packages代替C:\Users\Autouser\Appdata\Roaming\Python\site-packagesWindows登录后

python - Pip --user 将包安装到 Windows 10 上的默认用户目录

我在安装了Python2.6和2.7的Windows10上遇到问题。python-mpipinstallmyPack--no-index--find-links=.--user当以用户AutoUser运行此命令时,它会将myPack安装到Default用户目录C:\Users\Default\Python\Python27\site-packages或C:\Users\Default\Appdata\Roaming\Python\site-packages代替C:\Users\Autouser\Appdata\Roaming\Python\site-packagesWindows登录后

python - PyInstaller,如何从 pip 安装的外部包中包含数据文件?

问题我正在尝试使用PyInstaller创建一个供我公司内部使用的应用程序。该脚本在工作python环境中运行良好,但在转换为包时丢失了一些东西。我知道如何在我的包中包含和引用我自己需要的数据文件,但我在包含或引用导入时应该包含的文件时遇到问题。我正在使用一个名为tk-tools的pip可安装包,其中包括一些用于面板式显示器(看起来像LED)的漂亮图像。问题是,当我创建一个pyinstaller脚本时,每当引用其中一个图像时,我都会收到错误消息:DEBUG:aspen_comm.display:COM2319200INFO:aspen_comm.display:addingpump1t

python - PyInstaller,如何从 pip 安装的外部包中包含数据文件?

问题我正在尝试使用PyInstaller创建一个供我公司内部使用的应用程序。该脚本在工作python环境中运行良好,但在转换为包时丢失了一些东西。我知道如何在我的包中包含和引用我自己需要的数据文件,但我在包含或引用导入时应该包含的文件时遇到问题。我正在使用一个名为tk-tools的pip可安装包,其中包括一些用于面板式显示器(看起来像LED)的漂亮图像。问题是,当我创建一个pyinstaller脚本时,每当引用其中一个图像时,我都会收到错误消息:DEBUG:aspen_comm.display:COM2319200INFO:aspen_comm.display:addingpump1t

python - pip 从 url 安装包

pipinstallhttp://www.crummy.com/software/BeautifulSoup/unreleased/4.x/BeautifulSoup-4.0b.tar.gz这会安装包bs4,一切正常。但是如果我将这一行添加到requirements.txthttp://www.crummy.com/software/BeautifulSoup/unreleased/4.x/BeautifulSoup-4.0b.tar.gz然后运行pipinstall-rrequirements.txt输出是Downloading/unpackinghttp://www.crummy.

python - pip 从 url 安装包

pipinstallhttp://www.crummy.com/software/BeautifulSoup/unreleased/4.x/BeautifulSoup-4.0b.tar.gz这会安装包bs4,一切正常。但是如果我将这一行添加到requirements.txthttp://www.crummy.com/software/BeautifulSoup/unreleased/4.x/BeautifulSoup-4.0b.tar.gz然后运行pipinstall-rrequirements.txt输出是Downloading/unpackinghttp://www.crummy.

python - pip "Could not find a version that satisfies the requirement pygame"

这个问题在这里已经有了答案:PygameinstallationforPython3.3(7个答案)关闭6年前。当我尝试安装PyGame时:pipinstallpygame它说CollectingpygameCouldnotfindaversionthatsatisfiestherequirementpygame(fromversions:)Nomatchingdistributionfound我相信我使用的是最新版本8.1.1。我在Windows8.1上使用Python3.5.1。我已经查看了此问题的其他答案,但没有一个对我有用。感谢您的帮助。

python - pip "Could not find a version that satisfies the requirement pygame"

这个问题在这里已经有了答案:PygameinstallationforPython3.3(7个答案)关闭6年前。当我尝试安装PyGame时:pipinstallpygame它说CollectingpygameCouldnotfindaversionthatsatisfiestherequirementpygame(fromversions:)Nomatchingdistributionfound我相信我使用的是最新版本8.1.1。我在Windows8.1上使用Python3.5.1。我已经查看了此问题的其他答案,但没有一个对我有用。感谢您的帮助。