epri-dev / StorageVET

StorageVET 2.0 is a valuation model for analysis of energy storage technologies and some other energy resources paired with storage. The tool can be used as a standalone model, or integrated with other power system models, thanks to its open-source Python framework. Download the executable environment and learn more at https://www.storagevet.com.
https://www.storagevet.com
BSD 3-Clause "New" or "Revised" License
63 stars 25 forks source link

cvxpy version issues #9

Open MClenchy opened 3 years ago

MClenchy commented 3 years ago

When I follow the installation instructions for Conda I get the following error when executing pip install for the requirements.txt doc. The issue seems to be the version requirement of cvxpy 1.0.31 even though it exists on the hyperlink:

Preparing wheel metadata ... error ERROR: Command errored out with exit status 1: command: 'anaconda3\envs\storagevet-venv\python.exe' 'anaconda3\envs\storagevet-venv\lib\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\AppData\Local\Temp\tmpm65kwtjy' cwd: C:\Users\AppData\Local\Temp\pip-install-3ptet54m\cvxpy_f4f231c8a48b407e9353f803b77d3422 Complete output (1 lines): error in cvxpy setup command: use_2to3 is invalid.

WARNING: Discarding https://files.pythonhosted.org/packages/11/d0/d900870dc2d02ea74961b90c353666c6528a33ea61a10aa59a0d5574ae59/cvxpy-1.0.31.tar.gz#sha256=b398754f9e9ceaa46b07806b5ae85f90fd8de748475db22a6b99c5943cebe69d (from https://pypi.org/simple/cvxpy/). Command errored out with exit status 1: 'C:\Users\anaconda3\envs\storagevet-venv\python.exe' 'C:\Users\anaconda3\envs\storagevet-venv\lib\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\AppData\Local\Temp\tmpm65kwtjy' Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement cvxpy==1.0.31 ERROR: No matching distribution found for cvxpy==1.0.31

milesgevans commented 3 years ago

I suggest following the instructions on https://github.com/epri-dev/DER-VET for installing the environment - it should work for storagevet as well.

Most users have the most luck installing with conda: [image: image.png]

On Fri, 12 Nov 2021 at 14:03, MClenchy @.***> wrote:

When I follow the installation instructions for Conda I get the following error when executing pip install for the requirements.txt doc:

Preparing wheel metadata ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\MattClenchy\anaconda3\envs\storagevet-venv\python.exe' 'C:\Users\MattClenchy\anaconda3\envs\storagevet-venv\lib\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\MATTCL 1\AppData\Local\Temp\tmpm65kwtjy' cwd: C:\Users\MATTCL 1\AppData\Local\Temp\pip-install-3ptet54m\cvxpy_f4f231c8a48b407e9353f803b77d3422 Complete output (1 lines): error in cvxpy setup command: use_2to3 is invalid.

WARNING: Discarding https://files.pythonhosted.org/packages/11/d0/d900870dc2d02ea74961b90c353666c6528a33ea61a10aa59a0d5574ae59/cvxpy-1.0.31.tar.gz#sha256=b398754f9e9ceaa46b07806b5ae85f90fd8de748475db22a6b99c5943cebe69d (from https://pypi.org/simple/cvxpy/). Command errored out with exit status 1: 'C:\Users\MattClenchy\anaconda3\envs\storagevet-venv\python.exe' 'C:\Users\MattClenchy\anaconda3\envs\storagevet-venv\lib\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\MATTCL~1\AppData\Local\Temp\tmpm65kwtjy' Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement cvxpy==1.0.31 ERROR: No matching distribution found for cvxpy==1.0.31

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/epri-dev/StorageVET/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5UDQIX5KJHGAQLJJVLRLLULV6KBANCNFSM5H5VYTBA .