Open azomDev opened 1 week ago
This is weird. The error is on the line when importing networkx. I just created a new env with python version 3.12.7 using pen and installed networkx and imported it in the repl and it worked. I tried with a couple other libraries, in particular ipykernel and tried running it in a notebook with vscode and i got the error. However, using the jupyter-notebook cli tool with the same notebook file worked.
I had the environment I used in my last comment and tried to test it again. It failed with the same error. Tried to remove the python version downloaded with pen and reinstalling it with pen. It was now working (without the error mentioned above). I even tried to run pen delete
and then pen create 3.12.7
again and reinstalling the necessary packages and it still worked, so I am extremely confused
For example, with networkx, the following error is given when trying to import it:
libbz2.so.1.0: cannot open shared object file: No such file or directory
I am fairly certain that it is a problem with pen and how it builds python.