Comments (5)
from wot.
Hi,
The problem was happening in the command line tools. Needed to go to /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg location and install package manually. That solved the problem.
P.S. I had cython installed already.
Thanks
from wot.
Hi,
I'm getting the same error and I have cython installed and manually installing those headers didn't work
Actually not quite the same error. Here is mine
pip install wot
Collecting wot
Using cached https://files.pythonhosted.org/packages/cc/6e/695eb40ec170d18679edfed1a12b6d00eb17dce3bace720c62cf6d38db36/wot-1.0.5-py2.py3-none-any.whl
Requirement already satisfied: numpy in ./anaconda3/lib/python3.7/site-packages (from wot) (1.16.2)
Requirement already satisfied: matplotlib in ./anaconda3/lib/python3.7/site-packages (from wot) (3.0.3)
Requirement already satisfied: pandas in ./anaconda3/lib/python3.7/site-packages (from wot) (0.24.2)
Requirement already satisfied: scanpy>=1.4.2 in ./anaconda3/lib/python3.7/site-packages (from wot) (1.4.3)
Collecting POT (from wot)
Using cached https://files.pythonhosted.org/packages/28/4b/7aaa1f840a359f5953dd378e0237fa8faf9b0a415ff7282b7375fbe68d27/POT-0.5.1.tar.gz
Requirement already satisfied: scipy in ./anaconda3/lib/python3.7/site-packages (from wot) (1.2.1)
Requirement already satisfied: scikit-learn in ./anaconda3/lib/python3.7/site-packages (from wot) (0.20.3)
Requirement already satisfied: h5py in ./anaconda3/lib/python3.7/site-packages (from wot) (2.9.0)
Requirement already satisfied: cycler>=0.10 in ./anaconda3/lib/python3.7/site-packages (from matplotlib->wot) (0.10.0)
Requirement already satisfied: kiwisolver>=1.0.1 in ./anaconda3/lib/python3.7/site-packages (from matplotlib->wot) (1.0.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in ./anaconda3/lib/python3.7/site-packages (from matplotlib->wot) (2.3.1)
Requirement already satisfied: python-dateutil>=2.1 in ./anaconda3/lib/python3.7/site-packages (from matplotlib->wot) (2.8.0)
Requirement already satisfied: pytz>=2011k in ./anaconda3/lib/python3.7/site-packages (from pandas->wot) (2018.9)
Requirement already satisfied: patsy in ./anaconda3/lib/python3.7/site-packages (from scanpy>=1.4.2->wot) (0.5.1)
Requirement already satisfied: natsort in ./anaconda3/lib/python3.7/site-packages (from scanpy>=1.4.2->wot) (6.0.0)
Requirement already satisfied: joblib in ./anaconda3/lib/python3.7/site-packages (from scanpy>=1.4.2->wot) (0.13.2)
Requirement already satisfied: seaborn in ./anaconda3/lib/python3.7/site-packages (from scanpy>=1.4.2->wot) (0.9.0)
Requirement already satisfied: numba>=0.41.0 in ./anaconda3/lib/python3.7/site-packages (from scanpy>=1.4.2->wot) (0.43.1)
Requirement already satisfied: anndata>=0.6.15 in ./anaconda3/lib/python3.7/site-packages (from scanpy>=1.4.2->wot) (0.6.22.post1)
Requirement already satisfied: tqdm in ./anaconda3/lib/python3.7/site-packages (from scanpy>=1.4.2->wot) (4.31.1)
Requirement already satisfied: statsmodels in ./anaconda3/lib/python3.7/site-packages (from scanpy>=1.4.2->wot) (0.9.0)
Requirement already satisfied: tables in ./anaconda3/lib/python3.7/site-packages (from scanpy>=1.4.2->wot) (3.5.1)
Requirement already satisfied: umap-learn>=0.3.0 in ./anaconda3/lib/python3.7/site-packages (from scanpy>=1.4.2->wot) (0.3.9)
Requirement already satisfied: networkx in ./anaconda3/lib/python3.7/site-packages (from scanpy>=1.4.2->wot) (2.2)
Requirement already satisfied: cython in ./anaconda3/lib/python3.7/site-packages (from POT->wot) (0.29.6)
Requirement already satisfied: six in ./anaconda3/lib/python3.7/site-packages (from h5py->wot) (1.12.0)
Requirement already satisfied: setuptools in ./anaconda3/lib/python3.7/site-packages (from kiwisolver>=1.0.1->matplotlib->wot) (40.8.0)
Requirement already satisfied: llvmlite>=0.28.0dev0 in ./anaconda3/lib/python3.7/site-packages (from numba>=0.41.0->scanpy>=1.4.2->wot) (0.28.0)
Requirement already satisfied: numexpr>=2.6.2 in ./anaconda3/lib/python3.7/site-packages (from tables->scanpy>=1.4.2->wot) (2.6.9)
Collecting mock>=2.0 (from tables->scanpy>=1.4.2->wot)
Using cached https://files.pythonhosted.org/packages/05/d2/f94e68be6b17f46d2c353564da56e6fb89ef09faeeff3313a046cb810ca9/mock-3.0.5-py2.py3-none-any.whl
Requirement already satisfied: decorator>=4.3.0 in ./anaconda3/lib/python3.7/site-packages (from networkx->scanpy>=1.4.2->wot) (4.4.0)
Building wheels for collected packages: POT
Building wheel for POT (setup.py) ... error
Complete output from command /Users/sampalmer/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/sl/n9mc8fp163j6cz0h7f3pwb_h0000gn/T/pip-install-tqt04974/POT/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /private/var/folders/sl/n9mc8fp163j6cz0h7f3pwb_h0000gn/T/pip-wheel-wko8p8ir --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-3.7
creating build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/bregman.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/plot.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/stochastic.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/datasets.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/init.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/dr.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/utils.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/smooth.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/gromov.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/optim.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/da.py -> build/lib.macosx-10.7-x86_64-3.7/ot
creating build/lib.macosx-10.7-x86_64-3.7/ot/gpu
copying ot/gpu/bregman.py -> build/lib.macosx-10.7-x86_64-3.7/ot/gpu
copying ot/gpu/init.py -> build/lib.macosx-10.7-x86_64-3.7/ot/gpu
copying ot/gpu/utils.py -> build/lib.macosx-10.7-x86_64-3.7/ot/gpu
copying ot/gpu/da.py -> build/lib.macosx-10.7-x86_64-3.7/ot/gpu
creating build/lib.macosx-10.7-x86_64-3.7/ot/lp
copying ot/lp/init.py -> build/lib.macosx-10.7-x86_64-3.7/ot/lp
copying ot/lp/cvx.py -> build/lib.macosx-10.7-x86_64-3.7/ot/lp
creating build/lib.macosx-10.7-x86_64-3.7/ot/externals
copying ot/externals/funcsigs.py -> build/lib.macosx-10.7-x86_64-3.7/ot/externals
copying ot/externals/init.py -> build/lib.macosx-10.7-x86_64-3.7/ot/externals
running build_ext
building 'ot.lp.emd_wrap' extension
creating build/temp.macosx-10.7-x86_64-3.7
creating build/temp.macosx-10.7-x86_64-3.7/ot
creating build/temp.macosx-10.7-x86_64-3.7/ot/lp
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/sampalmer/anaconda3/include -arch x86_64 -I/Users/sampalmer/anaconda3/include -arch x86_64 -Iot/lp -I/Users/sampalmer/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/private/var/folders/sl/n9mc8fp163j6cz0h7f3pwb_h0000gn/T/pip-install-tqt04974/POT/ot/lp -I/Users/sampalmer/anaconda3/include/python3.7m -c ot/lp/emd_wrap.cpp -o build/temp.macosx-10.7-x86_64-3.7/ot/lp/emd_wrap.o
warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from ot/lp/emd_wrap.cpp:631:
In file included from /Users/sampalmer/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/sampalmer/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/sampalmer/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1824:
/Users/sampalmer/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with "
^
In file included from ot/lp/emd_wrap.cpp:633:
ot/lp/EMD.h:19:10: fatal error: 'iostream' file not found
#include
^~~~~~~~~~
2 warnings and 1 error generated.
error: command 'gcc' failed with exit status 1
Failed building wheel for POT
Running setup.py clean for POT
Failed to build POT
Installing collected packages: POT, wot, mock
Running setup.py install for POT ... error
Complete output from command /Users/sampalmer/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/sl/n9mc8fp163j6cz0h7f3pwb_h0000gn/T/pip-install-tqt04974/POT/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/sl/n9mc8fp163j6cz0h7f3pwb_h0000gn/T/pip-record-hxxga7yx/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-3.7
creating build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/bregman.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/plot.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/stochastic.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/datasets.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/init.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/dr.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/utils.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/smooth.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/gromov.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/optim.py -> build/lib.macosx-10.7-x86_64-3.7/ot
copying ot/da.py -> build/lib.macosx-10.7-x86_64-3.7/ot
creating build/lib.macosx-10.7-x86_64-3.7/ot/gpu
copying ot/gpu/bregman.py -> build/lib.macosx-10.7-x86_64-3.7/ot/gpu
copying ot/gpu/init.py -> build/lib.macosx-10.7-x86_64-3.7/ot/gpu
copying ot/gpu/utils.py -> build/lib.macosx-10.7-x86_64-3.7/ot/gpu
copying ot/gpu/da.py -> build/lib.macosx-10.7-x86_64-3.7/ot/gpu
creating build/lib.macosx-10.7-x86_64-3.7/ot/lp
copying ot/lp/init.py -> build/lib.macosx-10.7-x86_64-3.7/ot/lp
copying ot/lp/cvx.py -> build/lib.macosx-10.7-x86_64-3.7/ot/lp
creating build/lib.macosx-10.7-x86_64-3.7/ot/externals
copying ot/externals/funcsigs.py -> build/lib.macosx-10.7-x86_64-3.7/ot/externals
copying ot/externals/init.py -> build/lib.macosx-10.7-x86_64-3.7/ot/externals
running build_ext
building 'ot.lp.emd_wrap' extension
creating build/temp.macosx-10.7-x86_64-3.7
creating build/temp.macosx-10.7-x86_64-3.7/ot
creating build/temp.macosx-10.7-x86_64-3.7/ot/lp
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/sampalmer/anaconda3/include -arch x86_64 -I/Users/sampalmer/anaconda3/include -arch x86_64 -Iot/lp -I/Users/sampalmer/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/private/var/folders/sl/n9mc8fp163j6cz0h7f3pwb_h0000gn/T/pip-install-tqt04974/POT/ot/lp -I/Users/sampalmer/anaconda3/include/python3.7m -c ot/lp/emd_wrap.cpp -o build/temp.macosx-10.7-x86_64-3.7/ot/lp/emd_wrap.o
warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from ot/lp/emd_wrap.cpp:631:
In file included from /Users/sampalmer/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/sampalmer/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/sampalmer/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1824:
/Users/sampalmer/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with "
^
In file included from ot/lp/emd_wrap.cpp:633:
ot/lp/EMD.h:19:10: fatal error: 'iostream' file not found
#include
^~~~~~~~~~
2 warnings and 1 error generated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/Users/sampalmer/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/sl/n9mc8fp163j6cz0h7f3pwb_h0000gn/T/pip-install-tqt04974/POT/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/sl/n9mc8fp163j6cz0h7f3pwb_h0000gn/T/pip-record-hxxga7yx/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/sl/n9mc8fp163j6cz0h7f3pwb_h0000gn/T/pip-install-tqt04974/POT/
from wot.
Please try installing POT with conda: conda install -c conda-forge pot
from wot.
Oh actually I fixed it already with
conda install -c anaconda gcc
Thanks!
from wot.
Related Issues (20)
- Are all genes or highly variable genes used as input expression matrix in Waddington-OT? HOT 1
- Overflow encountered in duality gap computation, please report this incident
- Some questions about normalization
- Error in visualizing trajectory HOT 3
- Error in visualizing trajectory HOT 3
- Calculating minimum transport distance between cells without time information
- where to choose number of PCA to compute transport map? HOT 3
- Interpreting WOT ancestors and trajectory probabilities
- Preparation of expression matrix HOT 4
- Reading mtx file HOT 1
- What is the difference between fate probability and ancestor probability? HOT 1
- Overflow warnings HOT 5
- WOT integration as an external kernel in CellRank HOT 12
- replacing real time with pseudotime
- Error met when running Notebook-1-FLE-cell_sets-gene_sets.ipynb
- `wot.ot.OTModel` does not fail with random arguments
- cell_growth_rates not passed on command line
- pg.neighbors(adata_var) error HOT 2
- Can't replicate data preprocessing HOT 2
- How to adjust raw data to this format HOT 1
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 wot.