Python Forum
sys library and how to import using conda - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: sys library and how to import using conda (/thread-16386.html)



sys library and how to import using conda - michavardy - Feb-26-2019

Python cummunity

I am trying at home to use the freecad and pythonOCC libraries.
generally in the past, I have used pip install and it works great.
these libraries above require conda to import them. additionally the modules that I am interested in are pyd files.

the internet suggests the following:



import sys
sys.path.append('/usr/lib/freecad/bin')
import FreeCAD

this doesn't work for me

how am I using sys incorrectly, my error messages are saying that there is no module named freecad

also how should I run conda libraries because they arn't running like pip libraries

regards,