Skip to content

Not able to resolve Blender path #3

@jayliu50

Description

@jayliu50

Not sure what I did wrong.

I keep getting an error such as the following for 3.10, 3.11, and 3.12

PS Z:\win-code\github\st2> b3denv
 _   ___   _
| |_|_  |_| |___ ___ _ _
| . |_  | . | -_|   | | |
|___|___|___|___|_|_|\_/ v0.0.15
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts\b3denv.exe\__main__.py", line 7, in <module>
  File "C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\b3denv\__init__.py", line 392, in main
    vars = get_vars(None)
           ^^^^^^^^^^^^^^
  File "C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\b3denv\__init__.py", line 96, in get_vars
    python_folder = os.path.join(parent, version, "python\\bin")
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen ntpath>", line 149, in join
  File "<frozen genericpath>", line 164, in _check_arg_types
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'

I've tried setting the BLENDER_PATH.

I've also tried install 4.11 using the Blender installer, choosing the default installation path.

Nothing works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions