Can't install jupyter (Python 3.9.0, macos 11) - python

I installed Miniforge3-MacOSX-arm64, and tried to pip install --upgrade pip.
But it shows same error message.
The install package command is pip install jupyter.
Building wheels for collected packages: argon2-cffi
Building wheel for argon2-cffi (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /Users/dong/miniforge3/bin/python3.9 /Users/dong/miniforge3/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/k3/97_hcf414hdflf7snt870zlc0000gn/T/tmp7zue7y84
cwd: /private/var/folders/k3/97_hcf414hdflf7snt870zlc0000gn/T/pip-install-fvo3ra87/argon2-cffi_43f8dcc2cf894b4bb48b05d5556d0c5d
Complete output (29 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11.0-arm64-3.9
creating build/lib.macosx-11.0-arm64-3.9/argon2
copying src/argon2/__init__.py -> build/lib.macosx-11.0-arm64-3.9/argon2
copying src/argon2/low_level.py -> build/lib.macosx-11.0-arm64-3.9/argon2
copying src/argon2/_ffi_build.py -> build/lib.macosx-11.0-arm64-3.9/argon2
copying src/argon2/_password_hasher.py -> build/lib.macosx-11.0-arm64-3.9/argon2
copying src/argon2/exceptions.py -> build/lib.macosx-11.0-arm64-3.9/argon2
copying src/argon2/_legacy.py -> build/lib.macosx-11.0-arm64-3.9/argon2
copying src/argon2/__main__.py -> build/lib.macosx-11.0-arm64-3.9/argon2
copying src/argon2/_utils.py -> build/lib.macosx-11.0-arm64-3.9/argon2
running build_clib
building 'argon2' library
creating build/temp.macosx-11.0-arm64-3.9
creating build/temp.macosx-11.0-arm64-3.9/extras
creating build/temp.macosx-11.0-arm64-3.9/extras/libargon2
creating build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src
creating build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/blake2
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/dong/miniforge3/include -arch arm64 -fPIC -O2 -isystem /Users/dong/miniforge3/include -arch arm64 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/argon2.c -o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/argon2.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/dong/miniforge3/include -arch arm64 -fPIC -O2 -isystem /Users/dong/miniforge3/include -arch arm64 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/blake2/blake2b.c -o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/blake2/blake2b.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/dong/miniforge3/include -arch arm64 -fPIC -O2 -isystem /Users/dong/miniforge3/include -arch arm64 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/core.c -o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/core.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/dong/miniforge3/include -arch arm64 -fPIC -O2 -isystem /Users/dong/miniforge3/include -arch arm64 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/encoding.c -o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/encoding.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/dong/miniforge3/include -arch arm64 -fPIC -O2 -isystem /Users/dong/miniforge3/include -arch arm64 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/ref.c -o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/ref.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/dong/miniforge3/include -arch arm64 -fPIC -O2 -isystem /Users/dong/miniforge3/include -arch arm64 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/thread.c -o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/thread.o
/Users/runner/miniforge3/conda-bld/python-split_1608587737618/_build_env/bin/llvm-ar rcs build/temp.macosx-11.0-arm64-3.9/libargon2.a build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/argon2.o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/blake2/blake2b.o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/core.o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/encoding.o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/ref.o build/temp.macosx-11.0-arm64-3.9/extras/libargon2/src/thread.o
error: command '/Users/runner/miniforge3/conda-bld/python-split_1608587737618/_build_env/bin/llvm-ar' failed: No such file or directory
----------------------------------------
ERROR: Failed building wheel for argon2-cffi
Failed to build argon2-cffi
ERROR: Could not build wheels for argon2-cffi which use PEP 517 and cannot be installed directly
Tried many times, but it is still such an error.

Try this, might help
pip install jupyter notebook
Check also here.
I never used Mac, might the proper way is pip install notebook

I would rather suggest to use Python 3.8.X, I think it is too early for 3.9.X, let them fix smth or because it is not yet supported, I need to check that. I usually move to next Python after 3-6 months only.

Related

pip: problem with the installation of mpi4py

I am trying to install mpi4py in default python environment used by anaconda:
python3.9 -m pip install mpi4py
which produces error during installation
python -m pip install mpi4py
Collecting mpi4py
Using cached mpi4py-3.1.3.tar.gz (2.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: mpi4py
Building wheel for mpi4py (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /home/gleb/anaconda3/bin/python /home/gleb/anaconda3/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmp75wsbtz5
cwd: /tmp/pip-install-84g0ez5h/mpi4py_2ac6e87b98de43d3827e1b2951c5c4ff
Complete output (156 lines):
running bdist_wheel
running build
running build_src
running build_py
creating build
creating build/lib.linux-x86_64-cpython-39
creating build/lib.linux-x86_64-cpython-39/mpi4py
copying src/mpi4py/bench.py -> build/lib.linux-x86_64-cpython-39/mpi4py
copying src/mpi4py/__main__.py -> build/lib.linux-x86_64-cpython-39/mpi4py
copying src/mpi4py/run.py -> build/lib.linux-x86_64-cpython-39/mpi4py
copying src/mpi4py/__init__.py -> build/lib.linux-x86_64-cpython-39/mpi4py
creating build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/server.py -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/pool.py -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/_lib.py -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/_base.py -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/aplus.py -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/__main__.py -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/__init__.py -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/_core.py -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
creating build/lib.linux-x86_64-cpython-39/mpi4py/util
copying src/mpi4py/util/dtlib.py -> build/lib.linux-x86_64-cpython-39/mpi4py/util
copying src/mpi4py/util/pkl5.py -> build/lib.linux-x86_64-cpython-39/mpi4py/util
copying src/mpi4py/util/__init__.py -> build/lib.linux-x86_64-cpython-39/mpi4py/util
copying src/mpi4py/py.typed -> build/lib.linux-x86_64-cpython-39/mpi4py
copying src/mpi4py/__main__.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py
copying src/mpi4py/dl.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py
copying src/mpi4py/MPI.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py
copying src/mpi4py/__init__.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py
copying src/mpi4py/bench.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py
copying src/mpi4py/run.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py
copying src/mpi4py/MPI.pxd -> build/lib.linux-x86_64-cpython-39/mpi4py
copying src/mpi4py/libmpi.pxd -> build/lib.linux-x86_64-cpython-39/mpi4py
copying src/mpi4py/__init__.pxd -> build/lib.linux-x86_64-cpython-39/mpi4py
creating build/lib.linux-x86_64-cpython-39/mpi4py/include
creating build/lib.linux-x86_64-cpython-39/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.MPI.h -> build/lib.linux-x86_64-cpython-39/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.h -> build/lib.linux-x86_64-cpython-39/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.MPI_api.h -> build/lib.linux-x86_64-cpython-39/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi4py.i -> build/lib.linux-x86_64-cpython-39/mpi4py/include/mpi4py
copying src/mpi4py/include/mpi4py/mpi.pxi -> build/lib.linux-x86_64-cpython-39/mpi4py/include/mpi4py
copying src/mpi4py/futures/_lib.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/__main__.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/aplus.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/__init__.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/pool.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/server.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/futures/_core.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py/futures
copying src/mpi4py/util/dtlib.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py/util
copying src/mpi4py/util/pkl5.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py/util
copying src/mpi4py/util/__init__.pyi -> build/lib.linux-x86_64-cpython-39/mpi4py/util
running build_clib
MPI configuration: [mpi] from 'mpi.cfg'
MPI C compiler: /home/gleb/anaconda3/bin/mpicc
MPI C++ compiler: /home/gleb/anaconda3/bin/mpicxx
MPI F compiler: /home/gleb/anaconda3/bin/mpifort
MPI F90 compiler: /home/gleb/anaconda3/bin/mpif90
MPI F77 compiler: /home/gleb/anaconda3/bin/mpif77
checking for library 'lmpe' ...
/home/gleb/anaconda3/bin/mpicc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -c _configtest.c -o _configtest.o
/home/gleb/anaconda3/bin/mpicc: line 301: x86_64-conda_cos6-linux-gnu-cc: command not found
failure.
removing: _configtest.c _configtest.o
building 'mpe' dylib library
creating build/temp.linux-x86_64-cpython-39
creating build/temp.linux-x86_64-cpython-39/src
creating build/temp.linux-x86_64-cpython-39/src/lib-pmpi
/home/gleb/anaconda3/bin/mpicc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -c src/lib-pmpi/mpe.c -o build/temp.linux-x86_64-cpython-39/src/lib-pmpi/mpe.o
/home/gleb/anaconda3/bin/mpicc: line 301: x86_64-conda_cos6-linux-gnu-cc: command not found
warning: build_clib: command '/home/gleb/anaconda3/bin/mpicc' failed with exit code 127
warning: build_clib: building optional library "mpe" failed
checking for library 'vt-mpi' ...
/home/gleb/anaconda3/bin/mpicc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -c _configtest.c -o _configtest.o
/home/gleb/anaconda3/bin/mpicc: line 301: x86_64-conda_cos6-linux-gnu-cc: command not found
failure.
removing: _configtest.c _configtest.o
checking for library 'vt.mpi' ...
/home/gleb/anaconda3/bin/mpicc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -c _configtest.c -o _configtest.o
/home/gleb/anaconda3/bin/mpicc: line 301: x86_64-conda_cos6-linux-gnu-cc: command not found
failure.
removing: _configtest.c _configtest.o
building 'vt' dylib library
/home/gleb/anaconda3/bin/mpicc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -c src/lib-pmpi/vt.c -o build/temp.linux-x86_64-cpython-39/src/lib-pmpi/vt.o
/home/gleb/anaconda3/bin/mpicc: line 301: x86_64-conda_cos6-linux-gnu-cc: command not found
warning: build_clib: command '/home/gleb/anaconda3/bin/mpicc' failed with exit code 127
warning: build_clib: building optional library "vt" failed
checking for library 'vt-mpi' ...
/home/gleb/anaconda3/bin/mpicc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -c _configtest.c -o _configtest.o
/home/gleb/anaconda3/bin/mpicc: line 301: x86_64-conda_cos6-linux-gnu-cc: command not found
failure.
removing: _configtest.c _configtest.o
checking for library 'vt.mpi' ...
/home/gleb/anaconda3/bin/mpicc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -c _configtest.c -o _configtest.o
/home/gleb/anaconda3/bin/mpicc: line 301: x86_64-conda_cos6-linux-gnu-cc: command not found
failure.
removing: _configtest.c _configtest.o
building 'vt-mpi' dylib library
/home/gleb/anaconda3/bin/mpicc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -c src/lib-pmpi/vt-mpi.c -o build/temp.linux-x86_64-cpython-39/src/lib-pmpi/vt-mpi.o
/home/gleb/anaconda3/bin/mpicc: line 301: x86_64-conda_cos6-linux-gnu-cc: command not found
warning: build_clib: command '/home/gleb/anaconda3/bin/mpicc' failed with exit code 127
warning: build_clib: building optional library "vt-mpi" failed
checking for library 'vt-hyb' ...
/home/gleb/anaconda3/bin/mpicc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -c _configtest.c -o _configtest.o
/home/gleb/anaconda3/bin/mpicc: line 301: x86_64-conda_cos6-linux-gnu-cc: command not found
failure.
removing: _configtest.c _configtest.o
checking for library 'vt.ompi' ...
/home/gleb/anaconda3/bin/mpicc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -c _configtest.c -o _configtest.o
/home/gleb/anaconda3/bin/mpicc: line 301: x86_64-conda_cos6-linux-gnu-cc: command not found
failure.
removing: _configtest.c _configtest.o
building 'vt-hyb' dylib library
/home/gleb/anaconda3/bin/mpicc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -c src/lib-pmpi/vt-hyb.c -o build/temp.linux-x86_64-cpython-39/src/lib-pmpi/vt-hyb.o
/home/gleb/anaconda3/bin/mpicc: line 301: x86_64-conda_cos6-linux-gnu-cc: command not found
warning: build_clib: command '/home/gleb/anaconda3/bin/mpicc' failed with exit code 127
warning: build_clib: building optional library "vt-hyb" failed
running build_ext
MPI configuration: [mpi] from 'mpi.cfg'
MPI C compiler: /home/gleb/anaconda3/bin/mpicc
MPI C++ compiler: /home/gleb/anaconda3/bin/mpicxx
MPI F compiler: /home/gleb/anaconda3/bin/mpifort
MPI F90 compiler: /home/gleb/anaconda3/bin/mpif90
MPI F77 compiler: /home/gleb/anaconda3/bin/mpif77
checking for dlopen() availability ...
checking for header 'dlfcn.h' ...
gcc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -I/home/gleb/anaconda3/include/python3.9 -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
success!
checking for library 'dl' ...
gcc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -I/home/gleb/anaconda3/include/python3.9 -c _configtest.c -o _configtest.o
gcc -pthread -B /home/gleb/anaconda3/compiler_compat _configtest.o -Lbuild/temp.linux-x86_64-cpython-39 -ldl -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
checking for function 'dlopen' ...
gcc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -I/home/gleb/anaconda3/include/python3.9 -c _configtest.c -o _configtest.o
gcc -pthread -B /home/gleb/anaconda3/compiler_compat _configtest.o -Lbuild/temp.linux-x86_64-cpython-39 -ldl -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
building 'mpi4py.dl' extension
gcc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -I/home/gleb/anaconda3/include/python3.9 -c src/dynload.c -o build/temp.linux-x86_64-cpython-39/src/dynload.o
gcc -pthread -B /home/gleb/anaconda3/compiler_compat -shared -Wl,-rpath,/home/gleb/anaconda3/lib -Wl,-rpath-link,/home/gleb/anaconda3/lib -L/home/gleb/anaconda3/lib -L/home/gleb/anaconda3/lib -Wl,-rpath,/home/gleb/anaconda3/lib -Wl,-rpath-link,/home/gleb/anaconda3/lib -L/home/gleb/anaconda3/lib build/temp.linux-x86_64-cpython-39/src/dynload.o -Lbuild/temp.linux-x86_64-cpython-39 -ldl -o build/lib.linux-x86_64-cpython-39/mpi4py/dl.cpython-39-x86_64-linux-gnu.so
checking for MPI compile and link ...
/home/gleb/anaconda3/bin/mpicc -pthread -B /home/gleb/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/gleb/anaconda3/include -I/home/gleb/anaconda3/include -fPIC -O2 -isystem /home/gleb/anaconda3/include -fPIC -I/home/gleb/anaconda3/include/python3.9 -c _configtest.c -o _configtest.o
/home/gleb/anaconda3/bin/mpicc: line 301: x86_64-conda_cos6-linux-gnu-cc: command not found
failure.
removing: _configtest.c _configtest.o
error: Cannot compile MPI programs. Check your configuration!!!
----------------------------------------
ERROR: Failed building wheel for mpi4py
Failed to build mpi4py
ERROR: Could not build wheels for mpi4py which use PEP 517 and cannot be installed directly
Then I tried
sudo pip install mpi4py
that installed the package correctly but into another python environment
so python does not see it
Python 3.9.12 (main, Apr 5 2022, 06:56:58)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mpi4py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'mpi4py'
Finally I've tried simply
sudo apt install python3-mpi4py
it installed package correclty but my python3 enviroment still does not see it.
I also tried
conda install -c conda-forge mpi4py
which does not work as well:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: - failed with initial frozen solve. Retrying with flexible solve.
how could I execute python3.9 -m pip install mpi4py with sudo ?

Configuring MySQL with python on OS X lion

MySQL is installed at /usr/local/mysql
In site.cfg the path for mysql_config is /usr/local/mysql/bin/mysql_config
but when i try to build in the terminal im getting this error:
hammads-imac-2:MySQL-python-1.2.4b4 syedhammad$ sudo python setup.py build
running build
running build_py
copying MySQLdb/release.py -> build/lib.macosx-10.8-intel-2.7/MySQLdb
running build_ext
building '_mysql' extension
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -Dversion_info=(1,2,4,'beta',4) -D_version_=1.2.4b4 -I/usr/local/mysql/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _mysql.c -o build/temp.macosx-10.8-intel-2.7/_mysql.o -Wno-null-conversion -Os -g -fno-strict-aliasing -arch x86_64
unable to execute clang: No such file or directory
error: command 'clang' failed with exit status 1
Help Please
You probably need Xcode's Command Line Tools.
Download the lastest version of Xcode, then go to "Preferences", select "Download" tab, then install Command Line Tools.

Python 2.7.3 _sqlite3 module is not being built after passing headers/libraries [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
We have a Django project we need to start and cannot build sqlite for the persistent store.
sqlite3-dev headers/libs are not installed in the system by default
I have no root permissions on this box (we are expected to install all we need)
I compiled/installed Python-2.7.3 in /opt/python/current2
I downloaded and compiled sqlite3 source in /home/olib/sqlite-autoconf-307150
I downloaded pysqlite-2.6.3
I modified pysqlite-2.6.3/setup.py to point to my sqlite3 source header and library files
include_dirs = ['/home/olib/sqlite-autoconf-3071501']
library_dirs = ['/home/olib/sqlite-autoconf-3071501/.libs']
/home/olib/pysqlite-2.6.3> echo $PYTHON_HOME
/opt/python/current2
/home/olib/pysqlite-2.6.3> python setup.py install
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/pysqlite2
copying lib/dbapi2.py -> build/lib.linux-x86_64-2.7/pysqlite2
copying lib/dump.py -> build/lib.linux-x86_64-2.7/pysqlite2
copying lib/__init__.py -> build/lib.linux-x86_64-2.7/pysqlite2
creating build/lib.linux-x86_64-2.7/pysqlite2/test
copying lib/test/dbapi.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
copying lib/test/userfunctions.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
copying lib/test/types.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
copying lib/test/dump.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
copying lib/test/regression.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
copying lib/test/hooks.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
copying lib/test/factory.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
copying lib/test/transactions.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
copying lib/test/__init__.py -> build/lib.linux-x86_64-2.7/pysqlite2/test
creating build/lib.linux-x86_64-2.7/pysqlite2/test/py25
copying lib/test/py25/py25tests.py -> build/lib.linux-x86_64-2.7/pysqlite2/test/py25
copying lib/test/py25/__init__.py -> build/lib.linux-x86_64-2.7/pysqlite2/test/py25
running build_ext
building 'pysqlite2._sqlite' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -DSQLITE_OMIT_LOAD_EXTENSION=1 -I/home/olib/sqlite-autoconf-3071501 -I/opt/python/current2/include/python2.7 -c src/module.c -o build/temp.linux-x86_64-2.7/src/module.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -DSQLITE_OMIT_LOAD_EXTENSION=1 -I/home/olib/sqlite-autoconf-3071501 -I/opt/python/current2/include/python2.7 -c src/connection.c -o build/temp.linux-x86_64-2.7/src/connection.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -DSQLITE_OMIT_LOAD_EXTENSION=1 -I/home/olib/sqlite-autoconf-3071501 -I/opt/python/current2/include/python2.7 -c src/cursor.c -o build/temp.linux-x86_64-2.7/src/cursor.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -DSQLITE_OMIT_LOAD_EXTENSION=1 -I/home/olib/sqlite-autoconf-3071501 -I/opt/python/current2/include/python2.7 -c src/cache.c -o build/temp.linux-x86_64-2.7/src/cache.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -DSQLITE_OMIT_LOAD_EXTENSION=1 -I/home/olib/sqlite-autoconf-3071501 -I/opt/python/current2/include/python2.7 -c src/microprotocols.c -o build/temp.linux-x86_64-2.7/src/microprotocols.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -DSQLITE_OMIT_LOAD_EXTENSION=1 -I/home/olib/sqlite-autoconf-3071501 -I/opt/python/current2/include/python2.7 -c src/prepare_protocol.c -o build/temp.linux-x86_64-2.7/src/prepare_protocol.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -DSQLITE_OMIT_LOAD_EXTENSION=1 -I/home/olib/sqlite-autoconf-3071501 -I/opt/python/current2/include/python2.7 -c src/statement.c -o build/temp.linux-x86_64-2.7/src/statement.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -DSQLITE_OMIT_LOAD_EXTENSION=1 -I/home/olib/sqlite-autoconf-3071501 -I/opt/python/current2/include/python2.7 -c src/util.c -o build/temp.linux-x86_64-2.7/src/util.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -DSQLITE_OMIT_LOAD_EXTENSION=1 -I/home/olib/sqlite-autoconf-3071501 -I/opt/python/current2/include/python2.7 -c src/row.c -o build/temp.linux-x86_64-2.7/src/row.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/src/module.o build/temp.linux-x86_64-2.7/src/connection.o build/temp.linux-x86_64-2.7/src/cursor.o build/temp.linux-x86_64-2.7/src/cache.o build/temp.linux-x86_64-2.7/src/microprotocols.o build/temp.linux-x86_64-2.7/src/prepare_protocol.o build/temp.linux-x86_64-2.7/src/statement.o build/temp.linux-x86_64-2.7/src/util.o build/temp.linux-x86_64-2.7/src/row.o -L/home/olib/sqlite-autoconf-3071501/.libs -lsqlite3 -o build/lib.linux-x86_64-2.7/pysqlite2/**_sqlite.so**
running install_lib
copying build/lib.linux-x86_64-2.7/pysqlite2/_sqlite.so -> /opt/python/current2/lib/python2.7/site-packages/pysqlite2
running install_data
running install_egg_info
Removing /opt/python/current2/lib/python2.7/site-packages/pysqlite-2.6.3-py2.7.egg-info
Writing /opt/python/current2/lib/python2.7/site-packages/pysqlite-2.6.3-py2.7.egg-info
for some reason "_sqlite.so" is built but not "_sqlite3.so" of course this causes Django import to fail
File "/opt/python/current2/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 31, in <module>
raise ImproperlyConfigured("Error loading either pysqlite2 or sqlite3 modules (tried in that order): %s" % exc)
django.core.exceptions.ImproperlyConfigured: Error loading either pysqlite2 or sqlite3 modules (tried in that order): No module named _sqlite3
rebuilt Python with
./configure --prefix=/opt/python/ LDFLAGS='-L/home/olib/sqlite-autoconf-3071501/.libs' CPPFLAGS="-I/home/olib/sqlite-autoconf-3071501/'
./build/lib.linux-x86_64-2.7/_sqlite3.so now created!
Copied to lib-dynload directory
olib:~/Python-2.7.3> cp ./build/lib.linux-x86_64-2.7/_sqlite3.so /opt/python/current2/lib/python2.7/lib-dynload/
All looks good now..
olib:~> python
Python 2.7.3 (default, May 28 2012, 20:04:45)
[GCC 4.1.2 20070115 (prerelease) (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>>

Can't run mongod command after got pymongo installed from pip

I'm running a virtualenv on osx 10.7.4, and I was trying to install MongoDB for python, which is version 2.7.3.
I just installed it from pip, and am trying to see what happens if I run mongod command, but it turns out I can't run the command.
Below is what happened in my terminal, could anyone give a hand here about what could be wrong?
(test1)Dus-MacBook-Air:~ mepine$ pip install pymongo
Downloading/unpacking pymongo
Downloading pymongo-2.2.1.tar.gz (230Kb): 230Kb downloaded
Running setup.py egg_info for package pymongo
Installing collected packages: pymongo
Running setup.py install for pymongo
building 'bson._cbson' extension
/usr/bin/clang -fno-strict-aliasing -Os -w -pipe -march=native -Qunused-arguments -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibson -I/usr/local/Cellar/python/2.7.3/include/python2.7 -c bson/_cbsonmodule.c -o build/temp.macosx-10.4-x86_64-2.7/bson/_cbsonmodule.o
/usr/bin/clang -fno-strict-aliasing -Os -w -pipe -march=native -Qunused-arguments -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibson -I/usr/local/Cellar/python/2.7.3/include/python2.7 -c bson/time64.c -o build/temp.macosx-10.4-x86_64-2.7/bson/time64.o
/usr/bin/clang -fno-strict-aliasing -Os -w -pipe -march=native -Qunused-arguments -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibson -I/usr/local/Cellar/python/2.7.3/include/python2.7 -c bson/buffer.c -o build/temp.macosx-10.4-x86_64-2.7/bson/buffer.o
/usr/bin/clang -fno-strict-aliasing -Os -w -pipe -march=native -Qunused-arguments -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibson -I/usr/local/Cellar/python/2.7.3/include/python2.7 -c bson/encoding_helpers.c -o build/temp.macosx-10.4-x86_64-2.7/bson/encoding_helpers.o
/usr/bin/clang -bundle -undefined dynamic_lookup -L/usr/local/Cellar/readline/6.2.2/lib build/temp.macosx-10.4-x86_64-2.7/bson/_cbsonmodule.o build/temp.macosx-10.4-x86_64-2.7/bson/time64.o build/temp.macosx-10.4-x86_64-2.7/bson/buffer.o build/temp.macosx-10.4-x86_64-2.7/bson/encoding_helpers.o -o build/lib.macosx-10.4-x86_64-2.7/bson/_cbson.so
building 'pymongo._cmessage' extension
/usr/bin/clang -fno-strict-aliasing -Os -w -pipe -march=native -Qunused-arguments -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibson -I/usr/local/Cellar/python/2.7.3/include/python2.7 -c pymongo/_cmessagemodule.c -o build/temp.macosx-10.4-x86_64-2.7/pymongo/_cmessagemodule.o
/usr/bin/clang -fno-strict-aliasing -Os -w -pipe -march=native -Qunused-arguments -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibson -I/usr/local/Cellar/python/2.7.3/include/python2.7 -c bson/buffer.c -o build/temp.macosx-10.4-x86_64-2.7/bson/buffer.o
/usr/bin/clang -bundle -undefined dynamic_lookup -L/usr/local/Cellar/readline/6.2.2/lib build/temp.macosx-10.4-x86_64-2.7/pymongo/_cmessagemodule.o build/temp.macosx-10.4-x86_64-2.7/bson/buffer.o -o build/lib.macosx-10.4-x86_64-2.7/pymongo/_cmessage.so
Successfully installed pymongo
Cleaning up...
(test1)Dus-MacBook-Air:~ mepine$ mongod
-bash: mongod: command not found
Thanks guys!!
I think maybe you're confusing the python mongo driver with the mongo server itself.
Did you install mongodb (mongod, mongo, etc.), or just pymongo?
There's a homebrew package for mongodb, just in case you want an easy way to install it--or you can download it directly from http://www.mongodb.org/downloads.

How do I make the Windmill IDE appear for https sites on Ubuntu?

I am trying to use the Windmill Testing Framework over https. I'm running Ubuntu 11.10 with Python 2.7, installing windmill and pyopenssl in a virtualenv via pip. (Installation sequence is included below for reference.)
When I run windmill firefox http://en.wikipedia.org the Windmill IDE comes up fine. When I run windmill firefox https://en.wikipedia.org Firefox starts, but the IDE never appears. (I have verified that when Windmill starts Firefox on Ubuntu, the CA for https is already installed.)
Am I encountering a bug, or is there something else I need to do to get the IDE to work on https addresses?
Installation sequence
myuser#mycomputer:~$ mkvirtualenv --no-site-packages windmill_test
New python executable in windmill_test/bin/python
Installing distribute....................................................................................................................................................................................done.
Installing pip...............done.
virtualenvwrapper.user_scripts creating /home/myuser/.virtualenvs/windmill_test/bin/predeactivate
virtualenvwrapper.user_scripts creating /home/myuser/.virtualenvs/windmill_test/bin/postdeactivate
virtualenvwrapper.user_scripts creating /home/myuser/.virtualenvs/windmill_test/bin/preactivate
virtualenvwrapper.user_scripts creating /home/myuser/.virtualenvs/windmill_test/bin/postactivate
virtualenvwrapper.user_scripts creating /home/myuser/.virtualenvs/windmill_test/bin/get_env_details
(windmill_test)myuser#mycomputer:~$ pip install pyopenssl
Downloading/unpacking pyopenssl
Downloading pyOpenSSL-0.13.tar.gz (250Kb): 250Kb downloaded
Running setup.py egg_info for package pyopenssl
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Installing collected packages: pyopenssl
Running setup.py install for pyopenssl
building 'OpenSSL.crypto' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/crypto/crypto.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/crypto.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/crypto/x509.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/x509.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/crypto/x509name.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/x509name.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/crypto/pkey.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/pkey.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/crypto/x509store.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/x509store.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/crypto/x509req.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/x509req.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/crypto/x509ext.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/x509ext.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/crypto/pkcs7.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/pkcs7.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/crypto/pkcs12.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/pkcs12.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/crypto/netscape_spki.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/netscape_spki.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/crypto/revoked.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/revoked.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/crypto/crl.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/crl.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/util.c -o build/temp.linux-i686-2.7/OpenSSL/util.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-i686-2.7/OpenSSL/crypto/crypto.o build/temp.linux-i686-2.7/OpenSSL/crypto/x509.o build/temp.linux-i686-2.7/OpenSSL/crypto/x509name.o build/temp.linux-i686-2.7/OpenSSL/crypto/pkey.o build/temp.linux-i686-2.7/OpenSSL/crypto/x509store.o build/temp.linux-i686-2.7/OpenSSL/crypto/x509req.o build/temp.linux-i686-2.7/OpenSSL/crypto/x509ext.o build/temp.linux-i686-2.7/OpenSSL/crypto/pkcs7.o build/temp.linux-i686-2.7/OpenSSL/crypto/pkcs12.o build/temp.linux-i686-2.7/OpenSSL/crypto/netscape_spki.o build/temp.linux-i686-2.7/OpenSSL/crypto/revoked.o build/temp.linux-i686-2.7/OpenSSL/crypto/crl.o build/temp.linux-i686-2.7/OpenSSL/util.o -lssl -lcrypto -o build/lib.linux-i686-2.7/OpenSSL/crypto.so
building 'OpenSSL.rand' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/rand/rand.c -o build/temp.linux-i686-2.7/OpenSSL/rand/rand.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/util.c -o build/temp.linux-i686-2.7/OpenSSL/util.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-i686-2.7/OpenSSL/rand/rand.o build/temp.linux-i686-2.7/OpenSSL/util.o -lssl -lcrypto -o build/lib.linux-i686-2.7/OpenSSL/rand.so
building 'OpenSSL.SSL' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/ssl/connection.c -o build/temp.linux-i686-2.7/OpenSSL/ssl/connection.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/ssl/context.c -o build/temp.linux-i686-2.7/OpenSSL/ssl/context.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/ssl/ssl.c -o build/temp.linux-i686-2.7/OpenSSL/ssl/ssl.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/util.c -o build/temp.linux-i686-2.7/OpenSSL/util.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-i686-2.7/OpenSSL/ssl/connection.o build/temp.linux-i686-2.7/OpenSSL/ssl/context.o build/temp.linux-i686-2.7/OpenSSL/ssl/ssl.o build/temp.linux-i686-2.7/OpenSSL/util.o -lssl -lcrypto -o build/lib.linux-i686-2.7/OpenSSL/SSL.so
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Successfully installed pyopenssl
Cleaning up...
(windmill_test)myuser#mycomputer:~$ pip install windmill
Downloading/unpacking windmill
Downloading windmill-1.6.tar.gz (1.6Mb): 1.6Mb downloaded
Running setup.py egg_info for package windmill
Installing collected packages: windmill
Running setup.py install for windmill
Installing windmill script to /home/myuser/.virtualenvs/windmill_test/bin
Successfully installed windmill
Cleaning up...
(windmill_test)myuser#mycomputer:~$ pip freeze
distribute==0.6.19
pyOpenSSL==0.13
windmill==1.6
wsgiref==0.1.2
http
(windmill_test)myuser#mycomputer:~$ windmill firefox http://en.wikipedia.org
windmill.bin.shell_objects: INFO ['/home/myuser/.mozilla/firefox/p3t9ijqj.mozrunner//mozrunner-firefox', '-profile', '/home/myuser/.mozilla/firefox/p3t9ijqj.mozrunner/', 'http://en.wikipedia.org/windmill-serv/start.html']
Attempts to load http://en.wikipedia.org/windmill-serv/start.html but resolves to http://en.wikipedia.org/wiki/Main_Page . IDE loads.
https
(windmill_test)myuser#mycomputer:~$ windmill firefox https://en.wikipedia.org
windmill.bin.shell_objects: INFO ['/home/myuser/.mozilla/firefox/p3t9ijqj.mozrunner//mozrunner-firefox', '-profile', '/home/myuser/.mozilla/firefox/p3t9ijqj.mozrunner/', 'https://en.wikipedia.org/windmill-serv/start.html']
Attempts to load https://en.wikipedia.org/windmill-serv/start.html and resolves to that pages (which displays a 404 page, which then redirects to https://en.wikipedia.org/wiki/Windmill-serv/start.html - I'm just using Wikipedia as an example here, so it doesn't matter that it returns 404s or "Wikipedia does not have an article with this exact name"). The IDE never loads.
This is not a bug, this was a user error :D
I was running windmill firefox https://www.example.com instead of windmill firefox https://www.example.com ssl

Categories

Resources