Hi I would like to install EcoDynElec in a virtual environment but so far without success. Can anyone help please?
I tried the conventional install on the documentation
and got the following error:
(myproject) C:\Users\zhang_x\Documents\Third paper>pip install elecodyn
ERROR: Could not find a version that satisfies the requirement elecodyn (from versions: none)
ERROR: No matching distribution found for elecodyn
(myproject) C:\Users\zhang_x\Documents\Third paper\EcoDynElec>pip install git+https://github.com/LESBAT-HEIG-VD/EcoDynElec.git
Collecting git+https://github.com/LESBAT-HEIG-VD/EcoDynElec.git
Cloning https://github.com/LESBAT-HEIG-VD/EcoDynElec.git to c:\users\zhang_x\appdata\local\temp\2\pip-req-build-qd9kgqdk
Running command git clone --filter=blob:none --quiet https://github.com/LESBAT-HEIG-VD/EcoDynElec.git 'C:\Users\zhang_x\AppData\Local\Temp\2\pip-req-build-qd9kgqdk'
Resolved https://github.com/LESBAT-HEIG-VD/EcoDynElec.git to commit 236f26500e9eae4db920dc79476af13d0ac44c28
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\zhang_x\AppData\Local\Temp\2\pip-req-build-qd9kgqdk\setup.py", line 7, in <module>
long_description = fh.read()
^^^^^^^^^
File "C:\Users\zhang_x\Anaconda3\envs\myproject\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 2193: character maps to <undefined>
[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.