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)
- Leading space in WKT raises `CRSError` HOT 9
- Functions of `loxodrome` or `rhumb line` is needed HOT 6
- Help with PROJ 9.3 CRS comparison issue HOT 26
- Request: release a patch version that pins cython<3.0 HOT 24
- error installl pyproj==3.2.1 on debian:12 HOT 3
- UserWarning: Valid PROJ data directory not found HOT 16
- What happened to the `pyproj/aoi.py` module in releases? HOT 1
- Deprecation warning when transforming a single point enclosed in numpy array HOT 1
- LibTiff Vulnerabilities and Dependencies HOT 4
- DOC: Converting from fiona CRS to pyproj.crs.CRS HOT 7
- Add JSON serializeability with PROJJSON? HOT 7
- to_CF for polar_stereographic, with latitude_true_scale, should include latitude_of_projection_origin HOT 2
- Reverse transformation does not produce initial coordinates
- DeprecationWarning: pkg_resources is deprecated as an API. HOT 1
- Support for deprecated and non-deprecated objects HOT 3
- 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
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.