我尝试安装pycairo
在 virtualenv 中以在 Django 项目中使用。我已经运行了pip install pycairo==1.10.0
找到包并下载它的命令,这与其他命令(如pip install pycairo
等)不同,但是在开始安装包时会引发错误。
这是日志:
Downloading/unpacking pycairo==1.10.0
Running setup.py egg_info for package pycairo
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory:
'/home/radu/Desktop/djangos/workout/venv/build/pycairo/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory:
'/home/radu/Desktop/djangos/workout/venv/build/pycairo/setup.py'
----------------------------------------
Command python setup.py egg_info failed with error code 1 in
/home/radu/Desktop/djangos/workout/venv/build/pycairo
Storing complete log in /home/radu/.pip/pip.log
你能给我一些关于该怎么做的提示吗?我应该尝试为包编写一个 setup.py 文件,然后尝试安装它吗?(我不确定它甚至是一个解决方案,我仍在试图弄清楚我能做什么)。
提前致谢!