Closed scoleli closed 3 years ago
This seems similar to #1893. Do any of the previous versions of Hydrogen work?
PyLint error means that it can't find TSP_functions
. The same thing happens on Hydrogen.
Thank you for the hint @aminya.
I solved the hydrogen issue by updating ipykernel, as mentioned in #1893.
On terminal:
conda update ipykernel
Pylint still lints the import line, but hydrogen runs the code without raising any attribute or import errors. I am just very satisfied of the result, but if someone have some idea about how to fix also the pylint issue, any contribution will be appreciated .
Hi all, i cannot seem to import the sklearn module into my version of hydrogen. @aminya Do you happen to know what I might be able to do in order to actually get sklearn module to be seen by my pykernel?
Thanks!
@NIGHTWAV3 If you source the environment and then open Atom from that shell, it should work
@NIGHTWAV3 If you source the environment and then open Atom from that shell, it should work
Thanks! I ended up figuring out that the sklearn folder in my library was NOT named properly, so the import keyword in python didnt catch it!
Description
Hi everyone. I am new on GitHub and I signed up with the purpose to ask for help for this tricky problem with hydrogen. I have writtena a python script (a module?)
TSP_functions.py
with some functions inside. I need to call these functions from other python scripts. When I try to do so with:import TSP_functions as TSP
and then inside the code
points = TSP.randomGeneratePoints(n, dim, bounds)
the hydrogen run raises this attribute error:
`AttributeError Traceback (most recent call last)