Ask Your Question
0

PyPSSE Set up

asked Nov 23 '3

anonymous user

Anonymous

updated Nov 27 '3

jconto gravatar image

Hi, sorry for the basic question...I cloned PyPSSE from github, as per these instructions:

-Clone this repository 
-Open up a Anaconda command prompt and execute command set CONDA_FORCE_32BIT=1. 
-Create a virtual environment by executing conda create -n python=3.7 in anaconda prompt 
-Activate environment by executing conda activate 
-From the cloned PyPSSE directory execute command python install -e. to install PyPSSE in the same environment

The last step is not working...could someone break it down please? After I change directory (while in the conda env I created) and type: python install -e. I get: python: can't open file 'install': [Errno 2] No such file or directory with pip install -e. I get: ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode

there is not 'set up file' in the cloned evn.

Thanks!

1 answer

Sort by » oldest newest most voted
0

answered Nov 27 '3

jconto gravatar image

I have Anaconda-32 bit with python 3.9, also 32-bit version. I used PIP to install pypsse within a CONDA environment window as follows:

C:\Users\..>python
Python 3.9.7 (default, Sep 16 2021, 16:58:32) [MSC v.1916 32 bit (Intel)] :: Anaconda, Inc. on win32
...
C:\Users\..\Python>pip install pypsse
Collecting pypsse
  Using cached pypsse-0.1.9-py3-none-any.whl
Requirement already satisfied: numpy in c:\programdata\anaconda3_32bit\lib\site-packages (from pypsse) (1.20.3)
Requirement already satisfied: pandas in c:\programdata\anaconda3_32bit\lib\site-packages (from pypsse) (1.4.1)
Requirement already satisfied: python-dateutil>=2.8.1 in c:\programdata\anaconda3_32bit\lib\site-packages (from pandas->pypsse) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in c:\programdata\anaconda3_32bit\lib\site-packages (from pandas->pypsse) (2021.3)
Requirement already satisfied: six>=1.5 in c:\programdata\anaconda3_32bit\lib\site-packages (from python-dateutil>=2.8.1->pandas->pypsse) (1.16.0)
Installing collected packages: pypsse
Successfully installed pypsse-0.1.9

C:\Users\..\Python>
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Nov 23 '3

Seen: 315 times

Last updated: Nov 27 '23