Skip to content

Problem importing pandas and numpy package #66

Answered by roehligas
NickatLCB asked this question in General
Discussion options

You must be logged in to vote

I remember struggling with it once upon a time.

I solved it scanning the sys paths in my normal python environment and pretty much appending all of the necessary ones to my python scripts inside cadwork, see below.

# import modules
import  cadwork   
import  element_controller      as ec
import  attribute_controller    as ac
import geometry_controller      as gc
import utility_controller as uc
import visualization_controller as vc
import menu_controller as mc
import sys

# Adding the Anaconda Environment paths to the system paths
# This is necessary to be able to access external packages
sys.path.extend(['',
'K:\\02 KONSTRUKSJON\\04 CADWORK\\external Anaconda Environment\\Cadwork\\python3…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by NickatLCB
Comment options

You must be logged in to vote
8 replies
@djdbarroso
Comment options

@NickatLCB
Comment options

@djdbarroso
Comment options

@Brunner246
Comment options

@djdbarroso
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants