当我尝试使用pip install Quartz
在我的系统上安装Quartz时,我面临以下错误。我使用Mac OSX和Anaconda。任何帮助表示赞赏。
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/sb/llj7h5px227_5b0__3v0sw5r0000gn/T/pip-build-qf8ezbu5/Quartz/setup.py", line 35, in <module>
install_requires=read_dependencies("requirements.txt"),
File "/private/var/folders/sb/llj7h5px227_5b0__3v0sw5r0000gn/T/pip-build-qf8ezbu5/Quartz/setup.py", line 7, in read_dependencies
with open(req_file) as req:
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
答案 0 :(得分:9)
包的setup.py
似乎有一个错误,所以我尝试了以下内容:
pip download quartz
。quartz-0.0.1.dev0.tar.gz
。提取并在setup.py
中找到以下行
install_requires=read_dependencies(“requirements.txt")
并将其更改为:
install_requires=read_dependencies("quartz.egg-info/requires.txt")
运行:pip install -e /path/to/quartz-0.0.1.dev0
。
安装应该没有错误完成。
或者尝试这个(修复了导入错误:在安装pyautogui
时遇到的安装pyautogui
时没有名为'Quartz'的模块):
pip install pyobjc-core
pip install pyobjc-framework-Quartz
答案 1 :(得分:2)
这是quartz
package的错误,requirements.txt
MANIFEST.in
个setup.py
文件中的quartz
文件错误,因此pip download quartz
错误来源$slider = $('#slider');
// Apply max to redraw slider
$slider.slider({ max: value });
。由于糟糕的建筑设计,它不会很快修复,因为它目前已被放弃。
所以你可以:
<PropertyGroup>
<CopyAllFilesToSingleFolderForMsdeployDependsOn>
ExcludeCustomFilesOrFolders;
$(CopyAllFilesToSingleFolderForPackageDependsOn);
</CopyAllFilesToSingleFolderForMsdeployDependsOn>
</PropertyGroup>
<Target Name="ExcludeCustomFilesOrFolders" BeforeTargets="ExcludeFilesFromPackage">
<ItemGroup>
<ExcludeFromPackageFolders Include="$(MSBuildProjectDirectory)\Media" />
</ItemGroup>
<Message Text="Custom Exclude From %0D Folders: @(ExcludeFromPackageFolders)%0D Files: @(ExcludeFromPackageFiles)" Importance="high"/>
</Target>
以安装provisioner "chef" {
environment = "terraform"
run_list = ["cookbook::recipe"]
node_name = "chefclient1"
server_url = "https://1.2.3.4/organizations/terraform"
recreate_client = true
user_name = "my_username"
user_key = "${file("chefuser.pem")}"
version = "12.4.1"
ssl_verify_mode = "verify_none"
connection {
user = "ubuntu"
private_key = "${file("test.pem")}"
agent = "false"
timeout = "30s"
}
}
包。aws_instance.chefclient (chef): ERROR: Failed to authenticate to https://52.23.2
43.121/organizations/terraform/ as my_username with key /etc/chef/my_username.pem
aws_instance.chefclient (chef): Response: Invalid signature for user or client
'akajain'
下载程序包,并将GitHub中缺少的GitHub放入已提取的源中,然后运行安装。requirements.txt
file中提供的步骤进行操作。新版本正在进行中,很快就会发布。