Comments (5)
I have not tried installing the conda PyChrono in a while, but just looking on anaconda.org I can see that some of those packages are available:
Not sure what your "anaconda GUI" finds or does not find, but maybe you should try to do this from the command line as listed in the PyChrono installation instructions.
Note that Chrono can only work with Cascade 7.4 (see comments here), so installing a newer version (7.7.2) will not fly.
Finally, the MacOS PyChrono conda packages do not include any of the Chrono modules that rely on GPU computing through CUDA because Apple does not use NVIDIA GPUs anymore. So, no need to worry about installing the cuda conda package.
from chrono.
Thanks for the response @rserban! Good to know CUDA is not needed.
I should mention, I tried installing mkl and pythonocc in the anaconda GUI (navigator?) because the command line method failed. When I use the navigator to search on a windows machine I do indeed find the mkl package, but not on an M1 mac. Does this mean pychrono is only compatible with intel macs?
Similarly, the commands conda install -c conda-forge pythonocc-core=7.4.1
or conda install pythonocc-core=7.4.1
did not work for me, so I tried using anaconda navigator to install. The only available version searching on an M1 mac is 7.7.2.
from chrono.
I checked the scripts we use to generate the conda packages and it turns out that the Chrono::PardisoMKL module is not included in the MacOS PyChrono package. So MKL is also not needed.
OCC support is included though and, as I mentioned before, the Chrono::Cascade module is only compatible with an older OCC version. The lack of a corresponding pythonocc conda package is an issue.
To answer your question, because Apple does not use Intel processors anymore, we have recently decided to only generate and offer conda packages for ARM Macs. Now, it looks like we need to reconsider the inclusion of Cascade support in the PyChrono conda package for Macs.
Having said that, I think the rest of PyChrono functionality should work anyway and yet it appears you cannot even load the core Chrono module. So there are likely additional issues here. I do not have access to a Mac, so this is as far as I can help. Hopefully a Mac user can chime in and provide some additional insights.
from chrono.
Ok, good to know MKL is not required for MacOS. I will try reinstalling pychrono with only the required packages in a new env and see how that works.
I'll keep checking here if any M1 Mac users have some advice.
Thanks for your help @rserban
from chrono.
Trying again on Mac;
I re-installed the pychrono in a new env following the instructions here
I was able to install all packages as directed with the exception of conda install -c conda-forge pythonocc-core=7.4.1
. Had to install from source using the instructions here. I only needed to install swig (which I did through Anaconda) to successfully install pythonocc-core version 7.4.1.
Finally, I installed Spyder through Anaconda, and tried running demo_CH_coords.py
. Again, I run into the import error:
runfile('/Users/elainechesoni/anaconda3/pkgs/osx-arm64_pychrono-8.0.0-py310_3631/share/chrono/python/pychrono/demos/core/demo_CH_coords.py', wdir='/Users/elainechesoni/anaconda3/pkgs/osx-arm64_pychrono-8.0.0-py310_3631/share/chrono/python/pychrono/demos/core')
First tutorial for PyChrono: vectors, matrices etc.
Traceback (most recent call last):
File ~/anaconda3/envs/chrono/lib/python3.9/site-packages/spyder_kernels/py3compat.py:356 in compat_exec
exec(code, globals, locals)
File ~/anaconda3/pkgs/osx-arm64_pychrono-8.0.0-py310_3631/share/chrono/python/pychrono/demos/core/demo_CH_coords.py:17
import pychrono as chrono
ModuleNotFoundError: No module named 'pychrono'
If anyone has resolved this issue with an M# mac, please let me know how it was done.
from chrono.
Related Issues (20)
- Dragging an ImGui window with the left mouse button will also move the camera.
- Windows.h file include in ChTimer.h HOT 2
- ใwindowsใ Chrono::Vehicle cosimulation support requires MPI, but MPI not found HOT 3
- The vehicle can't collision with another , is there something i miss HOT 4
- Segmentation fault (Address not mapped to object [0x8]) HOT 1
- [Carla] Worst realistic with Chrono HOT 1
- Step files cannot be visualized, demo_CAS_stepfile HOT 10
- cannot find demo_FSI_Flexible_Shell.cpp HOT 3
- chrono software calculation accuracy problems HOT 4
- The ARM64 development board performs a make check error HOT 1
- terrain HOT 1
- FEA mesh and rigid body contacts, there is a difference between the theoretical solution and the results. HOT 1
- Includes don't work correctly when building my project HOT 1
- AttributeError:'ChSystemNSC' object has no attribute 'SetVisualSystem' HOT 14
- ImportError: cannot import name '_core' from partially initialized module 'pychrono' (most likely due to a circular import)
- ChronoEngine Installation Issue on Ubuntu 23.10 with CMake 3.27.4: CHRONO_MPI_FOUND Variable Not Recognized in ChronoConfig.cmake HOT 6
- Chrono::Irrlicht and Chrono::Sensor sampling textures in opposite directions
- unable to use gpu HOT 1
- Certain fsi demos are not compatible with latest version of Chrono HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chrono.