[Scons-users] Question on "FIXME" code in SCons 3.1.2

Bill Deegan bill at baddogconsulting.com
Fri Mar 26 13:55:01 EDT 2021


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 <donb at qti.qualcomm.com> 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
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20210326/80e92cc8/attachment.html>


More information about the Scons-users mailing list