Python Forum
sys library and how to import using conda
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sys library and how to import using conda
#1
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,
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Confused over Conda Package manager vs PIP JanOlvegg 3 1,161 Mar-09-2023, 02:09 PM
Last Post: JanOlvegg
  How to deactivate correctly a conda environment NoNameoN 2 1,804 Nov-04-2022, 01:43 PM
Last Post: NoNameoN
  Install any library via pip get an error cannot import name 'SCHEME_KEYS' from 'pip. Anldra12 2 10,486 Jan-04-2022, 01:05 PM
Last Post: Anldra12
  SSL error while trying to update conda ilango 0 2,121 Nov-04-2021, 08:38 AM
Last Post: ilango
  How to test and import a model form computer to test accuracy using Sklearn library Anldra12 6 3,063 Jul-03-2021, 10:07 AM
Last Post: Anldra12
  Error: How to to close and restart your shell after running 'conda init' angelica 3 10,174 May-27-2020, 10:00 AM
Last Post: snippsat
  Creating Conda env from requirments.txt file ErnestTBass 7 15,290 Apr-23-2020, 06:57 PM
Last Post: snippsat
  Regarding import library in two different program file Rohit 3 2,408 Jan-22-2020, 07:14 AM
Last Post: buran
  Installing a new package using pip in conda environment firebolt7 1 2,482 Nov-18-2019, 12:31 PM
Last Post: snippsat
  Auto activate conda env in Pycharm terminal ntuttle 0 4,727 Mar-08-2019, 03:56 PM
Last Post: ntuttle

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020