Installing/upgrading pip properly for JModelica ver 2.0

2 posts / 0 new
Last post
janpeter
Offline
Joined: 2010-09-11
Installing/upgrading pip properly for JModelica ver 2.0

Hi,

 

I am somewhat confused about the search path in JModelica ver 2.0 and changes from earlier versions. And I run in an updated Windows 10 environment.

 

I think I made a completely clean installation of JModelica.org-2.0 by first uninstallering previous edition and corresponding Python packages, and some manual deleting of remaining folders. 

 

After successful installation I ran get-pip.py from within IPython position in the folder /JModelica.org-2.0 where I had put downloaded get-pip.py file. This led to an upgrade of pip (since pip already was installed as standard for later Python27). After that I installed pandas==0.18.1 (as well as xlrd==1.0.0) and they work well and seem not to interfere with JModelica.

 

I also updated the system environmental variable in Windows 10 for TEMP and then Path with the fact that now in JModelica 2.0 Python27 is contained inside JModelica.org-2.0. Still I cannot call pip from any folder outside where it is installed i.e. /JModelica.org-2.0/Python27/Scripts.

In my previous installation of JModelica 1.17 I could using the Windows command window call pip list from any folder.

 

My installation of JModelica as well as Pandas does work from different folders so I have no immediate problem, Still the fact that pip is not callable from anywhere  make me hesitate to install other packages since something is different or wrong with the search path for pip.

 

All this might be due to a slightly different way I ran get-pip.py now using JModelica.org-2.0.

 

Appreciate some comment/help

 

Jan Peter

janpeter
Offline
Joined: 2010-09-11
HI again, I guess we could

HI again,

I guess we could simplify the question here. What I understand we do not need to run get-pip.py since it is already installed. However, it is not clear how to be able to use pip for the current standard installation of JModelica ver 2.0. 

Normally I would do pip list --- to get a list of installed packages

Now I after some struggles found that I could (from some folder do) pip.get_installed_distributions()  --- to get that same list

Normally I would do pip install pandas==0.18.1 --- to install pandas of version 0.18.1

But how do I do now?

Thanks

Jan Peter

Login or register to post comments