GithubHelp home page GithubHelp logo

Comments (5)

davidmeunier79 avatar davidmeunier79 commented on August 17, 2024

I do not know if it is related to python 3.6 instead of 3.5 that we have tested with Annalisa, but I would not think so.

However, we have had issues with latest version of nipype 0.14, you should try to force the install of the version 0.13 through pip install, or my version of nipype https://github.com/davidmeunier79/nipype

from ephypype.

dmalt avatar dmalt commented on August 17, 2024

I've tested both python3.5 and python3.6 and nipype0.12, nipype0.13 and nipype0.14. The issue
remains.
I've found a similar problem in one of the nipype's issues. The guy reporting the problem says that it probably was about a conflict between python2 and python3 in anaconda env. It doesn't seem to be the case though since I've tried several anaconda virtualenv configurations --- still no success. I've posted a question to the related issue thread in nipype so may be they could help.
There's also another thread that should be related to ours. It suggests that it's not a packages configuration issue.
It seems to me that the problem is either in a way that I assemble the pipeline or in the data I use it on. It works on python2.7 though.

from ephypype.

dmalt avatar dmalt commented on August 17, 2024

@davidmeunier79: Maybe I can send a code snippet that runs the pipeline together with the chunk of data, so we can see if the problem is in my setup or it's something else?

from ephypype.

dmalt avatar dmalt commented on August 17, 2024

Oh, I just figured it out.
In my pipeline I used dictionary keys as an iterable to the pipeline (it's part of cli code to handle paths to input files in parallel). Apparently in python3 you have to wrap dict.keys() in list() --- otherwise the deepcopy issue appears.

from ephypype.

ostanley avatar ostanley commented on August 17, 2024

@dmalt Can you elaborate on your solution for this a bit? I think I have the same issue. I am initializing nodes in a for loop and storing them as keys in a dictionary, and getting this error as well.

from ephypype.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.