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

can not install it in win10 or centos7 #52

Closed
bbg221 opened this issue Oct 2, 2019 · 1 comment
Closed

can not install it in win10 or centos7 #52

bbg221 opened this issue Oct 2, 2019 · 1 comment

Comments

@bbg221
Copy link

bbg221 commented Oct 2, 2019

I download the code from the trunk line and install it with 'python setup.py install' into my win10 and centos7. all of them are failed.
"ImportError: No module named pathlib" is occurred first, after I fix it by 'pip install pathlib',

Traceback (most recent call last):
  File ".\setup.py", line 17, in <module>
    long_description=Path('README.rst').read_text(),
AttributeError: 'WindowsPath' object has no attribute 'read_text'

occurred in windows and

Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    long_description=Path('README.rst').read_text(),
AttributeError: 'PosixPath' object has no attribute 'read_text'

occurred in centos7.

@WhyNotHugo
Copy link
Owner

pathlib is part of python itself, but only exists as of python 3.4.

You're probably using a very old python (3.3?) which we don't support. What's the output of python --versión.

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

No branches or pull requests

2 participants