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

error in setup of cso classifier #17

Open
AsmaKhatoon123 opened this issue Jul 8, 2024 · 10 comments
Open

error in setup of cso classifier #17

AsmaKhatoon123 opened this issue Jul 8, 2024 · 10 comments

Comments

@AsmaKhatoon123
Copy link

hello there

Following the mentioned steps, we have got this error

"python setup.py egg_info did not run successfully.
exit code: 1

[8 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\asmas\cso-classifier\setup.py", line 5, in
long_description = fh.read()
File "C:\Users\asmas\anaconda3\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 38260: character maps to
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Encountered error while generating package metadata.

See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details."

can you help in this

@angelosalatino
Copy link
Owner

hi @AsmaKhatoon123 which version of python are you using?

@AsmaKhatoon123
Copy link
Author

AsmaKhatoon123 commented Jul 8, 2024 via email

@angelosalatino
Copy link
Owner

Can you try either 3.7 or 3.8?

Currently it does not support versions from 3.10 onwards

@AsmaKhatoon123
Copy link
Author

AsmaKhatoon123 commented Jul 8, 2024 via email

@AsmaKhatoon123
Copy link
Author

AsmaKhatoon123 commented Jul 8, 2024 via email

@angelosalatino
Copy link
Owner

Have you tried here: https://www.python.org/downloads/release/python-3717/

@AsmaKhatoon123
Copy link
Author

AsmaKhatoon123 commented Jul 8, 2024 via email

@angelosalatino
Copy link
Owner

Very strange. I will have someone look into this.

Can you give me more details so to reproduce the error?
I am assuming you are using windows OS.

Are you installing the github version or the pipy version?

Which your current python version?

Can I also ask you to run a test for me? Can you download and try to install the version on github (instead of pipy)? Please comment line 4 and 5 of setup.py before installing it.
This seems a silly coded error that may come from the readme file

Thank you

@AsmaKhatoon123
Copy link
Author

AsmaKhatoon123 commented Jul 21, 2024 via email

@angelosalatino
Copy link
Owner

Yes, they are the same code. Just exposed online.

It depends how many paper you have to classify.

if it is in the range of 10/20 then yes. If it happens to be more than that, I would encorage to fix the python library.

If you comment line 4 and 5 of setup.py before installing it, what error do you get?
Sorry, but without a clear error statement it is very hard to troubleshoot.

Best

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