Comments (5)
Could you post any messages you get during installation? It looks like the C extensions weren't compiled.
Are you installing ms_peak_picker from source as well?
from ms_deisotope.
Hi, thanks for your reply!
Yes, I have installed ms_peak_picker from source first, and brainpy just before installing ms_deisotope. I have also tried with the latest releases (rather than cloning the repos, but the result was the same.
The output is here: https://gist.github.com/infusini/836118414f3b52f37262ccb91deeed2f
from ms_deisotope.
Hmm. I wasn't testing on Py3.7, but I've just updated my Travis config and it seems to build fine there. What kind of environment are you running this on? An AWS hosted instance?
Are you running Python directly from the source directory for ms_deisotope
?
from ms_deisotope.
I have tried on both an Ubuntu instance on AWS, and a CentOS here on our internal VMs
Yes, I did run python from within the source directory of ms_deisotope
(sorry). It didn't occur to me to try from somewhere else to check... and, of course, it works perfectly fine now. Thanks for your help :(
buntu@ip-172-31-24-45:~/ms_deisotope$ python
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ms_deisotope
No module named 'ms_deisotope._c.averagine' averagine
No module named 'ms_deisotope._c.scoring'
No module named 'ms_deisotope._c.deconvoluter_base'
No module named 'ms_deisotope._c.deconvoluter_base'
No module named 'ms_deisotope._c.deconvoluter_base'
>>>
ubuntu@ip-172-31-24-45:~/ms_deisotope$ cd ..
ubuntu@ip-172-31-24-45:~$ python
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ms_deisotope
>>>
from ms_deisotope.
Glad it was resolved. I've spent days of investigation to only find that was the culprit. When run from the source directory, Python tries to import from the local directory first, where it finds the source (without the compiled C extensions), and never looks in site-packages.
If you find yourself needing to do that, or to tweak things, you can install it with python setup.py develop
or pip install -e
, which will compile the C extensions and then place the .so files alongside the source code. These "editable" installations have some downsides for package metadata introspection, but I rarely have an issue with that.
from ms_deisotope.
Related Issues (20)
- Installing ms_deisotope, get warning "The C extension could not be compiled" HOT 4
- Error in MzMLSerializer HOT 5
- Creating a release of ms_deisotope HOT 3
- Processing ms2 scans HOT 2
- Errors on import HOT 5
- Deisotope on ms peak picker peaklist HOT 4
- Creating a Scan from m/z & intensity pairs in a DataFrame HOT 2
- deconvolute_peaks throws error when retention_strategy is specified HOT 7
- Exporting deconvoluted peak lists from a standalone MS2 scan HOT 32
- Importing mzML file with only ms1 data HOT 6
- How to cite MSDeisotope HOT 4
- Wrong case for keys in "inlet_map" HOT 3
- AttributeError: 'PeakDependenceGraph' object has no attribute 'best_exact_fits' HOT 8
- Unable to run on Apache Spark HOT 11
- Could not be located in the test suite's data package HOT 2
- Error message not being thrown or acknowledged in code HOT 2
- Can't build ms_deisotope on 32-bit Python HOT 2
- Pyteomics version pinning in setup.py HOT 2
- `SimpleInterval` not defined when Cython is not compiled. HOT 2
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 ms_deisotope.