djross22 / flowgatenist

Other
3 stars 1 forks source link

flowgatenist module does not exist error #2

Open mahdiinarimani opened 1 year ago

mahdiinarimani commented 1 year ago

We tried very different ways to import flowgatenist into our Python interpreter after installing it- and every time it says such a package does not exist. How can we import this package?

djross22 commented 1 year ago

Can you give more details on how you have installed Python and flowgatenist and what kind of Python environment you are working with? For example, are you working with conda/annaconda, do you get any error messages after you install flowgatenist with pip install -e .?

It may be that pip is installing flowgatenist into a different python environment than the one you end up running. To test for that, immediately after installing flowgatenist with >pip install -e . try: >python >>> import flowgatenist

mahdiinarimani commented 1 year ago

To install the flowgatenist, I navigate to the directory to which I've downloaded the flowgatenist Python codes. After being in the folder, I use >pip install -e . It actually successfully installs the package. but when I open python from that directory and >>> import flowgatenist, it gives out ModuleNotFoundError: No module named 'flowgatenist'. This was through windows power shell and python 3.11. With Conda, I use the code > conda install -c biconda ig-flowtools
This way it collects the package metadata but there is another error: Solving environment: failed with repodata from current_repodata.json, will try with next repodata source, and at the end it says there are conflicts found, and the following specifications( doesn't mention which ones) were found to be incompatible with each other. I also tried making a virtual environment and do the coding there, but it didn't work either. Screenshot (30)

mahdiinarimani commented 1 year ago

Screenshot (32)

mahdiinarimani commented 1 year ago

Screenshot (33)

djross22 commented 1 year ago

It looks like the pip command in Windows PowerShell is installing to a different python instance than the default instance that runs with the >python command. Try installing flowgatenist and running python from the Anaconda Prompt or Anaconda PowerShell.

Also, the ig-flowtools package that you're trying to install with the conda install command is not related to flowgatenist. I've never used ig-flowtools. So, I can't be any help there.