Closed Koaha closed 1 year ago
Soooo which character in the long description makes it trip over? Have you tried to install via pip?
Oh, and you say you are using Python 3.9 but clearly the library is Python 3.11. That doesn't look right. So I guess there is some inconsistency with the python version.
Ya, my friend got this problem when he installed it through pip - python 3.9. So I tried with your original github and got the same issue. Anyway, we successfully installed, but have to take away the long_description
Looks like that the default behaviour for code pages has changed and that older python installs use the windows codepage cp1252. Just pushing a new version to pypi.
@careen28 has the same issue. Since I'm a Linux person can you try out with the newest version 1.3.4 if the crash with the "long_description" is now gone?
I succeeded installing the module
!pip3 install py-ecg-detectors
Requirement already satisfied: py-ecg-detectors in c:\users\gigabiyte\appdata\roaming\python\python39\site-packages (1.3.4)
Requirement already satisfied: gatspy in c:\users\gigabiyte\appdata\roaming\python\python39\site-packages (from py-ecg-detectors) (0.3)
Requirement already satisfied: scipy in c:\users\gigabiyte\anaconda3\lib\site-packages (from py-ecg-detectors) (1.9.1)
Requirement already satisfied: pywavelets in c:\users\gigabiyte\anaconda3\lib\site-packages (from py-ecg-detectors) (1.3.0)
Requirement already satisfied: numpy in c:\users\gigabiyte\anaconda3\lib\site-packages (from py-ecg-detectors) (1.21.5)
, but now I'm facing this problem
from ecgdetectors import Detectors
ModuleNotFoundError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_12924\2944482465.py in
ModuleNotFoundError: No module named 'ecgdetectors'
Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ecgdetectors import Detectors
>>> help(Detectors)
Work here without any problem. Sorry but that looks like a local problem at your end and certainly unrelated to the character encoding. That's been resolved. Closing it now,.
Hi,
It seems that the f.read() in setup.py for the long_description has a problem with encoding.
So I have to walk around by removing the long_description in the setup file
My python version is 3.9