Comments (8)
I do not think I have enough information to help you.
I assume based your issue that "Visual C 2.7" means that you have installed Microsoft Visual C++ Compiler for Python 2.7.
You might try installing pyproj using pip, C:\...> pip install pyproj
Out of curiosity, what version of setuptools are you running? C:\...> pip list | find "setuptools"
, which you could try upgrading.
from pyproj.
Yes, i meant Microsoft Visual C++ Compiler for Python 2.7.
If you need any more kind of information, I will be happy to prove it.
Trying to install pyproj using pip gives the exact same error unfortunately :(
I am running setuptools 25.1.6,
But trying to check the version of setuptools using C:...> pip list | find "setuptools" gives the following result:
$ pip list | find "setuptools"
find: ‘setuptools’: No such file or directory
Traceback (most recent call last):
File "c:\python27\lib\logging__init__.py", line 882, in emit
stream.write(fs % msg)
File "c:\python27\lib\site-packages\pip_vendor\colorama\ansitowin32.py", line 141, in write
self.write_and_convert(text)
File "c:\python27\lib\site-packages\pip_vendor\colorama\ansitowin32.py", line 169, in write_and_convert
self.write_plain_text(text, cursor, len(text))
File "c:\python27\lib\site-packages\pip_vendor\colorama\ansitowin32.py", line 175, in write_plain_text
self.wrapped.flush()
IOError: [Errno 22] Invalid argument
Logged from file list.py, line 202
from pyproj.
Another shot in the dark. What version of pip are you running? C:\...> pip --version
from pyproj.
$ python --version
Python 2.7.12
$ pip --version
pip 8.1.2 from /usr/local/lib/python2.7/site-packages (python 2.7)
from pyproj.
I had this exact same problem. Did you ever find an answer?
$ pip install -U pyproj
Collecting pyproj
Using cached pyproj-1.9.5.1.tar.gz
Complete output from command python setup.py egg_info:
nad2bin.c
nad2bin.c(129) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
nad2bin.c(130) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
nad2bin.c(137) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
nad2bin.c(138) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
nad2bin.c(352) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
nad2bin.c(353) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
pj_malloc.c
using bundled proj4..
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\brett\appdata\local\temp\pip-build-xysdqt\pyproj\setup.py", line 74, in <module>
cc.link_executable(objects, execname, extra_postargs = [ '/MANIFEST' ] if os.name == 'nt' else None)
File "c:\python27\lib\distutils\ccompiler.py", line 700, in link_executable
debug, extra_preargs, extra_postargs, None, target_lang)
File "c:\python27\lib\distutils\msvc9compiler.py", line 669, in link
raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Users\\brett\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\WinSDK\\Bin\\mt.exe' failed with exit status -1073741819
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\brett\appdata\local\temp\pip-build-xysdqt\pyproj\
I have the same versions as mentioned above.
I was not able to get the command: pip list | find "setuptools"
to work, but I was able to get pip list
to work and it showed setuptools (20.10.1)
I reinstalled setuptools and now it shows setuptools (26.0.0)
still same error.
from pyproj.
What shell are you using under Windows with a $ prompt? Is it bash?
from pyproj.
I was able to get it working. The problem that I faced is that I was following a stupid tutorial. The tutorial told me to remove the slash from the end of the Python PATH Environment variable. Once I added it back on, everything was gravy.
from pyproj.
Refer 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.