analysiscenter / pydens

PyDEns is a framework for solving Ordinary and Partial Differential Equations (ODEs & PDEs) using neural networks
Apache License 2.0
283 stars 65 forks source link

How to install easily with PIP command? #27

Closed hossein-amini67 closed 3 years ago

hossein-amini67 commented 4 years ago

Dear Guys I am extremely interested in working with your product but I have a problem installing the packages. I installed using different ways but I faced "No module named 'pydens.batchflow'" and I do not have any idea to solve it. I will appreciate it if could do a favor of installing.

Thanks in advanced

RahulSundar commented 3 years ago

Dear Hossein You could first create a python3 virtual environment for pydens using virtualenv or other means. Then, you could activate your environment and install all the dependencies using: pip3 install pydens This mostly works on any system as per my experience. Just ensure that in the installation logs, you see that the dependencies are all installed and that tensorflow version is 1.14. However, if you are comfortable working with the development version you could follow the instructions as given in the readme file within the virtual environment. The virtual environment would ensure that you don't harm your other python packages already installed. Thanks Rahul

Arup-nit commented 2 years ago

Dear all, I have a problem installing the packages. In Jypyter notebook , Python 3; I use pip install pydens and it has installed successfully. Next when writing from pydens import Solver, NumpySampler, add_tokens getting error "module 'tensorflow' has no attribute 'layers'" Plz fix it.