Giter Club home page Giter Club logo

Comments (4)

uellue avatar uellue commented on August 14, 2024

Normally, LiberTEM should be installed automatically since it is a dependency of the ptychography40 package:

"libertem>=0.6.0",

Was it missing on your system when you installed ptychography40?

from ptychography.

w-markus avatar w-markus commented on August 14, 2024

from ptychography.

sk1p avatar sk1p commented on August 14, 2024

[...] I have issues since I am running python3.9 instead of 3.7 (I assume). I am currently downgrading debian "testing" back to "stable". Than I will give it another try.

Yes, Python 3.9 support is discussed in this issue: LiberTEM/LiberTEM#914 which is believed to be an upstream issue in CPython, see discussion here: dask/distributed#4168

For Debian, I would strongly suggest to use miniconda to create isolated virtual environments - then you are independent of the system Python interpreter. The problem is you can only install one version of system Python 3 at a time, so once testing or unstable updates the Python version, you have a problem. Sometimes, even minor upgrades break virtual environments. This doesn't happen with conda-created venvs. Downgrading to Debian stable could be painful, as I don't think that is officially supported.

from ptychography.

w-markus avatar w-markus commented on August 14, 2024

Ok. Downgrading is painful! However, I could manage to get back to Debian current "testing" distribution, aka bullseye.

I followed the above suggestion and installed miniconda and created a python-3.7 based environment there.

Now, imports are working fine, except for hyperspy requesting more recent packages. I obeyed this by installing hyperspy explicitly to pull the required package versions.

Libertem was installed automatically. The issue remains, but for this the current title is wrong. Will open a new issue and close this one here.

from ptychography.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.