-
Notifications
You must be signed in to change notification settings - Fork 139
Local installation problem #28
Comments
sure, here it is: $ export GOPATH=$HOME/development/go
$ mkdir -p $GOPATH/src
$ cd $GOPATH/src
$ git clone git://github.com/sbinet/go-python github.com/sbinet/go-python
$ cd github.com/sbinet/go-python
$ make install that said, even on OSX, a properly installed python-2.7.x (with the proper how did you install this what does this print? $ pkg-config --list-all | grep python
python2 Python - Python library
python3 Python - Python library
python-2.7 Python - Python library
python-3.4 Python - Python library
python-3.4m Python - Python library
$ python2 --version
Python 2.7.10 |
Hi I tried the installation as recommend by you but without changing the cgo file, I get the following error: `$ make install pkg-config --cflags python-2.7Package python-2.7 was not found in the pkg-config search path. So, I changed the pkg-config --cflags python-2.7.5Package python-2.7.5 was not found in the pkg-config search path. I get no results with |
A couple of things: As the go tool for you don't put GOPATH in the same place than GOROOT. How did you install python? (Sorry... I am at a conference this week with limited connectivity...) |
(Ie: I haven't a Mac machine at ready until next week...) |
Yes it is Mac OS. I installed Python through |
i just fix the problem in my mac: Name: Python |
I was able to fix this for my MacOS Sierra install by adding the following to my export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig |
I can run this package successful. My version of Python is 2.7.15. And the OS is ubuntu |
mac os arm64 , it did work |
This solution worked on macOS Catalina 10.15.7 w/ intel processors. |
Hi,
this project is based on
Python 2.7
version but I need it forPython 2.7.5
. So I changed thecgo
file toPython 2.7.5
version by downloading the project locally in my computer. So, I can't use the commandgo get ...
to install it. I need to install it locally in my computer use themake
file. Now, I am getting this error:go get -compiler="gc" .
go install: no install location for directory /Users/../../go-python-master outside GOPATH
make: *** [install] Error 1
I tried to set the
GOPATH
with:export GOPATH=${PWD}
but in vain. Could you tell the right way to install it locally.The text was updated successfully, but these errors were encountered: