-
Notifications
You must be signed in to change notification settings - Fork 749
dot not get expected result when running ReadMe example #684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@mushramb0 please use the master branch and see this linked issue: |
@denfromufa thank you for answer.but when i run command "python setup.py bdist_wheel",throw exception: Microsoft(R) Build Engine Version 4.7.2556.0 CSC : error CS1617: Option '6' is invalid for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default [C:\Users\Administrator\Desktop\pythonnet-2. |
You can grab the wheels from appveyor artifacts for master branch. Your "error CS1617" is due to some mismatch between build tools. Try updating vswhere.exe to latest version: |
Environment
Pythonnet version: 2.3
Python version: 3.5.5
Operating System: Windows 10
Details
hi,my code is:
static void Main(string[] args)
{
using (Py.GIL())
{
dynamic np = Py.Import("numpy");
Console.WriteLine(np.cos(np.pi * 2));
}
my output is:
1.0
-0.9589242746631385
-0.675262089199912
object
object
NULL
why not the same as the readme output?
The text was updated successfully, but these errors were encountered: