I want to install fuzzy python package. I have windows 7 operating system with mingw32 and python 2.7. When I try to pip install the fuzzy package, I get the following error.
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: build\temp.win-amd64-2.7\Release\src\fuzzy.o: bad reloc address 0x0 in section `.data'
collect2.exe: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Here's the complete log.
Please please help!
I had the same error when trying to install the (not part of anaconda) mmh3 module on an anaconda installation on windows.
It seems that your path includes an independent mingw installation (c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe)
I had to remove my mingw from my path so that it used the MiniGW that corresponds to your Python, so try to check e.g. if
ld.exe -version
and
...\anaconda\MinGW\bin\ld.exe -version
give you the same, if not, make sure your path is correct as discussed above...
Related
I was trying to install opencv for python using this link. After running the Cmake command, it exited with errors stating C++11 is not supported Although I have Xcode installed. I Also tried forcing Cmake to use C++ 11 using $ set(CMAKE_CXX_STANDARD 11) (because my Cmake version is 3.10.2), but I got this error:
syntax error near unexpected token `CMAKE_CXX_STANDARD'
Moreover, I tried installing gcc to check if my system supports the C++ 11 compiler through this link, where again I ran into terminal errors stating ./fixincludes: No such file or directory after running $ make install . What should I do?
Adrian has a more recent blog post on compiling OpenCV for the macOS. The instructions work both for 3.3.0 and 3.3.1.
First open python by python2 or python3 command in terminal after type import cv2 and everything is right now.
I've followed numerous installation tutorials for windows over the past few days. I use anaconda on windows 10. But I always get the following error when importing theano:
. collect2.exe: error: ld returned 1 exit status C:\Users\Cedric
Oeldorf\Anaconda3\libs/python35.lib: error adding symbols: File in wrong format
Could anyone help me out on this?
I have run
conda install mingw libpython
I'm getting a strange linker error that I don't completely understand while attempting to install postgresql on OSX.
I've installed Postgres via Brew and now I'm trying to get my Django app up and running. I've added the postgres directory to my path. I'm running OSX Yosemite.
When I run the following command:
pip install psycopg2
I get this error:
ld: illegal text reloc in '_init_psycopg' to '_lobjectType' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'cc' failed with exit status 1
I'm at a loss where to go from here and my searches for this type of error has lead me no where. Any help would be amazing.
Thanks.
Turns out I had a couple versions of Postgres installed. I had to remove the old one and make sure the pg_config that was found in the PATH was the most recent one. As soon as I made sure the pg_config was the proper one, this error went away.
I followed instructions as given here
I installed python 3.4.3, then installed zlib and finally executed python setup.py install after downloading extracting the yowsup from hereenter link description here
and changed directory to yowsup-master.
But I get this error:
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: build\
temp.win-amd64-3.4\Release\curve25519module.o: bad reloc address 0x14 in section
`.data'
collect2.exe: error: ld returned 1 exit status
error: command 'C:\\MinGW\\bin\\gcc.exe' failed with exit status 1
Then since above did not work, I tried using pip install yowsup2 but I get the same error.
Could anyone get round this error?
I am not into python, so not able to tell why is this error happening.
I am on windows 8.1 64 bit.
There are few things which don't let you import that yowsup module in windows even in windows 10. so i have managed to install that in linux os (i am using kali linux) i have tryed to download and install the visual c++ build tool but that is just waste of time and data.
So Better switch to a Cloud like heroku or sitch to linux (vm or duel boot)
I have the latest Anaconda Python distribution installed on Windows 8 and I am attempting to install the rpy2 package. I initially ran into several issues that I was able to circumvent but I'm now stuck on one particular error that I'm pasting below.
The command
pip install rpy2
exits with the following error message:
In file included from .\rpy\rinterface\_rinterface.c:58:0:
.\rpy\rinterface\_rinterface.h:8:15: fatal error: R.h: No such file or
directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Any suggestions? The path to R.h is included on my environment.
Dr. Gohlke's binary is probably the easiest solution. But you need to change the Python installation path in your registry for this method to work. The relevant key is in HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.7\InstallPath. Change it so that the anaconda Python is the default python installation. You can always change it back if you want.