Kitware / py-web-vue

Build a 3D Web application using VTK or ParaView while only writing a Python script. This project aims to streamline the existing ParaViewWeb infrastructure into something that is simpler to use by lowering the entry point complexity.
Other
24 stars 9 forks source link

Failed to run on Windows #4

Closed finetjul closed 3 years ago

finetjul commented 3 years ago

Describe the bug

Not sure if it is proper to Windows or just that I did not run the correct commands

To Reproduce

$ git clone git@github.com:Kitware/py-web-vue.git
$ cd py-web-vue
$ python3 -m venv py-env
$ .\py-env\Scripts\activate
$ pip install -e .\python\
$ pip install vtk==9.0.20210717.dev0
$ python .\examples\VTK\SimpleCone\LocalRendering\app.py
-> ValueError: No directory exists at 'C:\Work\ParaviewWeb\py-web-vue\py-web-vue\python\src\pywebvue\www

Platform: Windows 10 Python 3.7.8

py-web-vue version: master > v2.0.0

jourdain commented 3 years ago

Where did you get pip install -e .\python\? I need to fix the doc as it is for developer in case it was not clear in the documentation. If you are a user you should do pip install pywebvue.

To fix your issue as a developer you need to build the client by doing that first:

cd client
npm i
npm run build
finetjul commented 3 years ago

Thanks !

jourdain commented 3 years ago

Does it work now?

finetjul commented 3 years ago

Yes

(sorry btw, I did not even try to make it work)

Got tonight a bit of time to play with it, cool work !

jourdain commented 3 years ago

:tada: This issue has been resolved in version 2.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: