Comments (11)
@ringtail Python 3.7.7 available
from derrick.
麻烦提供下系统的版本
from derrick.
麻烦提供下系统的版本
[root@docker ~]# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
[root@docker ~]# python -V
Python 3.7.3
[root@docker ~]#
from derrick.
麻烦提供下系统的版本
[root@docker ~]# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
[root@docker ~]# python -V
Python 3.7.3
[root@docker ~]#
好的,我看下Python3.7的兼容性
from derrick.
是更新代码了吗,我使用python 2.7.17 也无法安装
Using cached certifi-2019.11.28-py2.py3-none-any.whl (156 kB)
ERROR: requests 2.22.0 has requirement idna<2.9,>=2.5, but you'll have idna 2.9 which is incompatible.
Installing collected packages: regex, whaaaaat, pychalk, simplejson, setuptools-git, idna, nose, certifi, chardet, urllib3, requests, requests-toolbelt, pkginfo, tqdm, python-derrick
Running setup.py install for regex ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-LpffN8/regex/setup.py'"'"'; file='"'"'/tmp/pip-install-LpffN8/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-afC3n9/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python2.7/regex
cwd: /tmp/pip-install-LpffN8/regex/
Complete output (20 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/regex
copying regex_2/init.py -> build/lib.linux-x86_64-2.7/regex
copying regex_2/regex.py -> build/lib.linux-x86_64-2.7/regex
copying regex_2/_regex_core.py -> build/lib.linux-x86_64-2.7/regex
copying regex_2/test_regex.py -> build/lib.linux-x86_64-2.7/regex
running build_ext
building 'regex._regex' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/regex_2
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-5Z483E/python2.7-2.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c regex_2/_regex.c -o build/temp.linux-x86_64-2.7/regex_2/_regex.o
regex_2/_regex.c:48:10: fatal error: Python.h: No such file or directory
#include "Python.h"
^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-LpffN8/regex/setup.py'"'"'; file='"'"'/tmp/pip-install-LpffN8/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-afC3n9/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python2.7/regex Check the logs for full command output.
from derrick.
centos需要安装下python-devel
from derrick.
另外测试下3.7的版本,应该已经可以工作了
from derrick.
if you find some error like: fatal error: Python.h: No such file or directory,Please install python-dev or python-devel with package manager.Windows please use powershell or winshell.
from derrick.
from derrick.
Traceback (most recent call last):
File "/usr/bin/derrick", line 5, in
from pkg_resources import load_entry_point
File "/usr/local/python3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 3191, in
@_call_aside
File "/usr/local/python3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 3175, in _call_aside
f(*args, **kwargs)
File "/usr/local/python3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 3204, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/python3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 583, in _build_master
ws.require(requires)
File "/usr/local/python3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/python3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'python-derrick==0.1.0' distribution was not found and is required by the application
from derrick.
Try to uninstall the old version and install with the command below pip3 install python-derrick==0.1.2 --index-url=https://pypi.org/simple
from derrick.
Related Issues (20)
- Complaints "the source code is not in GOPATH" for Node.js project
- java项目无法构建,只生成了一个json文件 HOT 2
- Automatically parse artifactId and version from pom.xml
- Generate Deployment object
- 在go语言上运行失败 HOT 3
- Add JVM flags best practices for containerization
- Add cpu and memory request and limit
- 增加下这个环境变量配置 JAVA_TOOL_OPTIONS.
- Derrick直接构建 helm/多环境/ kustomize 目录结构然后yaml放到对应的子目录里
- pip3 install HOT 6
- 构建 helm 多环境目录
- 构建 Kustomize 多环境目录
- 构建构建 kubernetes deployment manifests 目录
- add startupProbe
- 用户文档网页
- rewrite README
- Take in user config file to specify image name and other options
- Set default image name and provide docker-build script
- golang无法构建成功 HOT 1
- When using derrick in win10, only the derrick.json file is generated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from derrick.