Virtual environment problem with Anaconda Prompt

15 views
Skip to first unread message

Oğuzhan Gedikli

unread,
Nov 28, 2022, 5:44:52 AM11/28/22
to Anaconda - Public
Hello, 

I am using GNU Radio for designing RF System in my virtual environment. I installed this package easily with conda because otherwise, it's complicated. So, it's just run with my venv. I run .py file in anaconda prompt without problem. It works. But when I try to make .exe with pyinstaller in anaconda prompt, The .exe file just work in my venv. So, i have to run .exe file in anaconda prompt using my venv.

If i run without prompt, the .exe file gives me "no module named GNU Radio". I want to run without using anaconda prompt. I tried to add my virtual env. to pyinstaller path, this doesnt work.

How can i use anaconda venv to run my .exe file wherever i want without using anaconda prompt?

Hasan Zeki Alp

unread,
Nov 28, 2022, 6:37:53 AM11/28/22
to anac...@anaconda.com
Hi Oğuzhan,
I can give some recommendations regarding this:
Before going bits n pieces you 're suppose to find oout "Module Dependancy Conditions. You know, This is crucial  in case you utilze more than modules those might be interdependent to each others in respect to version compatibility, may be? 

just check all the relevant modules and their dependencies that you import before you run your code.
Most probably you 'll find "the headache" point.

good luck! 

Hasan Zeki ALP 
@HasanZekiAlp at YouTube.com 


Oğuzhan Gedikli <ouzang...@gmail.com>, 28 Kas 2022 Pzt, 13:44 tarihinde şunu yazdı:
--
Community Discussion Forum for Anaconda
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+u...@anaconda.com.
To view this discussion on the web visit https://groups.google.com/a/anaconda.com/d/msgid/anaconda/ec082b5c-572d-4274-8a54-514aaa76557en%40anaconda.com.
Reply all
Reply to author
Forward
0 new messages