Closed obrunodelgado closed 1 year ago
This is the same issue as https://github.com/exaloop/codon/issues/159 -- it seems Codon doesn't recognize *.py
files in imports and only looks at *.codon
files. We'll fix it shortly!
This should be fixed in the latest release (0.15.4); please let us know if you encounter any other issues with this.
@arshajii i have this problem
version is 0.15.5
I have:
@python
def run_code(code):
import embed
embed.run_code(bytes(code,'utf-8'))
which throws
PyError: No module named 'embed'
when i have an embed.py in the same directory
fixed with PYTHONPATH=.
, why doesn't codon use sys.modules
?
Hey guys, I have a python project that I'm trying to experiment using Codon but when I try to execute my
main.py
I got these errors:main.py
I have my
CODON_PYTHON
environment variable pointing to the my conda env/home/brunodelgado/anaconda3
.Project Structure
Can you give me some hints on how to solve this problem?