-
Notifications
You must be signed in to change notification settings - Fork 7
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
Ryven | Load Example | demo_example.json can't find PythonOCC #11
Comments
yes, it doesn't know where the nodes package is, because when the creator of the project used it on his machine, it was under a different path. you need to locate it manually: click on |
I don't understand "clone of this repo"? Wasn't it installed by the command "conda install -c conda-forge pythonocc-core"? |
pythonocc-core is a prerequisite (or dependency), along with pythonocc-utils, anaconda, and ryven. if you want to use this project (Pythonocc-nodes-for-Ryven), you have to download it too, i.e. clone the repository via |
I guess the thing which I'm missing here is the difference between just using python at the terminal, using anaconda, and the difference in accessing one or the other. Is there a set of step-by-step instructions, which assume nothing, for installing on Linux? What happened to the pythonocc.org website? |
yeah, I don't know if there are more detailed instructions for PythonOCC, but you will find plenty of resources online which take you through the process of installing the Anaconda platform, setting up a new conda environment, and then installing packages in this environment, which is what you need. |
and to prevent confusion: you can have (and usually do have) various Python installations on your system, and Anaconda will also bring its own Python installation. So, yes when using PythonOCC you are using Python, but you use it inside an Anaconda environment |
Once everything installed you can create a
where pyoccryv3env is the virtual environment you have setup to run Ryven with PythonOCC Personnaly I use Miniconda instead of Anaconda, and I use Pycharm to easily access virtual environnement and code in a python friendly IDE You can find all ressources on PythonOCC from this link :https://github.com/tpaviot/pythonocc-core |
The problem seems to be that I can't get a working nodes.py loaded. I've downloaded and unzipped: https://github.com/Tanneguydv/Pythonocc-nodes-for-Ryven/archive/refs/heads/main.zip and if I point it at: it won't press and if I point it at: get: and if both: (base) C:\Users\willa>ryven |
I think that your installation of Ryven does not belong to the virtual environment created with OCC installation, that's why the module OCC can't be found while launching Ryven I guess. |
@Tanneguydv what is the difference between the two nodes files? there should only be one in |
There's only one node file, no? |
|
My Bad, I'll fix this |
removed, I closed your pull request, thank you! |
Okay, the command: source activate pyoccenv from: https://github.com/tpaviot/pythonocc-core doesn't seem to work --- instead used: conda activate pyoccenv Also, python can't equal 3.10 |
Click on "AUTO IMPORT" and it finds std but can't find PythonOCC
The text was updated successfully, but these errors were encountered: