Comments (3)
Hi - we are aware of this problem and this should be solved in version 0.21.1
from matchms.
@chanana did this fix your issue? If so, this can be closed.
from matchms.
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)
- KeyError: 'num peaks'
- Reconsider repairing precursor mz HOT 2
- Split repair_adduct_and_parent_mass_based_on_smiles HOT 1
- Add require filters
- Pipeline should be able to take in custum filters HOT 2
- Should we remove keys that are invalid and if so, which values should we accept?
- Save and load hdf5 representation
- BaseSimilarity.matrix method errors if all scores/matches are 0
- Consider additional score: MCES
- Consider additional score: Delta MZ
- Vectorize similarity calculations
- Outdated (and possibly too restrictive) dependency settings HOT 2
- Installation of rdkit fails in CI pipeline HOT 2
- Avoid keyword args to `njit` functions
- Locality Sensitive Hashing for very large scale clustering
- SpectrumProcessor saving of spectra should maybe be one by one HOT 1
- File export crashed for non utf-8 characters HOT 2
- Importing should raise error if file does not exist
- `is_symmetric` needs more checks HOT 1
- Future filters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matchms.