Understanding implications of use of package path.py new in JModelica.org-2.0

2 posts / 0 new
Last post
janpeter
Offline
Joined: 2010-09-11
Understanding implications of use of package path.py new in JModelica.org-2.0

Hi again,

 

Here is a new package path.py in the JModelica.org-2.0 installation.

Before I could simply use a command

 

Import sys

sys.path.append('F:/Python/folder_of_my_module’)

 

from my_module import xxx

 

Now that does not work.

 

It actually worked still after installation of pandas but

after installation of another few packages also using pip it does not work,

(These packages worked well with JModelica and also now with ver 2.0)

 

I look at the documentation of package path.py  but would appreciate some help.

 

Jan Peter

 

janpeter
Offline
Joined: 2010-09-11
Hi again, Seems that this

Hi again,

Seems that this problem with running command sys.path.append('F:/Python/folder_of_my_module’) is not very reproducible.

But I have checked that module path.py is really in the standard distribution JModelica.org-2.0 although not mentiioned in the Users Guide in section 2.2.1 (and there are also some other packages installed not documented here). 

If there is something to be aware of setting up local user paths it would be good to know

Jan Peter

Login or register to post comments