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

requirements.txt / setup.py #123

Open
Mateuszq28 opened this issue Sep 3, 2024 · 5 comments
Open

requirements.txt / setup.py #123

Mateuszq28 opened this issue Sep 3, 2024 · 5 comments

Comments

@Mateuszq28
Copy link

Can somebody provide the exact requirements.txt package list for conda/pip that will work?

I merged those two pull requests:

And I still get an error when after typing:

python setup.py build
python setup.py install
python -m pytissueoptics --help (same for python pytissueoptics)

File "/home/miki/anaconda3/envs/sim3/lib/python3.8/site-packages/pyface-8.0.0-py3.8.egg/pyface/base_toolkit.py", line 165, in init
raise NotImplementedError(msg % (toolkit, package, name))
NotImplementedError: the null tvtk.pyface.ui.null backend doesn't implement scene_editor:SceneEditor

I used Ubuntu 22.04.3 LTS WSL2. On a Windows same error arrises. Python 3.8

Originally posted by @Mateuszq28 in #116 (comment)

@Mateuszq28
Copy link
Author

Maybe there is a problem with mayavi when it uses deprecated eggs to install. Or these eggs uses links to install dependencies and those dependencies have been updated to version that are not compatibile with mayavi itself. I tried to install mayavi directly from github site and still an error arrises. No matter which version of mayavi I use, it still crash in that point. I tried 4.8.1, 4.8.2, 4.8.3.dev.

Originally posted by @Mateuszq28 in #116 (comment)

@Mateuszq28
Copy link
Author

Is there a specific version of these packages, that should I use?

  • vtk
  • numpy

@Mateuszq28
Copy link
Author

If somebody can run this, It would be useful to make pull request with new directory, in which would be anaconda or pip list dumps (requirements.txt). Package version lists, which were tested and works.

@Mateuszq28
Copy link
Author

I would have also use some of these methods or a docker container to help maintain the project:

https://stackoverflow.com/questions/17486578/how-can-you-bundle-all-your-python-code-into-a-single-zip-file

@Mateuszq28
Copy link
Author

#124 I made pull request with a folder structure to collect environment dumps.

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

1 participant