Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3.6 not work #12

Closed
yihong0618 opened this issue Sep 21, 2020 · 3 comments · Fixed by #13
Closed

python3.6 not work #12

yihong0618 opened this issue Sep 21, 2020 · 3 comments · Fixed by #13

Comments

@yihong0618
Copy link
Contributor

Expected Behavior

kb list or kb add work fine

Actual Behavior

kb list or kb add cause exceptions
image

I use docker-compose works fine

Steps to Reproduce the Problem

  1. using python3.6
  2. install kb
  3. kb list

Specifications

  • Version: python 3.6
  • Platform: windows
  • Subsystem: wsl1
@gnebbia
Copy link
Owner

gnebbia commented Sep 21, 2020

Thanks for reporting, are you using the last version of kb?
If you don't know try to re-clone the repository and do a:

pip install --upgrade . # yes it is a dot at the end

within the kb directory.
Let me know if it works.

@yihong0618
Copy link
Contributor Author

yihong0618 commented Sep 21, 2020

@gnebbia
Thank you for reply

No I am using the latest code

Kind of locate the problem. maybe because python3.6 pathlib will not auto str Path
image

I changed the config file fix this.

image

Can I take a pr? Or you have other idea?

image

@yihong0618
Copy link
Contributor Author

@gnebbia

Here... seems solve in Python3.7

https://bugs.python.org/issue33496

@yihong0618 yihong0618 mentioned this issue Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants