paudetseis / Telewavesim

Teleseismic body wave modeling through stacks of (submarine/anisotropic) layers
https://paudetseis.github.io/Telewavesim/
MIT License
66 stars 18 forks source link

Failed installation #43

Closed insersir closed 2 years ago

insersir commented 3 years ago

I am trying to install the package “telewavesim” in windows 10 with python 3.8 but it is failed. I have an issue like this. Can someone solve this problem? Thank you.

Collecting telewavesim
Using cached telewavesim-0.2.0.tar.gz (137 kB)
ERROR: Command errored out with exit status 1:
command: ‘C:\Users\USER\Anaconda3\python.exe’ -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\USER\AppData\Local\Temp\pip-install-6j_hmsaa\telewavesim\setup.py’"’"’; file=’"’"‘C:\Users\USER\AppData\Local\Temp\pip-install-6j_hmsaa\telewavesim\setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ egg_info --egg-base ‘C:\Users\USER\AppData\Local\Temp\pip-pip-egg-info-vfr8tcib’
cwd: C:\Users\USER\AppData\Local\Temp\pip-install-6j_hmsaa\telewavesim
Complete output (9 lines):
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\USER\AppData\Local\Temp\pip-install-6j_hmsaa\telewavesim\setup.py”, line 23, in
version=find_version(‘telewavesim’, ‘init.py’),
File “C:\Users\USER\AppData\Local\Temp\pip-install-6j_hmsaa\telewavesim\setup.py”, line 9, in find_version
code = fp.read()
File “C:\Users\USER\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 7522: character maps to
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
trichter commented 3 years ago

Thanks for raising the issue. I will have a look into it.

trichter commented 3 years ago

@insersir I checked the 0.2.0 version and the codec is not yet specified in the relevant file in the release.

Can you check if installing from master is working for you? e.g.

pip install https://github.com/paudetseis/Telewavesim/archive/master.zip
trichter commented 2 years ago

No feedback, I assume the issue is solved.