# UiPath Python Activities not working for 64 Bit Python Interprettor

**URL:** <https://forum.uipath.com/t/uipath-python-activities-not-working-for-64-bit-python-interprettor/337467>\
**Category:** Studio\
**Tags:** activities-panel, question, studio, python, activities\
**Created:** [August 13, 2021, 4:21pm UTC](https://forum.uipath.com/t/uipath-python-activities-not-working-for-64-bit-python-interprettor/337467 "2021-08-13T16:21:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumit\_1521](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sumit_1521/32/176664_2.png) [@sumit\_1521](https://forum.uipath.com/u/sumit_1521)\
**Post date:** [August 13, 2021, 4:21pm UTC](https://forum.uipath.com/t/uipath-python-activities-not-working-for-64-bit-python-interprettor/337467/1 "2021-08-13T16:21:57Z")

</div>

Hi,

I have been trying to work with NLP/ML python libraries which work with 64 Bit Python Interpreter, but the problem is that UiPath is no longer supporting Python call via 64 Bit Interpreter. While at the same time it works fine with 32 bit

Any update or help on that will be really great?

Below is the error -

21.4.4+Branch.master.Sha.a8b5101efe02651274064093e9c7410fedff7696

Source: Python Scope

Message: Error initializing Python engine

Exception Type: System.InvalidOperationException

RemoteException wrapping System.InvalidOperationException: Error initializing Python engine —\> RemoteException wrapping System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: Exception has been thrown by the target of an invocation.

Server stack trace:  
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)  
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)  
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object ins, Object outs, TimeSpan timeout)  
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)  
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:  
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)  
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)  
at UiPath.Python.Service.IPythonService.Initialize(String path, Version version, String workingFolder)  
at UiPath.Python.Impl.OutOfProcessEngine.Initialize(String workingFolder, CancellationToken ct)  
at UiPath.Python.Activities.PythonScope.d\_\_32.MoveNext()  
— End of inner exception stack trace —  
at UiPath.Shared.Activities.AsyncTaskNativeImplementation.BookmarkResumptionCallback(NativeActivityContext context, Object value)  
at UiPath.Shared.Activities.AsyncTaskNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)  
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)  
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

---

<div class="post-metadata">

**Author:** ![Dawodm](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/dawodm/32/194088_2.png) [@Dawodm](https://forum.uipath.com/u/Dawodm)\
**Post date:** [August 14, 2021, 11:59am UTC](https://forum.uipath.com/t/uipath-python-activities-not-working-for-64-bit-python-interprettor/337467/2 "2021-08-14T11:59:04Z")

</div>

Hi @sumit_1521

Please watch these videos about invoking python code in UiPath. They could help you:  
Video 1: [UiPath | Download Python | Install Python | How to install python to invoke python script in UiPath - YouTube](https://www.youtube.com/watch?v=U7_IRB_wSfg)  
Video 2: [UiPath | Add Python Activities | How to add Python activities to UiPath to Invoke Python Code - YouTube](https://www.youtube.com/watch?v=b97NvjGOQa8)  
Video 3: [UiPath | Invoke Python Script | Invoke Python Code | How to invoke python code in UiPath | Python - YouTube](https://www.youtube.com/watch?v=7sZqsK5kTLQ)

Best regards  
Mahmoud

---

<div class="post-metadata">

**Author:** ![sumit\_1521](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sumit_1521/32/176664_2.png) [@sumit\_1521](https://forum.uipath.com/u/sumit_1521)\
**Post date:** [August 14, 2021, 4:34pm UTC](https://forum.uipath.com/t/uipath-python-activities-not-working-for-64-bit-python-interprettor/337467/3 "2021-08-14T16:34:11Z")

</div>

Hi @Dawodm Thanks for reply.

But the issue is only with 64 bit interpreter of Python, with 32 bit I am able to run the python activities.

Do you have any work around on that?

---

<div class="post-metadata">

**Author:** ![sumit\_1521](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sumit_1521/32/176664_2.png) [@sumit\_1521](https://forum.uipath.com/u/sumit_1521)\
**Post date:** [May 16, 2022, 1:05pm UTC](https://forum.uipath.com/t/uipath-python-activities-not-working-for-64-bit-python-interprettor/337467/4 "2022-05-16T13:05:15Z")

</div>

It seems UiPath has provided fix in the new release for the Python activities, so working fine now

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [May 19, 2022, 1:05pm UTC](https://forum.uipath.com/t/uipath-python-activities-not-working-for-64-bit-python-interprettor/337467/5 "2022-05-19T13:05:21Z")

</div>

Closed on May 19, 2022, 1:05pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
