Comments (8)
Linux:
wget https://github.com/jswhit/pyproj/archive/v1.9.4rel.zip
unzip v1.9.4rel.zip
cd pyproj-v1.9.4rel
python setup.py build
sudo python setup.py install
Windows
Download:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
http://www.lfd.uci.edu/%7Egohlke/pythonlibs/#numpy
One of these files:
pyproj-1.9.4-cp27-none-win_amd64.whl for 64 bit version
http://www.lfd.uci.edu/%7Egohlke/pythonlibs/3i673h27/pyproj-1.9.4-cp27-none-win_amd64.whl
pyproj‑1.9.4‑cp27‑none‑win32.whl for 32 bit version
http://www.lfd.uci.edu/~gohlke/pythonlibs/3i673h27/pyproj-1.9.4-cp27-none-win32.whl
And install it:
C:\Python27\Scripts\pip.exe install "pyproj-1.9.4-cp27-none-win_amd64.whl"
Üdvözlettel / Best Regards:
Kálmán (KAMI) Szalai
2015-08-16 9:46 GMT+02:00 aaronstar [email protected]:
Hi there, I have very little experience with python or anything similar.
I have a .gz file from https://pypi.python.org/pypi/pyproj?, have tried
usingcd C:\Users\username\Desktop\pyproj-1.9.4
setup.py installI don't get it, in step by step instructions how do I install this to a
functioning state?—
Reply to this email directly or view it on GitHub
#13.
from pyproj.
I can't do it.
C:\Utility\Python27\Scripts\pip.exe install "pyproj-1.9.5-cp27-none-win_amd64.whl"
Give me:
Fatal error in launcher: Unable to create process using '"'
Also, when I installed od Windows 10/64
PIL-1.1.7.win32-py2.7.exe
it stopped with:
"Setup has stopped working because of a problem."
Sorry. Now is working.
"python-2.7.10.amd64.msi" from
https://www.python.org/downloads/release/python-2710/
'pil' is already there.
Next, I installed "pyproj-1.9.5-cp27-none-win_amd64.whl"
C:\Python27\Scripts\pip.exe install "pyproj-1.9.5-cp27-none-win_amd64.whl"
from pyproj.
pyproj version 1.9.5 has issues when compiling the internal version of PROJ on some Windows machines. Did you get the installation of pyproj to work? If it did not work, could you copy and paste the output of pip install?
from pyproj.
I had to remove the 64 (Problem with pypro for Win64.) and re-install version 32.
Problem with pypro for Win64.
So, we need:
python-2.7.10.msi
PIL-1.1.7.win32-py2.7.exe
pyproj-1.9.5-cp27-none-win32.whl
C:\Python27\Scripts\pip.exe install "pyproj-1.9.5-cp27-none-win32.whl"
Now everything works correctly even JOSM plug-in Scanaerial.
from pyproj.
The wheel binary files of pyproj on the website http://www.lfd.uci.edu/~gohlke/pythonlibs/ are not supported by the project. I'm glad you had better experiences with the 32-bit version of the Windows binary wheels.
The project only supports installing from setup.py, which requires a C compiler even if PROJ4 is installed on your system.
from pyproj.
I have a problem installing pyproj in my mac computer, I am using spyder in anaconda.
I used pip installation and this is what I get as an error:
!pip install pyproj
Collecting pyproj
Using cached https://files.pythonhosted.org/packages/29/72/5c1888c4948a0c7b736d10e0f0f69966e7c0874a660222ed0a2c2c6daa9f/pyproj-1.9.5.1.tar.gz
Complete output from command python setup.py egg_info:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
using bundled proj4..
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/distutils/unixccompiler.py", line 118, in _compile
extra_postargs)
File "/anaconda3/lib/python3.6/distutils/ccompiler.py", line 909, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/anaconda3/lib/python3.6/distutils/spawn.py", line 36, in spawn
_spawn_posix(cmd, search_path, dry_run=dry_run)
File "/anaconda3/lib/python3.6/distutils/spawn.py", line 159, in _spawn_posix
% (cmd, exit_status))
distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/br/2nxyz8j521jgjqmzszzjlrwh0000gn/T/pip-install-tns_1rrq/pyproj/setup.py", line 72, in <module>
objects = cc.compile(['nad2bin.c', 'src/pj_malloc.c'])
File "/anaconda3/lib/python3.6/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/anaconda3/lib/python3.6/distutils/unixccompiler.py", line 120, in _compile
raise CompileError(msg)
distutils.errors.CompileError: command 'gcc' failed with exit status 1
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/br/2nxyz8j521jgjqmzszzjlrwh0000gn/T/pip-install-tns_1rrq/pyproj/
I will really appreciate your help
Thanks
from pyproj.
@malikabendechache, have you tried: conda install -c conda-forge pyproj
?
from pyproj.
Related to #216
from pyproj.
Related Issues (20)
- Invert lat lon "Transformer" HOT 1
- Internal Proj Error: proj_create: unrecognized format / unknown name HOT 4
- Inverted x/y for transformation from WSG84 to LV95 (EPSG:2056) HOT 3
- muslinux wheel missing HOT 1
- test_azimuthal_equidistant fails with PROJ 9.4.0 HOT 1
- test failure in test_crs_cf.py HOT 2
- Add proj_query_geodetic_crs_from_datum HOT 2
- 3.6.1: pytest fails in `test/crs/test_crs_cf.py::test_azimuthal_equidistant` unit HOT 1
- A question about pyproj/_datadir.pyx HOT 2
- geometry_area_perimeter limitations not documented HOT 1
- Calculate area of arbitrary polygon on Earth's surface HOT 4
- Interrupted Mollweide gives wrong result on inverse projections of some lat/lons. HOT 1
- test_datum__from_epsg fails with PROJ 9.4.1 HOT 4
- Proj4 export from a bound CRS object fails HOT 4
- Antipodes don't match when calculated numerically HOT 7
- Bad_alloc with pyroj import in QGIS plugin
- Conversion of array to scalar when transforming 1 element arrays leads to DeprecationWarning HOT 3
- Small memory leak HOT 3
- WHL: Window x64 builds failing HOT 7
- MGA94 and MGA2020 unexpected transformation HOT 7
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 pyproj.