Giter Site home page Giter Site logo

Comments (12)

shycats avatar shycats commented on September 28, 2024 2

@patriciogonzalezvivo @robinuniverse If you are using the latest version of the add-on (v1.0.2 at the moment), you can replace this folder:

$HOME/.config/blender/<version>/scripts/addons/virtucamera_blender/virtucamera

with one of the versions provided here:
https://github.com/shycats/PyVirtuCamera/releases

You must use a release compatible with your Python version. (e.g.: cp38 for CPython 3.8)

from virtucamerablender.

shycats avatar shycats commented on September 28, 2024

Hello,

It seems that you installed the source code directly, which doesn't include all the needed dependencies.
Please, try downloading the zip specific to linux from the Releases section and let me know if it works for you.

Thanks!

from virtucamerablender.

patriciogonzalezvivo avatar patriciogonzalezvivo commented on September 28, 2024

I did download the linux .zip from that link. And install the addon directly from the .zip
And recived that error message.
Do I need to unzip it first?

from virtucamerablender.

patriciogonzalezvivo avatar patriciogonzalezvivo commented on September 28, 2024

Yes, I can confirm. I download VirtuCameraBlender-cp37-linux64-v1.0.0.zip and install it and then when enabling I get that error

from virtucamerablender.

shycats avatar shycats commented on September 28, 2024

Sorry, we had some users reporting a similar error in Maya in the past and that confused me.
I've just tried with a fresh installation of Ubuntu 20.04 and Blender 2.92 (stable) and it is working for me.
Is it possible that you are using a custom build of Blender or custom Python version? Maybe a beta release?

from virtucamerablender.

shycats avatar shycats commented on September 28, 2024

If you can go to the "Scripting" tab in Blender and see which Python version is shown, it could give us some hint.

from virtucamerablender.

patriciogonzalezvivo avatar patriciogonzalezvivo commented on September 28, 2024

Same message on scripting than in the console out

PYTHON INTERACTIVE CONSOLE 3.8.5 (default, Jan 27 2021, 15:41:15)  [GCC 9.3.0]

Builtin Modules:       bpy, bpy.data, bpy.ops, bpy.props, bpy.types, bpy.context, bpy.utils, bgl, blf, mathutils
Convenience Imports:   from mathutils import *; from math import *
Convenience Variables: C = bpy.context, D = bpy.data

from virtucamerablender.

patriciogonzalezvivo avatar patriciogonzalezvivo commented on September 28, 2024

I'm using focal version of blender build here:

http://ppa.launchpad.net/thomas-schiex/blender/ubuntu

from virtucamerablender.

shycats avatar shycats commented on September 28, 2024

Ok it seems to be a modified build of Blender, the one available from blender.org comes with Python 3.7.7.
Anyway, if you need to use this specific Blender build, I can provide you a custom add-on build.

from virtucamerablender.

patriciogonzalezvivo avatar patriciogonzalezvivo commented on September 28, 2024

Sorry for the delay. Yes, my blender install use the system's Python.

[~/Desktop]$ python3 -V
Python 3.8.5

Could be possible to have a version of VirtuCamera blender addon on made for Ubuntu's 20.04 python's??

from virtucamerablender.

robinuniverse avatar robinuniverse commented on September 28, 2024

Having a similar issue to this

Traceback (most recent call last):
  File "/usr/share/blender/2.92/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/robin/.config/blender/2.92/scripts/addons/virtucamera_blender/__init__.py", line 37, in <module>
    from .virtucamera_blender import *
  File "/home/robin/.config/blender/2.92/scripts/addons/virtucamera_blender/virtucamera_blender.py", line 38, in <module>
    from .virtucamera import VCBase, VCServer
  File "/home/robin/.config/blender/2.92/scripts/addons/virtucamera_blender/virtucamera/__init__.py", line 42, in <module>
    from .vc_core import VCServer
ModuleNotFoundError: No module named 'virtucamera_blender.virtucamera.vc_core'

I get this error when I try to enable the add-on. I'm using Blender 3.92 on Arch Linux as it is provided in the AUR. it uses Python 3.9.5, which I expect is the issue. as I expect my working version of python to change often, it might be helpful if you gave an explanation as to how to make the needed changes on our own so you don't have a repeat issue of this - cheers!

from virtucamerablender.

robinuniverse avatar robinuniverse commented on September 28, 2024

This did the trick, thank you!

from virtucamerablender.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.