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

Cannot install on python2.7. "Command "python setup.py egg_info" failed with error code 1" #29

Closed
nehagupta93 opened this issue Mar 12, 2019 · 1 comment

Comments

@nehagupta93
Copy link

nehagupta93 commented Mar 12, 2019

I ran pip install formulas[all]
And got the following output:
`Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-G63Y__/formulas/setup.py", line 62, in
proj_ver = read_project_version()
File "/tmp/pip-install-G63Y__/formulas/setup.py", line 26, in read_project_version
exec(fd.read(), fglobals) # To read version
File "", line 0
SyntaxError: encoding declaration in Unicode string

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-G63Y__/formulas/`

Things that I have tried which did not work (with and without sudo access, in and outside the virtual environment):

  • sudo pip install --upgrade setuptools
  • sudo apt-get install libmysqlclient-dev
  • pip install --upgrade pip
  • pip install formulas

I also tried installing it by cloning the repository and running the setup.py file.

The error does not occur with python3. My project only runs on 2.7. Does this repository only support python3?

@vinci1it2000
Copy link
Owner

I'm sorry but this library supports for the moment support the following python versions:

formulas/setup.py

Lines 119 to 121 in b3e0352

"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants