-
Notifications
You must be signed in to change notification settings - Fork 87
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
installation error on Windows 10 #160
Comments
Hi @arfogg, It seems like the second approach won't work for you, because that wheel was built for a different CPU architecture. Regarding the first (correct) approach, the output you've provided doesn't contain enough information for me to identify the source of your problem. Please make sure to install the latest version of Microsoft C++ Build Tools, as suggested in a related issue. In case the problem remains, please run |
Hi @ntfrgl , Thanks for getting back to me so quickly! I have updated my version of C++ build tools, it now reads in the developer command prompt as:
In conda I ran my version of pip is: 22.0.4 i'm grateful for any suggestions on what to try next! Alexandra |
Thanks for your installation report! We're now facing some minor issues with Microsoft VS, which were previously avoided by relying on GCC for compiling the Cython/C extensions. With the commit above, I've hopefully resolved the errors showing up in your report, although there might be some more lurking behind. Since I don't have access to a Windows machine, may I kindly ask you to try installing again from the newest commit? It might take us a few more iterations until we surface all the Windows-specific issues, but I would like to resolve them. |
Thanks for looking into this, I'm very happy to be a tester for any Windows-specific issues! I'm not 100% sure I have installed via the new commit, but this is the process I did: Found the new commit (by clicking on the commit and then "Browse files"): Clicked "Code" and "Download ZIP" And then, once the zipped files are extracted, I installed as before, using Error and output are similar to before (see text file Alexandra |
Update: Yes, your process was correct, thank you! The other way would be to Brief explanation: As you can see by comparing the outputs before and after my previous commit, the compiler invocation warnings in lines 94-95 (old) are gone, and instead of getting stuck with errors from |
Thanks for getting back to me! Alexandra |
Hi, I am facing the same issues as above. Is there a solution for this now? Super keen on using this toolbox! |
I am reopening this issue, as it seems to have been closed without confirming a resolution. @arfogg, please accept our apologies for a lasting lack of resources in addressing this issue. I hope that you have found a workaround for your needs, but would be delighted if you gave this package another chance. The commits above address all the issues which were visible so far in the installation logs on Windows. @fkuehlein, @zugnachpankow, @mixue-t, may I kindly ask you to attempt a fresh installation on Windows by following the updated instructions in the |
Hi, I also had error while installing. Which is numerics.obj : error LNK2001: unresolved external symbol drand48 and tried with all the previous methods, including the installation of Microsoft C++ Build Tools in issue #159. It did not work. It seems that drand48 and erand48 are not included in the VC if I downloaded as the video said. I just record this here if anyone has the same issue. |
Hi @linh-hk, thank you for reporting your situation. We're currently in the process of removing the last barriers to the installation on Windows using MSVC. Because Do I understand correctly that the Windows installation is now fully functional for you? May I kindly ask you to retry a fresh installation and to provide the entire output of |
Hi @ntfrgl , sorry for the late reply ... I didn't check the notification... I successfully install the package on a Window instance on was ec2. I think the issue is solved. When I import the library, it gets me: I believe this error is not exclusive to installation on Windows because when I import pyunicorn in Ubuntu it reported the same. I did not have to use any functions that depends on netCDF4 but tried to make it go away by separately install netcdf4 using conda. Please fix it anyway. Thanks. |
- Previously: optional dependency `netcdf4` - Both libraries provide the `NetCDF4.Dataset` API, but `h5netcdf` has a more lightweight Conda installation. - Alternative solution: remove `core.data.Data` and `core.netcdf_dictionary.NetCDFDictionary` from `core.__init__` - Related issue: #160
Thank you once more, @linh-hk! I am glad to hear that the installation is working for you. I have addressed those import warnings in the commit above. |
We had several more reports of successful installations on Windows, hence this issue can be closed. |
Hi,
Thanks for providing this very useful python package. I am having trouble installing it.
My system is Windows 10 x64
Following the install instructions on your github homepage leads me to this error:
I have also tried to follow through the steps outlined in another issue: #127
which gives me this error:
please could you help me to solve this, so I can install pyunicorn.
sorry for the open and close below - I didn't realise some keyboard shortcuts!
Alexandra Fogg
The text was updated successfully, but these errors were encountered: