Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using PDSim in the cloud with Jupyter Notebook/Google Colab #58

Open
MaEnr opened this issue Oct 2, 2020 · 3 comments
Open

Using PDSim in the cloud with Jupyter Notebook/Google Colab #58

MaEnr opened this issue Oct 2, 2020 · 3 comments

Comments

@MaEnr
Copy link

MaEnr commented Oct 2, 2020

I am trying to run a compressor model that uses both PDSim and CoolProp in either Google Colab or Jupyter Notebook through the cloud. I am trying to do this through the cloud because one of the goals for my project is to run models without downloading anything locally.

I was able to install PDSim using the setup.py file inside Google Colab and PDSim version 2.13 shows up under the list of packages in the notebook. However, I am unable to import from PDSim.flow.flow and PDSim.core. I did not use msvc to build and install the package so I am wondering if this could be my issue. Is there any way around using something like msvc?

@ibell
Copy link
Owner

ibell commented Oct 6, 2020 via email

@MaEnr
Copy link
Author

MaEnr commented Oct 9, 2020

I'm sorry I do not know what you mean by image.

Running python setup.py results in creating and installing a .egg file. After that, import PDSim seems to be working however import PDSim.core results in this error: ModuleNotFoundError: No module named 'PDSim.flow.flow_models'.

I have attached a screenshot showing the imports with the error, as well as a screenshot of some of the output for running !python setup.py install.

ImportError
InstallOutput

@ibell
Copy link
Owner

ibell commented Oct 10, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants