Python for Unity Install

Hi, I’m new to unity and trying to install the Python for Unity package (specifically version 4.0.0-exp.5) however I’m unable to locate it in Package Manager and I have found no way to download the package from the web. The installation documentation isn’t very helpful so I’m wondering if anyone has any ideas.

I’m using Unity version 2021.1.7f1 on a free personal license.

https://docs.unity3d.com/Packages/com.unity.scripting.python@4.0/manual/installation.html

1 Like

Check if you have preview packages enabled.

In Project Settings>Package Manager>Advanced Settings, I have “Enable Pre-release Packages” checked which I’m assuming is what you are talking about. I have tried closing and reopening the project and I still don’t see Python for Unity.

As ALL experimental packages, it installs special way to prevent people who doesn’t know what they are doing to install the package. So they say.
7156147--856672--screenshot1.png
Paste this in the input box: com.unity.scripting.python hit add or enter.

3 Likes

This worked thank you!

There was really people who complained about “package X did something to my project”?.

There are still people, who are using experimental/preview/etc packages and whining on all forums that they aren’t working perfectly. When they go through all sorts of hoops to install the package.

People are just like to whine.

2 Likes

I’m having the same problems here, I went in and enabled experimental packages, but I don’t even see the option for “add package by name” and I can’t find it in the package list. I’m very new to Unity, so if anyone has an idea, please give me step-by-step instructions on how to enable that option.

Thanks!

Hi [mention|VC8T8kR5co0gmh81JTISOA==], check out this thread to see installation instructions for every supported version of Unity.

tl;dr If you’re using 2020.3 or earlier, use “Install package by git URL…” (accessed from the + menu at the top left of Package Manager). Enter com.unity.scripting.python in the text field that pops up and hit enter.

i did this but got this error

DllNotFoundException: Could not load Library/PythonInstall/lib/libpython3.7m.dylib with flags RTLD_NOW | RTLD_GLOBAL: dlopen(Library/PythonInstall/lib/libpython3.7m.dylib, 0x000A): tried: ‘/Applications/Unity/Unity.app/Contents/MacOS/…/Frameworks/Library/PythonInstall/lib/libpython3.7m.dylib’ (no such file), ‘Library/PythonInstall/lib/libpython3.7m.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/usr/local/lib/libpython3.7m.dylib’ (no such file), ‘/usr/lib/libpython3.7m.dylib’ (no such file), ‘/Users/myname/Projects/Unity/Myproject/Library/PythonInstall/lib/libpython3.7m.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/usr/local/lib/libpython3.7m.dylib’ (no such file), ‘/usr/lib/libpython3.7m.dylib’ (no such file)

i am using mac m1 and unity 2021.2.7f1(silicon unity editor)
although i installed silicon editor, in unity hub it says intel

Could this be related the error,Did i somehow install the wrong editor? i installed silicon build supports ios,webgl and got nothing wrong

1 Like

Hi @poliska5 ,
Did you manage to solve this issue? I’m on Unity 2021.3.0f1 and have exactly the same problem

1 Like

Nope, i didnt make an effort after that.