Hi,
I had a bunch of projects that had libraries. After the conversion to Nix, none of them work.
I went in and created a new project in python. Found the packager and added in Cimage. When I typed at the top from Cimage import *
I try to run and get an error message that module is not found.
I also have java libraries from my one grad class that I need to upload again. How do I handle the path for those?
I have spent about 5 hours opening all my repls for one of my classes to convert to Nix. Iām frustrated that I have no idea about this environment and how to fix these library issues. Can someone post a video on how to do this?
3 Likes
Hi there! Could you try using pip to install the libraries?
2 Likes
I have no idea how to do that. I was using one of the built in packages. I thought it automatically installs it. I donāt know where to change in the nix file the fact that it is there. I havenāt even attempted the java programs yet. Iām fine with using BlueJ and importing there but I want my students to be able to work outside of class and this requires the library to be imported. For java, where would the jar file go in the whole folder structure and how would you use pip to install?
Hey @BethStoudt!
Could you send me the link to the Python Repl that is giving you the āmodule not foundā error so I can take a look?
1 Like
It is part of a team. Will that link still work?
@BethStoudt Can you try entering pip install climage
into the Shell?

That didnāt work. Not sure what this means. It looks that it is already in hat library folder?
Did you try import cimage
and see if it works?
Is the library called ācimageā?
Ok⦠can you try entering poetry add cimage
into the Shell?
That didnāt work. The library is called cImage. I have it over here with the packages installed.

Replitās packages are quite unreliable, so itās generally a good idea to use pip or poetry.
@BethStoudt Can you try this and see if this works?
Just to be sure, could you try removing it (pip uninstall cImage
) and installing it again (pip install cImage
).
Also, if nothing in the Repl is confidential, is there any chance you could create a public fork so the community could take a look under the hood (so to speak) 
2 Likes
I still get the error āno module cImageā
Iām getting very discouraged here.
I tried that and it isnāt successful. Since it is in my team I will make a copy of it and share that.
Oh dear. I have no more ideas, unfortunately.
Ok, last one, this might not work: enter poetry install cImage
into the Shell.
@BethStoudt Does this work?