小编Tor*_*ame的帖子

如何在Amazon Web Services EC2实例上安装MySQL-python?

我在AWS上创建了一个EC2实例,并使用PuTTY连接到它.
我无法安装的MySQL蟒使用python PIP命令如下:
PIP安装MySQL-蟒(通过根特权)

以下是错误的控制台输出

Collecting MySQL-python
Using cached MySQL-python-1.2.5.zip
Complete output from command python setup.py egg_info:
sh: mysql_config: command not found
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-build-JGbAEI/MySQL-python/setup.py", line 17, in <module>
metadata, options = get_config()
File "/tmp/pip-build-JGbAEI/MySQL-python/setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "/tmp/pip-build-JGbAEI/MySQL-python/setup_posix.py", line 25, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
----------------------------------------
Command "python setup.py egg_info" failed with error …
Run Code Online (Sandbox Code Playgroud)

python mysql amazon-ec2 amazon-web-services setup.py

3
推荐指数
1
解决办法
3758
查看次数

如何在cardView android中添加listView?

原谅我有任何错误.我是初学者.任何人都可以解释如何在android中的cardview布局内创建一个列表视图.android 6.0中的示例设置应用程序
在此输入图像描述 我想在每个cardview布局中创建一个可滚动的cardview布局和listview项目.我在网上搜索得足够多,似乎没有任何帮助.如果您有任何解决方案,这将对我有所帮助.

android listview material-design android-cardview

2
推荐指数
1
解决办法
6770
查看次数