Giter Club home page Giter Club logo

dxtools's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dxtools's Issues

SciPy ImportError upon attempting to run dxtools.py

I am trying to run dxtools.py as described in the readme.

I have the following dependencies explicitly installed in the virtual environment from where I'm invoking the script:

[tool.poetry.dependencies]
python = "^3.11"
scipy = "^1.12.0"
matplotlib = "^3.8.3"
ipykernel = "^6.29.3"
ipympl = "^0.9.3"

Trying to run it gives me the following error:

$ python3 dxtools.py                                                                                                                                                                                                          

Traceback (most recent call last):
  File "/home/ss/temp/XRD/DxTools/dxtools.py", line 23, in <module>
    from data_processor import *
  File "/home/ss/temp/XRD/DxTools/data_processor.py", line 11, in <module>
    from scipy import loadtxt, savetxt, pi, log10, sin, cos, mgrid, column_stack, row_stack, append, shape, loadtxt, zeros, meshgrid, nan
ImportError: cannot import name 'loadtxt' from 'scipy' (/home/ss/temp/XRD/DxTools/.venv/lib/python3.11/site-packages/scipy/__init__.py)

Perhaps the current version of DxTools was built on an older version of SciPy which might have had loadtxt? Could you please update it to work with the current SciPy version, or let us know which version of SciPy to install alongside DxTools?

Many thanks!

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.