Re: Question on "FIXME" code in SCons 3.1.2

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CF5AChBpRLQox5+VSc2kzyCd2ZGKzXyhLGpyZLMOYjUeQ@mail.gmail.com>
Don't import pandas into SCons.
It's known to be a major issue.
In general it's not wise to do tons of Python processing in process in
SCons.
You're best to move such to a script which you run via a Builder() or
Command().

-Bill

On Thu, Mar 25, 2021 at 11:05 PM Don Baldwin <[email protected]> wrote:

> Hi,
>
>
>
> We’re using SCons 3.1.2, and we see the following code in
> SCons\compat\__init__.py:
>
>
>
> *# *
> *TODO: FIXME *
> *# In 3.x, 'pickle' automatically loads the fast version if available. *
> rename_module(*'pickle'*, *'cPickle'*)
>
>
>
> This is causing problems when we try to import pandas, which also tries to
> import pickle.
>
>
>
> Can you tell us what would be the impact of simply removing this code?
>
>
>
> Thanks,
>
> Don
> _______________________________________________
> Scons-users mailing list
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.