Code Monkey home page Code Monkey logo

Comments (3)

hechth avatar hechth commented on June 1, 2024 2

Hi - we are aware of this problem and this should be solved in version 0.21.1

from matchms.

hechth avatar hechth commented on June 1, 2024

@chanana did this fix your issue? If so, this can be closed.

from matchms.

chanana avatar chanana commented on June 1, 2024

Yes! thank you! I have a new error instead.

I again made a fresh environment via:

mkdir matchms-test
poetry init # set python 3.9 as default
poetry add matchms
>>> from matchms import Spectrum

Configuration file exists at /Users/shaurya/Library/Preferences/pypoetry, reusing this directory.

Consider moving TOML configuration files to /Users/shaurya/Library/Application Support/pypoetry, as support for the legacy directory will be removed in an upcoming release.
Python 3.9.16 (main, Apr 24 2023, 11:18:10)
[Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from matchms import Spectrum
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/shaurya/code/matchms-test/.venv/lib/python3.9/site-packages/matchms/__init__.py", line 8, in <module>
    from .Pipeline import Pipeline
  File "/Users/shaurya/code/matchms-test/.venv/lib/python3.9/site-packages/matchms/Pipeline.py", line 5, in <module>
    import yaml
ModuleNotFoundError: No module named 'yaml'
>>>

doing a poetry add pyyaml fixes it. Perhaps we could add pyyaml as a core dependency.

from matchms.

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.