-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Import Error #6567
Comments
I'm not sure what can help you. Can you remove the python file to not contain space? We didn't test that case and on windows, space handing can be difficult. Maybe this won't fix the problem, but it could give a better error message. Which version of Theano you use? Make sure to use 1.0.1 |
Hi |
Can you delete your Theano cache? If that do not fix it, can you try this #6575 that give a better error message? You can manually copy the only changed file. |
Also, you probably have a file with more detail on the error message. Check the full output, it should have the path to that file. |
Thanks a lot. Could you please let me know how to delete my Theano cache? |
You have this line:
PermissionError: [WinError 32] The process cannot access the file
because it is being used by another process:
'C:\\Users\\cturn\\AppData\\Local\\Temp\\try_march_3v6ffkv9.exe'
Can you reboot? At least, stop all Python process?
…On Mon, Mar 12, 2018 at 11:09 AM shahlaebrahimi ***@***.***> wrote:
Thanks a lot. Could you please let me know how to delete my Theano cache?
I posted my error completely. This error is also reported here
https://stackoverflow.com/questions/41146147/can-not-import-theano-after-installation-windows-10
and here
https://stackoverflow.com/questions/37279948/run-theano-on-python-3-5
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6567 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALC-81Eq6fmO9b7HgqIm4kLWMwt6zMgks5tdo-3gaJpZM4STkgr>
.
|
Also, the error message are not the same in this issue and in stack
overflow.
On Mon, Mar 12, 2018 at 11:15 AM Frédéric Bastien <
frederic.bastien@gmail.com> wrote:
… You have this line:
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\cturn\\AppData\\Local\\Temp\\try_march_3v6ffkv9.exe'
Can you reboot? At least, stop all Python process?
On Mon, Mar 12, 2018 at 11:09 AM shahlaebrahimi ***@***.***>
wrote:
> Thanks a lot. Could you please let me know how to delete my Theano cache?
> I posted my error completely. This error is also reported here
>
> https://stackoverflow.com/questions/41146147/can-not-import-theano-after-installation-windows-10
> and here
> https://stackoverflow.com/questions/37279948/run-theano-on-python-3-5
>
> —
> You are receiving this because you were mentioned.
>
>
> Reply to this email directly, view it on GitHub
> <#6567 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AALC-81Eq6fmO9b7HgqIm4kLWMwt6zMgks5tdo-3gaJpZM4STkgr>
> .
>
|
@nouiz Sorry, I stopped all process. Then, I just run: Error:
|
@nouiz Hi
Thanks in advance. |
The first line of the error message is: You can find the C code in this temporary file: C:\Users\Markazi.co\AppData\Local\Temp\theano_compilation_error__q6g2bid Can you send this file? |
@nouiz I sent the requested file to the gmail, which is posted on this page. I also sent them to: theano-users@googlegroups.com |
I have basically the same error message. I am also using Windows 10 and Anaconda.
Thanks |
@maciejkos Sorry, have you tried these? |
Might be off topic but I've had issues with the Anaconda Python distribution.... specifically about the bytecode not compiling correctly every time I first initialize the CPython... completely bizarre but nonetheless I noted that in the linked site @shahlaebrahimi posted, they used MiniConda. :) |
I have the exact same error with you on windows and anaconda. And it works well after the following command: conda install mingw libpython |
Installing mingw and libpython also worked for me to solve the problem on a Windows 10 machine running Theano in a conda virtual environment. |
Hey I tried to build an app(dependency: Theano) using cx_freeze, but getting the same error as the question. But it works fine when i run it in IDLE (import theano), and throws error in exe form. |
I would greatly appreciate if you could let me how to resolve the following error while importing theano, which is installed on windows 10 using anaconda.
Best regards,
The text was updated successfully, but these errors were encountered: