[issue25251] Unknown MS Compiler version 1900

2021-06-17 Thread Roundup Robot


Change by Roundup Robot :


--
nosy: +python-dev
nosy_count: 14.0 -> 15.0
pull_requests: +25365
pull_request: https://github.com/python/cpython/pull/26780

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2019-05-06 Thread anthony shaw


anthony shaw  added the comment:

Closing as 3rd party feature for setuptools

--
nosy: +anthonypjshaw
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2019-03-27 Thread Cheryl Sabella


Cheryl Sabella  added the comment:

Should this issue be closed as third-party or do we want to leave it open as 
reference?

--
nosy: +cheryl.sabella

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2016-11-03 Thread Steve Dower

Steve Dower added the comment:

That sounds like a great feature for setuptools.

Core distutils is highly focused on what is needed for the core product, and we 
are very much trying to avoid bloating it, whereas setuptools is free to add 
extensions wherever necessary and make them available on earlier versions of 
Python.

The setuptools issue tracker is at https://github.com/pypa/setuptools

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2016-11-03 Thread Sam Miller

Sam Miller added the comment:

Hi disutils. I got this bug when trying to pip install pomegranate to python 
3.5. There is now a m2w64-toolchain 
(https://github.com/ContinuumIO/anaconda-issues/issues/561)that allows 
installing the notoriously windows-challenged theano, so I thought this error 
could be resolved with a new class m2w64Compiler(CygwinCCompiler) or maybe just 
updating the old Mingw32CCompiler(CygwinCCompiler) class.

--
nosy: +Sam Miller

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2016-03-22 Thread Steve Dower

Steve Dower added the comment:

Please test your extensions thoroughly when building with MinGW, especially if 
you're planning on distributing wheels on PyPI.

CPython assumes an ABI compatible with what MSVC would have built, and mixing 
ABIs will lead to crashes or data corruption. (I'm not just trying to be scary 
here, this is basically guaranteed to occur when you mix C Runtime libraries.)

Currently the only fully compatible MinGW I'm aware of (mingwpy - 
https://bitbucket.org/carlkl/mingw-w64-for-python) is still in development, 
though it appears to be ready for numpy and scipy, which is awesome. But just 
because "compiler=mingw32" appears to work, it doesn't make it inherently a 
good idea.

(As an aside, you can get the right version of MSVC for Python 3.5 and later 
from https://www.microsoft.com/en-us/download/details.aspx?id=49983 - you'll 
need to build inside the SDK's command line and set DISTUTILS_USE_SDK=1, but 
otherwise it is the right tools. We've already suggested that they should 
install in a way that setuptools can automatically detect and use them.)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2016-03-21 Thread Jonathan Hanba

Jonathan Hanba added the comment:

I just ran across this bug in Python 3.5.1 while trying to build pycrypto using 
MinGW. I patched the cygwincompiler.py with the attached patch.diff file, and 
that got me part of the way there.

With the additions made by patch.diff, the MinGW linker then looked for 
vcruntime140.dll but it could not find it.

With the Python 3.5.1 installation, vcruntime140.dll is located in 
./Python35-32 directory, but it is not included in the library directories 
being passed into MinGW.

To fix this, I had to edit ./Lib/distutils/command/build_ext.py and add to line 
141:

self.library_dirs.append(os.path.join(sys.exec_prefix))

This adds the root of the Python35-32 directory to the library paths used by 
MinGW.

--
nosy: +hanbaj

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2016-01-16 Thread Marcelo Duarte

Marcelo Duarte added the comment:

I hava a problem with others packages, like cchardet and aiohttp.
Aplying the patch changed the error message, then I generate a lib for 
vcruntime140, and finally, it is installed:

#go to python installation dir
cd M:\Applications\Python35-32
pexports vcruntime140.dll >libs\vcruntime140.def
dlltool -dllname vcruntime140.dll --def libs\vcruntime140.def --output-lib 
libs\libvcruntime140.a

--
nosy: +marcelotduarte

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2015-12-22 Thread Tod Haren

Tod Haren added the comment:

In addition to patching cygwincompiler.py I also had to patch 
numpy\distutils\misc_util.py and numpy\distutils\mingw32ccompiler.py to handle 
the new dll name.

A pull request has been submitted for the numpy patches. 
https://github.com/numpy/numpy/pull/6875

--
nosy: +Tod Haren

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2015-11-25 Thread Ateik Al-Zehla

Ateik Al-Zehla added the comment:

forget to tell you that even i deleted the cache, but nothing happened. it use 
the old code.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2015-11-25 Thread Ateik Al-Zehla

Ateik Al-Zehla added the comment:

thanks Matt for your replay. But I copied the lines to cygwinccompiler.py and 
it didn't work. and it pretend as there is no change happened to the file. 

To see if the execution goes through the code I changed message if raise 
ValueError to "God Help Me %s " instead of  "Unknown MS Compiler version %s "

I saved the file, and it looks fine in the Editor.
but when I executed the command: pip install Numpy. It return the old error 
Message "Unknown MS Compiler version 1900"

I'm tired. I spend three days to solve this issue but without success.
plz help

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2015-11-22 Thread Matt Hickford

Matt Hickford added the comment:

Hi Ateik. Find cygwinccompiler.py on your computer and copy the patch to
the same folder. Then run the command `patch < patch.diff`. It that doesn't
work, just open both files in a text editor and copy and paste the lines to
the right place, you'll work it out.

It may or not solve your problem.

On 15 November 2015 at 12:30, Ateik Al-Zehla  wrote:

>
> Ateik Al-Zehla added the comment:
>
> how to apply patch file : patch.diff ? plz help
>
> --
> nosy: +Ateik Al-Zehla
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2015-11-15 Thread Ateik Al-Zehla

Ateik Al-Zehla added the comment:

how to apply patch file : patch.diff ? plz help

--
nosy: +Ateik Al-Zehla

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2015-09-30 Thread Matt Hickford

Matt Hickford added the comment:

I'm not sure what the correct analogue of msvcr100 is for Visual C++ 14.0. 
"msvcr140.dll no longer exists" 
http://blogs.msdn.com/b/vcblog/archive/2014/06/03/visual-studio-14-ctp.aspx

elif msc_ver == '1600':
 # VS2010 / MSVC 10.0
 return ['msvcr100']
elif msc_ver == '1900':

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2015-09-30 Thread Steve Dower

Steve Dower added the comment:

There isn't one. MinGW doesn't support building with the UCRT yet, so you'll 
need to link to a different version of the library and hope that it works (or 
test/fix the extension).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2015-09-27 Thread Matt Hickford

New submission from Matt Hickford:

Hi distutils. I previously used compiler=mingw32 with success. Today I 
installed Visual Studio 2015. Now compiler=mingw32 gives me an error

File "c:\python35\lib\distutils\cygwinccompiler.py", line 86, in get_msvcr
raise ValueError("Unknown MS Compiler version %s " % msc_ver)
ValueError: Unknown MS Compiler version 1900

Any ideas? I don't understand why what msvc I have installed affects build with 
mingw32

--
components: Distutils
messages: 251730
nosy: Matt.Hickford, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: Unknown MS Compiler version 1900
type: crash
versions: Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25251] Unknown MS Compiler version 1900

2015-09-27 Thread Zachary Ware

Changes by Zachary Ware :


--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
type: crash -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com